blob: b6a495ceeccd249db40aa83ba00086a26e505122 (
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
73
74
75
76
77
78
79
80
81
82
83
|
/**
* @author William R. Otte <wotte@dre.vanderbilt.edu>
* @author Johnny Willemsen <jwillemsen@remedy.nl>
*
* $Id$
*
* Wrapper facade for NDDS.
*/
#ifndef CIAO_NDDS_TOPIC_H
#define CIAO_NDDS_TOPIC_H
#include "DomainParticipant.h"
#include "dds4ccm/impl/dds/dds4ccm_ndds_impl_export.h"
#include "tao/LocalObject.h"
#if defined (CIAO_DDS4CCM_OPENDDS) && (CIAO_DDS4CCM_OPENDDS==1)
typedef ::DDS::Topic DDSTopic;
#endif
namespace CIAO
{
namespace DDS4CCM
{
class DDS4CCM_NDDS_IMPL_Export CCM_DDS_Topic_i :
public virtual ::DDS::CCM_Topic,
public virtual ::CORBA::LocalObject
{
public:
/// Constructor
CCM_DDS_Topic_i (DDSTopic* topic);
/// Destructor
virtual ~CCM_DDS_Topic_i (void);
virtual ::DDS::ReturnCode_t set_qos (const ::DDS::TopicQos & qos);
virtual ::DDS::ReturnCode_t get_qos (::DDS::TopicQos & qos);
virtual ::DDS::ReturnCode_t set_listener (
::DDS::TopicListener_ptr a_listener,
::DDS::StatusMask mask);
virtual ::DDS::TopicListener_ptr get_listener (void);
virtual ::DDS::ReturnCode_t get_inconsistent_topic_status (
::DDS::InconsistentTopicStatus & a_status);
virtual
::DDS::ReturnCode_t enable (void);
virtual
::DDS::StatusCondition_ptr get_statuscondition (void);
virtual
::DDS::StatusMask get_status_changes (void);
virtual
::DDS::InstanceHandle_t get_instance_handle (void);
virtual
char * get_type_name (void);
virtual
char * get_name (void);
virtual
::DDS::DomainParticipant_ptr get_participant (void);
DDSTopic * get_impl (void);
void set_impl (DDSTopic* topic);
private:
DDSTopic * impl_;
DDSTopic * impl (void);
};
}
}
#endif
|