A Condition specifically dedicated to read operations and attached to one DataReader. More...
#include <ReadCondition.hpp>
Public Member Functions | |
ReadCondition () | |
~ReadCondition () override | |
ReadCondition (const ReadCondition &)=delete | |
ReadCondition & | operator= (const ReadCondition &)=delete |
ReadCondition (ReadCondition &&)=delete | |
ReadCondition & | operator= (ReadCondition &&)=delete |
FASTDDS_EXPORTED_API bool | get_trigger_value () const noexcept override |
Retrieves the trigger_value of the Condition. | |
FASTDDS_EXPORTED_API DataReader * | get_datareader () const noexcept |
Retrieves the DataReader associated with the ReadCondition. | |
FASTDDS_EXPORTED_API SampleStateMask | get_sample_state_mask () const noexcept |
Retrieves the set of sample_states taken into account to determine the trigger_value of this condition. | |
FASTDDS_EXPORTED_API ViewStateMask | get_view_state_mask () const noexcept |
Retrieves the set of view_states taken into account to determine the trigger_value of this condition. | |
FASTDDS_EXPORTED_API InstanceStateMask | get_instance_state_mask () const noexcept |
Retrieves the set of instance_states taken into account to determine the trigger_value of this condition. | |
detail::ReadConditionImpl * | get_impl () const noexcept |
![]() | |
detail::ConditionNotifier * | get_notifier () const |
Protected Attributes | |
std::shared_ptr< detail::ReadConditionImpl > | impl_ |
Class implementation. | |
![]() | |
std::unique_ptr< detail::ConditionNotifier > | notifier_ |
Friends | |
class | detail::ReadConditionImpl |
Additional Inherited Members | |
![]() | |
Condition () | |
virtual | ~Condition () |
A Condition specifically dedicated to read operations and attached to one DataReader.
ReadCondition objects allow an application to specify the data samples it is interested in (by specifying the desired sample_states, view_states, and instance_states). The condition will only be triggered when suitable information is available. They are to be used in conjunction with a WaitSet as normal conditions. More than one ReadCondition may be attached to the same DataReader.
ReadCondition | ( | ) |
|
override |
|
delete |
|
delete |
|
noexcept |
Retrieves the DataReader associated with the ReadCondition.
Note that there is exactly one DataReader associated with each ReadCondition.
|
inlinenoexcept |
|
noexcept |
Retrieves the set of instance_states taken into account to determine the trigger_value of this condition.
|
noexcept |
Retrieves the set of sample_states taken into account to determine the trigger_value of this condition.
|
overridevirtualnoexcept |
|
noexcept |
Retrieves the set of view_states taken into account to determine the trigger_value of this condition.
|
delete |
|
delete |
|
friend |
|
protected |
Class implementation.