A Condition specifically dedicated to read operations and attached to one DataReader.
More...
#include <ReadCondition.hpp>
|
| std::shared_ptr< detail::ReadConditionImpl > | impl_ |
| | Class implementation.
|
| std::unique_ptr< detail::ConditionNotifier > | notifier_ |
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() [1/3]
◆ ~ReadCondition()
◆ ReadCondition() [2/3]
| ReadCondition |
( |
const ReadCondition & | | ) |
|
|
delete |
◆ ReadCondition() [3/3]
| ReadCondition |
( |
ReadCondition && | | ) |
|
|
delete |
◆ get_datareader()
| FASTDDS_EXPORTED_API DataReader * get_datareader |
( |
| ) |
const |
|
noexcept |
◆ get_impl()
| detail::ReadConditionImpl * get_impl |
( |
| ) |
const |
|
inlinenoexcept |
◆ get_instance_state_mask()
Retrieves the set of instance_states taken into account to determine the trigger_value of this condition.
- Returns
- the instance_states specified when the ReadCondition was created.
◆ get_sample_state_mask()
Retrieves the set of sample_states taken into account to determine the trigger_value of this condition.
- Returns
- the sample_states specified when the ReadCondition was created.
◆ get_trigger_value()
| FASTDDS_EXPORTED_API bool get_trigger_value |
( |
| ) |
const |
|
overridevirtualnoexcept |
Retrieves the trigger_value of the Condition.
- Returns
- true if trigger_value is set to 'true', 'false' otherwise
Reimplemented from Condition.
◆ get_view_state_mask()
Retrieves the set of view_states taken into account to determine the trigger_value of this condition.
- Returns
- the view_states specified when the ReadCondition was created.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ detail::ReadConditionImpl
| friend class detail::ReadConditionImpl |
|
friend |
◆ impl_
| std::shared_ptr<detail::ReadConditionImpl> impl_ |
|
protected |
The documentation for this class was generated from the following file: