Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Properties | List of all members
CommNet.Network.Link< _Net, _Data, _Link, _Path > Class Template Reference

Node-2-Node link. Used in both internal network connections and network paths More...

Public Member Functions

bool Contains (_Data node)
 
virtual void GetPoints (List< Vector3 > points)
 
 Link ()
 
virtual void OnDestroy ()
 Called by network when link is destroyed More...
 
_Data OtherEnd (_Data toNode)
 
virtual void Set (_Data a, _Data b, double cost)
 Called internally after constructor More...
 
override string ToString ()
 
virtual void Update (double cost)
 Called by network to update the link cost More...
 

Public Attributes

_Data a
 
_Data b
 
double cost
 
int pathingID
 

Properties

_Data end [get]
 
_Data start [get]
 

Detailed Description

Node-2-Node link. Used in both internal network connections and network paths

Type Constraints
_Net :Net 
_Net :_Net 
_Net :_Data 
_Net :_Link 
_Net :_Path 
_Data :Node 
_Data :_Net 
_Data :_Data 
_Data :_Link 
_Data :_Path 
_Link :Link 
_Link :_Net 
_Link :_Data 
_Link :_Link 
_Link :_Path 
_Link :new() 
_Path :Path 
_Path :_Net 
_Path :_Data 
_Path :_Link 
_Path :_Path 

Constructor & Destructor Documentation

CommNet.Network.Link< _Net, _Data, _Link, _Path >.Link ( )
inline

Member Function Documentation

bool CommNet.Network.Link< _Net, _Data, _Link, _Path >.Contains ( _Data  node)
inline

virtual void CommNet.Network.Link< _Net, _Data, _Link, _Path >.GetPoints ( List< Vector3 >  points)
inlinevirtual
virtual void CommNet.Network.Link< _Net, _Data, _Link, _Path >.OnDestroy ( )
inlinevirtual

Called by network when link is destroyed

_Data CommNet.Network.Link< _Net, _Data, _Link, _Path >.OtherEnd ( _Data  toNode)
inline

virtual void CommNet.Network.Link< _Net, _Data, _Link, _Path >.Set ( _Data  a,
_Data  b,
double  cost 
)
inlinevirtual

Called internally after constructor

override string CommNet.Network.Link< _Net, _Data, _Link, _Path >.ToString ( )
inline
virtual void CommNet.Network.Link< _Net, _Data, _Link, _Path >.Update ( double  cost)
inlinevirtual

Called by network to update the link cost

Parameters
cost

Member Data Documentation

_Data CommNet.Network.Link< _Net, _Data, _Link, _Path >.a
_Data CommNet.Network.Link< _Net, _Data, _Link, _Path >.b
double CommNet.Network.Link< _Net, _Data, _Link, _Path >.cost
int CommNet.Network.Link< _Net, _Data, _Link, _Path >.pathingID

Property Documentation

_Data CommNet.Network.Link< _Net, _Data, _Link, _Path >.end
get
_Data CommNet.Network.Link< _Net, _Data, _Link, _Path >.start
get

The documentation for this class was generated from the following file: