summaryrefslogtreecommitdiff
path: root/tests/CIAO_ComponentServer/Local_Facet/Local_Facet_exec.h
blob: 4113d147adcf54ddd2b9f82f372d8c78f8a2ced1 (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
// -*- C++ -*-
// $Id$

#ifndef CIAO_LOCAL_FACET_EXEC_H_
#define CIAO_LOCAL_FACET_EXEC_H_

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

#include "Local_FacetEC.h"

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

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


namespace CIAO_Bar_Impl
{
  class LOCAL_FACET_EXEC_Export Foo_exec_i
    : public virtual ::CCM_Foo,
      public virtual ::CORBA::LocalObject
  {
  public:
    Foo_exec_i (void);
    virtual ~Foo_exec_i (void);

    // Operations and attributes from ::Foo
    virtual void simple (void);
  };

  class LOCAL_FACET_EXEC_Export Bar_exec_i
    : public virtual Bar_Exec,
      public virtual ::CORBA::LocalObject
  {
  public:
    Bar_exec_i (void);
    virtual ~Bar_exec_i (void);

    //@{
    /** Supported operations and attributes. */
    virtual void run_test (void);

    //@}

    //@{
    /** Component attributes and port operations. */


    virtual ::CCM_Foo_ptr
    get_foo_out (void);
    //@}

    //@{
    /** Operations from Components::SessionComponent. */

    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:
    ::CCM_Bar_Context_var context_;
  };

  extern "C" LOCAL_FACET_EXEC_Export ::Components::EnterpriseComponent_ptr
  create_Bar_Impl (void);
}

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

#endif /* ifndef */