21 #ifndef OSPL_DDS_SUB_TSUBSCRIBER_IMPL_HPP_ 22 #define OSPL_DDS_SUB_TSUBSCRIBER_IMPL_HPP_ 42 : ::
dds::core::Reference(new DELEGATE(dp,
43 dp.default_subscriber_qos(),
45 dds::core::status::StatusMask::none()))
47 ISOCPP_REPORT_STACK_DDS_BEGIN(dp);
49 this->delegate()->init(this->impl_);
57 : ::
dds::core::
Reference(new DELEGATE(dp, qos, listener, mask))
59 ISOCPP_REPORT_STACK_DDS_BEGIN(dp);
61 this->delegate()->init(this->impl_);
65 Subscriber::~Subscriber() {}
70 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
72 this->delegate()->notify_datareaders();
79 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
81 return this->delegate()->listener(listener, event_mask);
87 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
89 return this->delegate()->listener();
96 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
98 return this->delegate()->qos();
104 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
106 this->delegate()->qos(sqos);
112 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
114 return this->delegate()->default_datareader_qos();
121 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
123 this->delegate()->default_datareader_qos(qos);
130 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
132 return this->delegate()->participant();
138 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
147 ISOCPP_REPORT_STACK_DDS_BEGIN(*
this);
A Subscriber is the object responsible for the actual reception of the data resulting from its subscr...
Listener * listener() const
Reference(dds::core::null_type &)
const dds::domain::DomainParticipant & participant() const
void notify_datareaders()
This class provides the basic mechanism for an application to specify Quality of Service attributes f...
dds::sub::qos::DataReaderQos default_datareader_qos() const
Subscriber & operator<<(const dds::sub::qos::SubscriberQos &qos)
Subscriber(const ::dds::domain::DomainParticipant &dp)
A DomainParticipant represents the local membership of the application in a Domain.
Subscriber events Listener.
StatusMask is a bitmap or bitset field.
const Subscriber & operator>>(dds::sub::qos::SubscriberQos &qos) const
const dds::sub::qos::SubscriberQos & qos() const
This class provides the basic mechanism for an application to specify Quality of Service attributes f...