blob: 131459e225726c38d6d696dde93351c6bce810a4 (
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
|
/**
* @author Johnny Willemsen (jwillemsen@remedy.nl)
*
* Wrapper facade for NDDS.
*/
#ifndef DDSTOPICLISTENER_T_H_
#define DDSTOPICLISTENER_T_H_
#include "dds4ccm/impl/ndds/dds4ccm_ndds_export.h"
#include "dds4ccm/idl/ndds/ndds_dcpsC.h"
#include "ndds/ndds_cpp.h"
namespace CIAO
{
namespace NDDS
{
class DDS4CCM_NDDS_Export DDS_TopicListener_i :
public ::DDSTopicListener
{
public:
/// Constructor
DDS_TopicListener_i (::DDS::Topic_ptr topic,
::DDS::TopicListener_ptr topic_listener);
/// Destructor
virtual ~DDS_TopicListener_i (void);
virtual void on_inconsistent_topic(
::DDSTopic* topic,
const ::DDS_InconsistentTopicStatus& status);
void set_dds_topic (::DDS::Topic_ptr topic);
private:
::DDS::Topic_var topic_;
::DDS::TopicListener_var topic_listener_;
};
}
}
#endif /* TOPICLISTENER_T_H_ */
|