Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
CommNet.CommNetNetwork Class Reference

A slave for CommNetwork. Spawned by CommNetScenario More...

Inheritance diagram for CommNet.CommNetNetwork:

Public Member Functions

void DebugInfo ()
 
virtual void QueueRebuild ()
 

Static Public Member Functions

static void Add (CommNode node)
 
static void Add (Occluder occluder)
 
static void Remove (CommNode node)
 
static void Remove (Occluder occluder)
 
static void Reset ()
 

Protected Member Functions

virtual void Awake ()
 This is a modified singleton. We always destroy our old instance instead of destorying ourselves if it's nonnull. More...
 
virtual void OnDestroy ()
 
virtual void OnMapFocusChange (MapObject target)
 
void ResetNetwork ()
 
virtual void Update ()
 

Protected Attributes

CommNetwork commNet
 
Vessel focusedVessel
 Tracking station focused vessel More...
 
bool graphDirty = false
 
double packedInterval = 0.5d
 
double prevUpdate = double.MinValue
 
bool queueRebuild = false
 
double unpackedInterval = 5d
 

Properties

virtual CommNetwork CommNet [get, set]
 
virtual bool GraphDirty [get]
 
static bool Initialized [get]
 
static CommNetNetwork Instance [get, set]
 
virtual double PackedInterval [get, set]
 
virtual double UnpackedInterval [get, set]
 

Detailed Description

A slave for CommNetwork. Spawned by CommNetScenario

Member Function Documentation

static void CommNet.CommNetNetwork.Add ( CommNode  node)
inlinestatic
static void CommNet.CommNetNetwork.Add ( Occluder  occluder)
inlinestatic
virtual void CommNet.CommNetNetwork.Awake ( )
inlineprotectedvirtual

This is a modified singleton. We always destroy our old instance instead of destorying ourselves if it's nonnull.

void CommNet.CommNetNetwork.DebugInfo ( )
inline
virtual void CommNet.CommNetNetwork.OnDestroy ( )
inlineprotectedvirtual
virtual void CommNet.CommNetNetwork.OnMapFocusChange ( MapObject  target)
inlineprotectedvirtual
virtual void CommNet.CommNetNetwork.QueueRebuild ( )
inlinevirtual
static void CommNet.CommNetNetwork.Remove ( CommNode  node)
inlinestatic
static void CommNet.CommNetNetwork.Remove ( Occluder  occluder)
inlinestatic
static void CommNet.CommNetNetwork.Reset ( )
inlinestatic
void CommNet.CommNetNetwork.ResetNetwork ( )
inlineprotected
virtual void CommNet.CommNetNetwork.Update ( )
inlineprotectedvirtual

Member Data Documentation

CommNetwork CommNet.CommNetNetwork.commNet
protected
Vessel CommNet.CommNetNetwork.focusedVessel
protected

Tracking station focused vessel

bool CommNet.CommNetNetwork.graphDirty = false
protected
double CommNet.CommNetNetwork.packedInterval = 0.5d
protected
double CommNet.CommNetNetwork.prevUpdate = double.MinValue
protected
bool CommNet.CommNetNetwork.queueRebuild = false
protected
double CommNet.CommNetNetwork.unpackedInterval = 5d
protected

Property Documentation

virtual CommNetwork CommNet.CommNetNetwork.CommNet
getset
virtual bool CommNet.CommNetNetwork.GraphDirty
get
bool CommNet.CommNetNetwork.Initialized
staticget
CommNetNetwork CommNet.CommNetNetwork.Instance
staticgetset
virtual double CommNet.CommNetNetwork.PackedInterval
getset
virtual double CommNet.CommNetNetwork.UnpackedInterval
getset

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