blob: 51ca4b0bd97baf200df8c4dd339cf50447c07697 (
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
|
/**
* @author William R. Otte <wotte@dre.vanderbilt.edu>
* @author Johnny Willemsen <jwillemsen@remedy.nl>
*
* $Id$
*
* Wrapper facade for NDDS.
*/
#ifndef DDS_DATAWRITERLISTENER_T
#define DDS_DATAWRITERLISTENER_T
#include "dds4ccm/idl/dds_rtf2_dcpsC.h"
#include "ace/Copy_Disabled.h"
namespace CIAO
{
namespace DDS4CCM
{
template <typename DDS_TYPE, typename CCM_TYPE>
class DataWriterListener_T :
public ::DDS::DataWriterListener,
private ACE_Copy_Disabled
{
public:
/// Constructor
DataWriterListener_T (void);
/// Destructor
virtual ~DataWriterListener_T (void);
virtual void
on_offered_deadline_missed (
::DDS::DataWriter_ptr ,
const ::DDS::OfferedDeadlineMissedStatus & ) {}
virtual void
on_offered_incompatible_qos (
::DDS::DataWriter_ptr ,
const ::DDS::OfferedIncompatibleQosStatus & ) {}
virtual void
on_liveliness_lost (
::DDS::DataWriter_ptr ,
const ::DDS::LivelinessLostStatus & ) {}
virtual void
on_publication_matched (
::DDS::DataWriter_ptr ,
const ::DDS::PublicationMatchedStatus & ) {}
static ::DDS::StatusMask get_mask (void);
};
}
}
#include "dds4ccm/impl/ndds/DataWriterListener_T.cpp"
#endif /* DDS_DATAWRITERLISTENER_T */
|