summaryrefslogtreecommitdiff
path: root/CIAO/connectors/dds4ccm/impl/DDS4CCM_LocalObject_T.h
blob: d12ee2f24fe1547e1330e56346bd765c678ed26c (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
// -*- C++ -*-
// $Id$

#ifndef DDS4CCM_LOCALOBJECT_T_H_
#define DDS4CCM_LOCALOBJECT_T_H_

#include "tao/LocalObject.h"

namespace CIAO
{
  namespace DDS4CCM
  {
    template <typename CCM_TYPE>
    class DDS4CCM_LocalObject_T
      : public virtual ::CORBA::LocalObject
    {
    public:
      DDS4CCM_LocalObject_T (void);
      ~DDS4CCM_LocalObject_T (void);

      void _set_component (typename CCM_TYPE::base_type::_ptr_type component);
      virtual ::CORBA::Object_ptr _get_component (void);

    private:
      typename CCM_TYPE::base_type::_var_type component_;
    };
  }
}

#include "dds4ccm/impl/DDS4CCM_LocalObject_T.cpp"

#endif /* DDS4CCM_LOCALOBJECT_T_H_ */