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.CommLink Class Reference
Inheritance diagram for CommNet.CommLink:

Public Member Functions

 CommLink ()
 
double GetBestSignal ()
 
double GetSignalStrength (bool aMustRelay, bool bMustRelay)
 
double GetSignalStrength (CommNode pathStartNode)
 
virtual void Set (CommNode a, CommNode b, double distance, double signalStrength)
 Called internally after constructor More...
 
void SetSignalStrength (double ss)
 
void SetSignalStrength (bool aMustRelay, bool bMustRelay)
 
override string ToString ()
 
override void Update (double cost)
 
void ZeroSignalStrength ()
 

Public Attributes

bool aCanRelay
 
bool bCanRelay
 
bool bothRelay
 
HopType hopType = HopType.Relay
 
SignalStrength signal
 
double strengthRR
 

Properties

double signalStrength [get, set]
 

Constructor & Destructor Documentation

CommNet.CommLink.CommLink ( )
inline

Member Function Documentation

double CommNet.CommLink.GetBestSignal ( )
inline
double CommNet.CommLink.GetSignalStrength ( bool  aMustRelay,
bool  bMustRelay 
)
inline
double CommNet.CommLink.GetSignalStrength ( CommNode  pathStartNode)
inline
virtual void CommNet.CommLink.Set ( CommNode  a,
CommNode  b,
double  distance,
double  signalStrength 
)
inlinevirtual

Called internally after constructor

void CommNet.CommLink.SetSignalStrength ( double  ss)
inline
void CommNet.CommLink.SetSignalStrength ( bool  aMustRelay,
bool  bMustRelay 
)
inline
override string CommNet.CommLink.ToString ( )
inline
override void CommNet.CommLink.Update ( double  cost)
inline
void CommNet.CommLink.ZeroSignalStrength ( )
inline

Member Data Documentation

bool CommNet.CommLink.aCanRelay
bool CommNet.CommLink.bCanRelay
bool CommNet.CommLink.bothRelay
HopType CommNet.CommLink.hopType = HopType.Relay
SignalStrength CommNet.CommLink.signal
double CommNet.CommLink.strengthRR

Property Documentation

double CommNet.CommLink.signalStrength
getset

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