RTI Connext Traditional C++ API
Version 7.0.0
|
<<interface>> Root class for all the conditions that may be attached to a DDSWaitSet. More...
Public Member Functions | |
virtual DDS_Boolean | get_trigger_value ()=0 |
Retrieve the trigger_value . More... | |
virtual DDS_ReturnCode_t | set_handler (DDSConditionHandler *handler) |
<<extension>> Registers a DDSConditionHandler in this DDSCondition. More... | |
virtual DDSConditionHandler * | get_handler () |
<<extension>> Returns the registered DDSConditionHandler. More... | |
virtual void | dispatch () |
<<extension>> Calls DDSConditionHandler::on_condition_triggered of the registered DDSConditionHandler. More... | |
<<interface>> Root class for all the conditions that may be attached to a DDSWaitSet.
This basic class is specialised in three classes:
DDSGuardCondition, DDSStatusCondition, and DDSReadCondition.
A DDSCondition has a trigger_value
that can be DDS_BOOLEAN_TRUE or DDS_BOOLEAN_FALSE and is set automatically by RTI Connext.
|
pure virtual |
|
virtual |
<<extension>> Registers a DDSConditionHandler in this DDSCondition.
This operation replaces any existing registered handler. If there is any resources associated with an existing registered handler that need to be released, you may first call DDSCondition::get_handler to retrieve the handler.
handler | The DDSConditionHandler to be called by DDSCondition::dispatch. If this parameter is null, an no-op handler implemenation will be set. |
|
virtual |
<<extension>> Returns the registered DDSConditionHandler.
If no DDSConditionHandler is registered, this operation returns a no-op DDSConditionHandler implementation.
|
virtual |
<<extension>> Calls DDSConditionHandler::on_condition_triggered of the registered DDSConditionHandler.
If the trigger value is true, calling this operation will call the registered.
If no DDSConditionHandler is registered, this operation is a no-op.