20#ifndef FASTDDS_DDS_CORE_CONDITION__STATUSCONDITION_HPP
21#define FASTDDS_DDS_CORE_CONDITION__STATUSCONDITION_HPP
23#include <fastdds/dds/core/condition/Condition.hpp>
24#include <fastdds/dds/core/ReturnCode.hpp>
25#include <fastdds/dds/core/status/StatusMask.hpp>
26#include <fastdds/fastdds_dll.hpp>
34struct StatusConditionImpl;
102 std::unique_ptr<detail::StatusConditionImpl>
impl_;
The Condition class is the root base class for all the conditions that may be attached to a WaitSet.
Definition Condition.hpp:42
The Entity class is the abstract base class for all the objects that support QoS policies,...
Definition Entity.hpp:38
The StatusCondition class is a specific Condition that is associated with each Entity.
Definition StatusCondition.hpp:45
detail::StatusConditionImpl * get_impl() const
Definition StatusCondition.hpp:91
FASTDDS_EXPORTED_API const StatusMask & get_enabled_statuses() const
Retrieves the list of communication statuses that are taken into account to determine the trigger_val...
Entity * entity_
DDS Entity for which this condition is monitoring the status.
Definition StatusCondition.hpp:99
FASTDDS_EXPORTED_API bool get_trigger_value() const override
Retrieves the trigger_value of the Condition.
std::unique_ptr< detail::StatusConditionImpl > impl_
Class implementation.
Definition StatusCondition.hpp:102
StatusCondition(Entity *parent)
FASTDDS_EXPORTED_API Entity * get_entity() const
Returns the Entity associated.
FASTDDS_EXPORTED_API ReturnCode_t set_enabled_statuses(const StatusMask &mask)
Defines the list of communication statuses that are taken into account to determine the trigger_value...
StatusMask is a bitmap or bitset field.
Definition StatusMask.hpp:48
Definition DomainParticipant.hpp:45
int32_t ReturnCode_t
Definition DDSReturnCode.hpp:59