21 #ifndef OSPL_DDS_CORE_COND_TWAITSET_HPP_ 22 #define OSPL_DDS_CORE_COND_TWAITSET_HPP_ 32 #include <org/opensplice/core/ReportUtils.hpp> 44 ISOCPP_REPORT_STACK_NC_BEGIN();
45 this->set_ref(
new DELEGATE);
46 this->delegate()->init(this->impl_);
50 WaitSet::~WaitSet() { }
55 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
57 return this->
wait(triggered, timeout);
63 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
71 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
72 return this->delegate()->wait(triggered, timeout);
78 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
85 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
92 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
93 this->delegate()->dispatch(timeout);
99 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
107 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
115 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
116 this->delegate()->attach_condition(cond);
123 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
124 return this->delegate()->detach_condition(cond.delegate().get());
130 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
138 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
139 return this->delegate()->conditions(conds);
static const Duration infinite()
const ConditionSeq conditions() const
bool detach_condition(const dds::core::cond::Condition &cond)
WaitSet & operator+=(const dds::core::cond::Condition &cond)
const ConditionSeq wait()
WaitSet & attach_condition(const dds::core::cond::Condition &cond)
A WaitSet object allows an application to wait until one or more of the attached Condition objects ha...
WaitSet & operator-=(const dds::core::cond::Condition &cond)
This class is the base class for all the conditions that may be attached to a dds::core::cond::WaitSe...
std::vector< dds::core::cond::Condition > ConditionSeq