Storage class to store a Set of DeltaVengineInfo and DeltaVStageInfo.
More...
Storage class to store a Set of DeltaVengineInfo and DeltaVStageInfo.
DeltaVEngineStageSet.DeltaVEngineStageSet |
( |
VesselDeltaV |
vesselDeltaV | ) |
|
|
inline |
Constructor
- Parameters
-
vesselDeltaV | Reference to the VesselDeltaV Instance this Data instance belongs to. |
virtual void DeltaVEngineStageSet.AddEngineWorkingSet |
( |
DeltaVEngineInfo |
engineInfo | ) |
|
|
inlinevirtual |
Add an Engine to the Working Set.
- Parameters
-
virtual void DeltaVEngineStageSet.AddStageInfo |
( |
DeltaVStageInfo |
stageInfo | ) |
|
|
inlineprotectedvirtual |
Add a StageInfo entry. Will Add to the appropriate StageInfo Instance depending on whether a DV Update is running or not.
- Parameters
-
virtual void DeltaVEngineStageSet.RemoveInvalidEnginesWorkingSet |
( |
| ) |
|
|
inlinevirtual |
Remove any Engines from the current working data set that are not part of the Vessel/Ship any more.
virtual void DeltaVEngineStageSet.RemoveStagedStages |
( |
bool |
sortStages = false | ) |
|
|
inlinevirtual |
Will remove any stages that have been staged off from the vessel or that no longer contain any parts or active engines.
- Parameters
-
virtual void DeltaVEngineStageSet.RemoveStaleStages |
( |
| ) |
|
|
inlineprotectedvirtual |
Remove Stale stages from the dictionary.
virtual void DeltaVEngineStageSet.SortStages |
( |
| ) |
|
|
inlineprotectedvirtual |
Sort the Stage Info Entries
virtual void DeltaVEngineStageSet.UpdateStageInfo |
( |
int |
stage | ) |
|
|
inlinevirtual |
Update the Stage Info for a specific stage. Processes from the StageManager Instance and Calls DeltaVStageInfo.Reset which will Reset all values and Reprocesses the Parts List for each Stage. If an entry is not found to Reset it will construct a new DeltaVStageInfo entry.
- Parameters
-
virtual void DeltaVEngineStageSet.UpdateStageInfo |
( |
| ) |
|
|
inlinevirtual |
Update the Stage Info. Processes from the StageManager Instance and Calls DeltaVStageInfo.Reset which will Reset all values and Reprocesses the Parts List for each Stage. Calls RemoveStaleStages to remove any stale stages from the dictionary. If an entry is not found to Reset it will construct a new DeltaVStageInfo entry.
int DeltaVEngineStageSet.operatingIndex |
The operating Index - This index determines which EngineInfo and StageInfo to return to DV UI classes.
List<int> DeltaVEngineStageSet.payloadStages |
Reference to the VesselDeltaV Instance this Data instance belongs to.
int DeltaVEngineStageSet.workingIndex |
The Working Set Index - This index determines which EngineInfo and StageInfo to return to the DV classes when processing a DV update.
List of EngineInfo on the Vessel from the OperatingIndex for UI display purposes.
Returns a List of DeltaVStageInfo from the OperatingIndex for UI display purposes.
Returns a List of DeltaVEngineInfo depending on whether there is a DV update running or not from the working index or the operating index.
Returns a List of DeltaVStageInfo depending on whether there is a DV update running or not from the working index or the operating index.
The documentation for this class was generated from the following file: