17.1.1.5.4. StatusCondition¶
-
class eprosima::fastdds::dds::StatusCondition : public eprosima::fastdds::dds::Condition¶
The StatusCondition class is a specific Condition that is associated with each Entity.
Public Functions
-
virtual bool get_trigger_value() const override¶
Retrieves the trigger_value of the Condition.
- Returns
true if trigger_value is set to ‘true’, ‘false’ otherwise
-
ReturnCode_t set_enabled_statuses(const StatusMask &mask)¶
Defines the list of communication statuses that are taken into account to determine the trigger_value.
- Parameters
mask – defines the mask for the status
- Returns
RETCODE_OK with everything ok, error code otherwise
-
const StatusMask &get_enabled_statuses() const¶
Retrieves the list of communication statuses that are taken into account to determine the trigger_value.
- Returns
Status set or default status if it has not been set
-
virtual bool get_trigger_value() const override¶