RTC Toolkit 6.0.0-pre2
Loading...
Searching...
No Matches
ddsReaderListener.hpp
Go to the documentation of this file.
1
12#ifndef RTCKT_TELSUB_DDS_READER_LISTENER_HPP
13#define RTCKT_TELSUB_DDS_READER_LISTENER_HPP
14
17
18namespace rtctk::telSub {
19
20using namespace rtctk::componentFramework;
21
34class DdsReaderListener : public virtual DataReaderListener {
35 log4cplus::Logger& m_logger;
36
37public:
38 // Constructor
40
41 // Destructor
42 ~DdsReaderListener() override = default;
43
44 void on_requested_deadline_missed(DataReader* reader,
45 const RequestedDeadlineMissedStatus& status) override;
46
47 void on_requested_incompatible_qos(DataReader* reader,
48 const RequestedIncompatibleQosStatus& status) override;
49
50 void on_liveliness_changed(DataReader* reader, const LivelinessChangedStatus& status) override;
51
52 void
53 on_subscription_matched(DataReader* reader, const SubscriptionMatchedStatus& status) override;
54
55 void on_sample_rejected(DataReader* reader, const SampleRejectedStatus& status) override;
56
57 void on_sample_lost(DataReader* reader, const SampleLostStatus& status) override;
58};
59
60} // namespace rtctk::telSub
61
62#endif // RTCKT_TELSUB_DDS_READER_LISTENER_HPP
void on_sample_lost(DataReader *reader, const SampleLostStatus &status) override
void on_requested_deadline_missed(DataReader *reader, const RequestedDeadlineMissedStatus &status) override
void on_sample_rejected(DataReader *reader, const SampleRejectedStatus &status) override
~DdsReaderListener() override=default
void on_requested_incompatible_qos(DataReader *reader, const RequestedIncompatibleQosStatus &status) override
void on_subscription_matched(DataReader *reader, const SubscriptionMatchedStatus &status) override
void on_liveliness_changed(DataReader *reader, const LivelinessChangedStatus &status) override
Declares common DDS class.
Logging Support Library based on log4cplus.
Definition main.cpp:24