blob: 26f94ed41555680f104c3bb1ebd642c847bf8456 (
plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
// -*- C++ -*-
//
// $Id: DataReaderListener.h 899 2007-07-05 16:36:52Z mitza $
#ifndef DATAREADER_LISTENER_IMPL
#define DATAREADER_LISTENER_IMPL
#include <dds/DdsDcpsSubscriptionS.h>
#include "diasio.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
//Class DataReaderListenerImpl
class DataReaderListenerImpl
: public virtual OpenDDS::DCPS::LocalObject<DDS::DataReaderListener>
{
public:
//Constructor
DataReaderListenerImpl ();
//Destructor
virtual ~DataReaderListenerImpl (void);
virtual void on_requested_deadline_missed (
DDS::DataReader_ptr reader,
const DDS::RequestedDeadlineMissedStatus & status)
throw (CORBA::SystemException);
virtual void on_requested_incompatible_qos (
DDS::DataReader_ptr reader,
const DDS::RequestedIncompatibleQosStatus & status)
throw (CORBA::SystemException);
virtual void on_liveliness_changed (
DDS::DataReader_ptr reader,
const DDS::LivelinessChangedStatus & status)
throw (CORBA::SystemException);
virtual void on_subscription_match (
DDS::DataReader_ptr reader,
const DDS::SubscriptionMatchStatus & status
)
throw (CORBA::SystemException);
virtual void on_sample_rejected(
DDS::DataReader_ptr reader,
const DDS::SampleRejectedStatus& status
)
throw (CORBA::SystemException);
virtual void on_data_available(
DDS::DataReader_ptr reader
)
throw (CORBA::SystemException);
virtual void on_sample_lost(
DDS::DataReader_ptr reader,
const DDS::SampleLostStatus& status
)
throw (CORBA::SystemException);
private:
DIASIO io;
DDS::DataReader_var reader_;
};
#endif /* DATAREADER_LISTENER_IMPL */
|