RTC Toolkit 6.0.0
Loading...
Searching...
No Matches
ddsReaderListener.hpp
Go to the documentation of this file.
1
11#ifndef RTCKT_TELSUB_DDS_READER_LISTENER_HPP
12#define RTCKT_TELSUB_DDS_READER_LISTENER_HPP
13
16
17namespace rtctk::telSub {
18
19using namespace rtctk::componentFramework;
20
33class DdsReaderListener : public virtual DataReaderListener {
34 log4cplus::Logger& m_logger;
35
36public:
37 // Constructor
39
40 // Destructor
41 ~DdsReaderListener() override = default;
42
43 void on_requested_deadline_missed(DataReader* reader,
44 const RequestedDeadlineMissedStatus& status) override;
45
46 void on_requested_incompatible_qos(DataReader* reader,
47 const RequestedIncompatibleQosStatus& status) override;
48
49 void on_liveliness_changed(DataReader* reader, const LivelinessChangedStatus& status) override;
50
51 void
52 on_subscription_matched(DataReader* reader, const SubscriptionMatchedStatus& status) override;
53
54 void on_sample_rejected(DataReader* reader, const SampleRejectedStatus& status) override;
55
56 void on_sample_lost(DataReader* reader, const SampleLostStatus& status) override;
57};
58
59} // namespace rtctk::telSub
60
61#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:23