The GuardCondition class is a specific Condition whose trigger_value is completely under the control of the application.
More...
#include <GuardCondition.hpp>
The GuardCondition class is a specific Condition whose trigger_value is completely under the control of the application.
The purpose of the GuardCondition is to provide the means for the application to manually wakeup a WaitSet. This is accomplished by attaching the GuardCondition to the WaitSet and then setting the trigger_value by means of the set_trigger_value operation.
◆ GuardCondition()
◆ ~GuardCondition()
◆ get_trigger_value()
FASTDDS_EXPORTED_API bool get_trigger_value |
( |
| ) |
const |
|
overridevirtual |
Retrieves the trigger_value of the Condition.
- Returns
- true if trigger_value is set to 'true', 'false' otherwise
Reimplemented from Condition.
◆ set_trigger_value()
FASTDDS_EXPORTED_API ReturnCode_t set_trigger_value |
( |
bool |
value | ) |
|
Set the trigger_value.
- Parameters
-
value | new value for trigger |
- Returns
- RETURN_OK
The documentation for this class was generated from the following file: