M1M3 Support System
|
Manipulates RaisingLoweringInfo event fields. More...
#include <RaisingLoweringInfo.h>
Public Member Functions | |
RaisingLoweringInfo (token) | |
void | sendUpdates (bool force=false) |
Sends updates to RaisingLoweringInfo structure. | |
float | supportRatio () |
Returns ratio of mirror mass supported. | |
void | setTimeTimeout (double new_timeTimeout) |
void | incSupportPercentage () |
Increases mirrror support percentage by RaiseIncrementPercentage setting value. | |
void | decSupportPercentage () |
Decrements mirror support percentage by LowerDecrementPercentage setting value. | |
void | zeroSupportPercentage () |
Sets support percentage to 0%. | |
void | fillSupportPercentage () |
Sets support percentage to 100%. | |
bool | supportPercentageFilled () |
Is mirror support percentage equal or more than 100%? | |
bool | supportPercentageZeroed () |
Is mirror support percentage less or equal to 0? | |
void | setHPWait (size_t hpIndex, bool newWait) |
Sets waitHardpoint field, triggers updates if needed. | |
void | setFAXWait (size_t faXIndex, bool newWait) |
void | setFAYWait (size_t faYIndex, bool newWait) |
void | setFAZWait (size_t faZIndex, bool newWait) |
void | setWaitAirPressure (bool newWait) |
Sets waitAirPressure field. | |
Manipulates RaisingLoweringInfo event fields.
void RaisingLoweringInfo::sendUpdates | ( | bool | force = false | ) |
Sends updates to RaisingLoweringInfo structure.
force | if true, send updates even when _updated flag is not set |
void RaisingLoweringInfo::setWaitAirPressure | ( | bool | newWait | ) |
Sets waitAirPressure field.
Sends update if the value changed.
newWait | new waitAirPressure value. |
bool RaisingLoweringInfo::supportPercentageFilled | ( | ) |
Is mirror support percentage equal or more than 100%?
bool RaisingLoweringInfo::supportPercentageZeroed | ( | ) |
Is mirror support percentage less or equal to 0?
|
inline |
Returns ratio of mirror mass supported.