21 #ifndef OSPL_DDS_CORE_COND_TREADCONDITION_IMPL_HPP_ 22 #define OSPL_DDS_CORE_COND_TREADCONDITION_IMPL_HPP_ 32 #include <org/opensplice/sub/cond/ReadConditionDelegate.hpp> 48 ISOCPP_REPORT_STACK_DDS_BEGIN(dr);
49 this->set_ref(
new DELEGATE(dr, status));
50 this->delegate()->init(this->impl_);
57 template <
typename FUN>
63 ISOCPP_REPORT_STACK_DDS_BEGIN(dr);
64 this->set_ref(
new DELEGATE(dr, status));
65 this->delegate()->init(this->impl_);
66 this->delegate()->set_handler(functor);
70 template <
typename FUN>
76 ISOCPP_REPORT_STACK_DDS_BEGIN(dr);
77 this->set_ref(
new DELEGATE(dr, status));
78 this->delegate()->init(this->impl_);
79 this->delegate()->set_handler(functor);
84 ReadCondition::~ReadCondition() { }
89 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
90 return this->delegate()->state_filter();
96 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
97 return this->delegate()->data_reader();
112 *
this = dds::core::null;
114 this->::dds::core::Reference::impl_ = OSPL_CXX11_STD_MODULE::dynamic_pointer_cast<DELEGATE_T>(h.delegate());
115 if (h.delegate() != this->::dds::core::Reference::impl_) {
125 if (
this != (Condition*)&rhs) {
129 *
this = dds::core::null;
131 Condition other(rhs);
133 if (other.delegate() != this->::dds::core::Reference::impl_) {
Exception: An operation was invoked on an inappropriate object or at an inappropriate time...
Class to hold sample DataState information.
Typeless base class for the typed DataReader.
ReadCondition objects are conditions specifically dedicated to read operations and attached to one Da...
const dds::sub::AnyDataReader & data_reader() const
ReadCondition(const dds::sub::AnyDataReader &dr, const dds::sub::status::DataState &status)
const dds::sub::status::DataState state_filter() const