21 #ifndef OSPL_DDS_CORE_COND_TSTATUSCONDITION_IMPL_HPP_ 22 #define OSPL_DDS_CORE_COND_TSTATUSCONDITION_IMPL_HPP_ 32 #include <org/opensplice/core/cond/StatusConditionDelegate.hpp> 33 #include <org/opensplice/core/ReportUtils.hpp> 46 ISOCPP_REPORT_STACK_DDS_BEGIN(e);
47 dds::core::Reference::impl_=
48 OSPL_CXX11_STD_MODULE::dynamic_pointer_cast<org::opensplice::core::cond::StatusConditionDelegate>(
49 e.delegate()->get_statusCondition());
56 template <
typename FUN>
59 ISOCPP_REPORT_STACK_DDS_BEGIN(e);
60 dds::core::Reference::impl_=
61 OSPL_CXX11_STD_MODULE::dynamic_pointer_cast<org::opensplice::core::cond::StatusConditionDelegate>(
62 e.delegate()->get_statusCondition());
63 this->delegate()->set_handler(functor);
67 template <
typename FUN>
70 ISOCPP_REPORT_STACK_DDS_BEGIN(e);
71 dds::core::Reference::impl_=
72 OSPL_CXX11_STD_MODULE::dynamic_pointer_cast<org::opensplice::core::cond::StatusConditionDelegate>(
73 e.delegate()->get_statusCondition());
74 this->delegate()->set_handler(functor);
79 StatusCondition::~StatusCondition() { }
84 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
85 this->delegate()->enabled_statuses(status);
91 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
92 return this->delegate()->enabled_statuses();
98 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
99 return this->delegate()->entity();
109 *
this = dds::core::null;
111 ISOCPP_REPORT_STACK_DDS_BEGIN(h);
113 this->::dds::core::Reference::impl_ = OSPL_CXX11_STD_MODULE::dynamic_pointer_cast<DELEGATE_T>(h.delegate());
114 if (h.delegate() != this->::dds::core::Reference::impl_) {
128 *
this = dds::core::null;
132 if (other.delegate() != this->::dds::core::Reference::impl_) {
A StatusCondition object is a specific Condition that is associated with each Entity.
StatusCondition(const dds::core::Entity &e)
This class is the abstract base class for all the DCPS objects.
const ::dds::core::status::StatusMask enabled_statuses() const
Exception: An operation was invoked on an inappropriate object or at an inappropriate time...
Reference & operator=(const Reference< D > &that)
StatusMask is a bitmap or bitset field.
const dds::core::Entity & entity() const
This class is the base class for all the conditions that may be attached to a dds::core::cond::WaitSe...