#include <managed_infrastructure.h>
Public Member Functions | |
StatusMask | get_enabled_statuses () |
Get the list of statuses enabled on an DDS::Entity. | |
void | set_enabled_statuses (StatusMask mask) |
This operation defines the list of communication statuses that determine the trigger_value of the DDS::StatusCondition. | |
Entity^ | get_entity () |
Get the DDS::Entity associated with the DDS::StatusCondition. | |
virtual System::Boolean | get_trigger_value () override |
Retrieve the trigger_value . |
The trigger_value
of the DDS::StatusCondition depends on the communication status of that entity (e.g., arrival of data, loss of information, etc.), 'filtered' by the set of enabled_statuses
on the DDS::StatusCondition.
StatusMask DDS::StatusCondition::get_enabled_statuses | ( | ) |
void DDS::StatusCondition::set_enabled_statuses | ( | StatusMask | mask | ) |
This operation defines the list of communication statuses that determine the trigger_value
of the DDS::StatusCondition.
This operation may change the trigger_value
of the DDS::StatusCondition.
DDS::WaitSet objects' behavior depends on the changes of the trigger_value
of their attached conditions. Therefore, any DDS::WaitSet to which the DDS::StatusCondition is attached is potentially affected by this operation.
If this function is not invoked, the default list of enabled statuses includes all the statuses.
mask | <<in>> the list of enables statuses (see Status Kinds) |
One | of the Standard Return Codes |
Entity ^ DDS::StatusCondition::get_entity | ( | ) |
Get the DDS::Entity associated with the DDS::StatusCondition.
There is exactly one DDS::Entity assocated with each DDS::StatusCondition.
virtual System::Boolean DDS::StatusCondition::get_trigger_value | ( | ) | [override, virtual] |