-
Notifications
You must be signed in to change notification settings - Fork 0
/
MessageEventDataReaderListenerImpl.h
50 lines (39 loc) · 1.4 KB
/
MessageEventDataReaderListenerImpl.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* Copyright (C) neoliant.com - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary
* Written by neoliant - [email protected], February 2021
*/
#ifndef MESSAGEEVENTDATAREADERLISTENERIMPL_H
#define MESSAGEEVENTDATAREADERLISTENERIMPL_H
#include <ace/Global_Macros.h>
#include <dds/DdsDcpsSubscriptionC.h>
#include <dds/DCPS/LocalObject.h>
#include <dds/DCPS/Definitions.h>
/**
* @todo write docs
*/
class MessageEventDataReaderListenerImpl : public virtual OpenDDS::DCPS::LocalObject<DDS::DataReaderListener>
{
public:
virtual void on_requested_deadline_missed(
DDS::DataReader_ptr reader,
const DDS::RequestedDeadlineMissedStatus& status);
virtual void on_requested_incompatible_qos(
DDS::DataReader_ptr reader,
const DDS::RequestedIncompatibleQosStatus& status);
virtual void on_sample_rejected(
DDS::DataReader_ptr reader,
const DDS::SampleRejectedStatus& status);
virtual void on_liveliness_changed(
DDS::DataReader_ptr reader,
const DDS::LivelinessChangedStatus& status);
virtual void on_data_available(
DDS::DataReader_ptr reader);
virtual void on_subscription_matched(
DDS::DataReader_ptr reader,
const DDS::SubscriptionMatchedStatus& status);
virtual void on_sample_lost(
DDS::DataReader_ptr reader,
const DDS::SampleLostStatus& status);
};
#endif // MESSAGEEVENTDATAREADERLISTENERIMPL_H