summaryrefslogtreecommitdiff
path: root/ACE/TAO/CIAO/connectors/dds4ccm/examples/Shapes/Connector/Shapes_Connector_exec.h
blob: 36a073c34efbafdb674b7ad862daae99aa5d7081 (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
// -*- C++ -*-
// $Id$

#ifndef SHAPES_CONNECTOR_EXEC_H_
#define SHAPES_CONNECTOR_EXEC_H_

#include /**/ "ace/pre.h"

#include "Shapes_ConnectorEC.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include /**/ "Shapes_Connector_exec_export.h"
#include "tao/LocalObject.h"

#include "dds4ccm/impl/ndds/DDS4CCM_Traits.h"
#include "dds4ccm/impl/ndds/DDS_Event_Connector_T.h"

#include "Base/Shapes_BaseSupport.h"

namespace CIAO_Shapes_Shapes_Connector_Impl
{

  // @from use of ShapeType as a parameter
  typedef CIAO::DDS4CCM::RTI::Type_Traits < 
    ShapeType,
    ShapeTypeSeq,
    ShapeTypeTypeSupport,
    ShapeTypeDataWriter,
    ShapeTypeDataReader > ShapeType_DDS_Traits;

  typedef CIAO::DDS4CCM::Connector_Traits <
    ::CIAO_Shapes_Shapes_Connector_Impl::Shapes_Connector_Exec,
    ShapeType_Seq,
    ::CCM_DDS::ShapeType::CCM_Writer,
    ::CCM_DDS::ShapeType::CCM_Updater,
    ::CCM_DDS::ShapeType::CCM_Getter,
    ::CCM_DDS::ShapeType::CCM_Reader,
    ::Shapes::CCM_Shapes_Connector_Context,
    ::CCM_DDS::ShapeType::Listener,
    ::CCM_DDS::ShapeType::StateListener,
    ::CCM_DDS::ConnectorStatusListener> ShapeType_Connector_Traits;

  class SHAPES_CONNECTOR_EXEC_Export Shapes_Connector_exec_i :
    public DDS_Event_Connector_T <ShapeType_DDS_Traits, ShapeType_Connector_Traits>
  {
  public:
    Shapes_Connector_exec_i (void);
    virtual ~Shapes_Connector_exec_i (void);
  };

  extern "C" SHAPES_CONNECTOR_EXEC_Export ::Components::EnterpriseComponent_ptr
  create_Shapes_Shapes_Connector_Impl (void);
}

#include /**/ "ace/post.h"

#endif /* ifndef */