A StatusCondition is a condition associated with an Entity. More...
Public Member Functions | |
bool | get_trigger_value () |
This routine returns the current value of the trigger_value in gc. More... | |
ReturnCode_t | set_enabled_statuses (StatusMask mask) |
This routine sets the statuses which are enabled in this StatusCondition. More... | |
StatusMask | get_enabled_statuses () |
This routine returns the statuses which are enabled in this StatusCondition. More... | |
Entity * | get_entity () |
This routine returns the single entity associated with this StatusCondition. | |
A StatusCondition is a condition associated with an Entity.
The trigger_value is driven by the communication status of the associated Entity.
StatusMask DDS::StatusCondition::get_enabled_statuses | ( | ) |
This routine returns the statuses which are enabled in this StatusCondition.
The statuses are returned as a bitmask.
|
virtual |
This routine returns the current value of the trigger_value in gc.
A non-zero return value indicates that the trigger_value is TRUE.
A zero return value indicates that the trigger_value is FALSE.
Reimplemented from DDS::Condition.
ReturnCode_t DDS::StatusCondition::set_enabled_statuses | ( | StatusMask | mask | ) |
This routine sets the statuses which are enabled in this StatusCondition.
The statuses are provided as a bitmask.