summaryrefslogtreecommitdiff
path: root/CIAO/tests/IDL_Test/Double_Inherited_Component/ComponentC_exec.h
blob: 822d514cc393b08f02cdd16164a630697ded6500 (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
// -*- C++ -*-
#ifndef INHERITED_COMPONENTS_EXEC_H_
#define INHERITED_COMPONENTS_EXEC_H_


#include "Inherited_componentsEC.h"

#include /**/ "ComponentC_exec_export.h"

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

#include "tao/LocalObject.h"

#include <map>

namespace CIAO_connector_test_C_Impl
{
  class ComponentC_exec_i
    : public virtual C_Exec,
      public virtual ::CORBA::LocalObject
  {
  public:
    ComponentC_exec_i  (void);
    virtual ~ComponentC_exec_i  (void);

    virtual void
    topic_name_c (const char * topic_name);
    virtual char *
    topic_name_c (void);
    virtual void
    topic_name_b (const char * topic_name);
    virtual char *
    topic_name_b (void);
    virtual void
    topic_name_a (const char * topic_name);
    virtual char *
    topic_name_a (void);

    virtual ::connector_test::CCM_X_ptr
    get_x_a2 (void) { return 0; }

    virtual ::connector_test::CCM_Y_ptr
    get_y_b2 (void) { return 0; }

    virtual ::connector_test::CCM_Z_ptr
    get_z_c2 (void) { return 0; }

    virtual void
    set_session_context (
      ::Components::SessionContext_ptr ctx);
    virtual void configuration_complete (void);
    virtual void ccm_activate (void);
    virtual void ccm_passivate (void);
    virtual void ccm_remove (void);

  private:
    ::connector_test::CCM_C_Context_var context_;
    CORBA::String_var topic_name_c_;
    CORBA::String_var topic_name_b_;
    CORBA::String_var topic_name_a_;
    bool topic_name_c_has_been_set_;
    bool topic_name_b_has_been_set_;
    bool topic_name_a_has_been_set_;
  };

  extern "C" INHERITED_COMPONENTS_EXEC_Export ::Components::EnterpriseComponent_ptr
  create_ComponentC_Impl (void);
}

#endif /* ifndef */