summaryrefslogtreecommitdiff
path: root/CIAO/connectors/dds4ccm/impl/ndds/TopicDescription.h
blob: 15be9193827aa94cb990a85c657f229765ee23fc (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
/**
 * @author William R. Otte <wotte@dre.vanderbilt.edu>
 * @author Johnny Willemsen <jwillemsen@remedy.nl>
 *
 * $Id$
 *
 * Wrapper facade for NDDS.
 */

#ifndef TOPICDESCRIPTION_T_H_
#define TOPICDESCRIPTION_T_H_

#include "dds4ccm/impl/ndds/dds4ccm_ndds_export.h"
#include "dds4ccm/idl/dds_rtf2_dcpsC.h"
#include "tao/LocalObject.h"

class DDSTopicDescription;

namespace CIAO
{
  namespace NDDS
  {
    class DDS4CCM_NDDS_Export DDS_TopicDescription_i :
      public virtual ::DDS::TopicDescription,
      public virtual ::CORBA::LocalObject
    {
    public:
      /// Constructor
      DDS_TopicDescription_i (::DDSTopicDescription * rc,
                            ::DDS::DomainParticipant_ptr dp);

      /// Destructor
      virtual ~DDS_TopicDescription_i (void);

      virtual char * get_type_name (void);

      virtual char * get_name (void);

      virtual ::DDS::DomainParticipant_ptr get_participant (void);

      ::DDSTopicDescription * get_rti_entity (void);

    private:
      ::DDSTopicDescription * rti_entity_;
      ::DDS::DomainParticipant_var dp_;

      ::DDSTopicDescription * rti_entity (void);
    };
  }
}

#endif /* TOPICDESCRIPTION_T_H_ */