summaryrefslogtreecommitdiff
path: root/TAO/CIAO/examples/handcrafted/BasicSP/BMClosedED/BMClosedEDE.idl
blob: 7b2676cd9023ec95f098c9dc60c3d99e118629c4 (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
// $Id$

// ===========================================================
//
// @file BMClosedED.idl
//
// Generated based on $(CIAO_ROOT)/docs/templates/Executor.idl
//
// @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
//
// ===========================================================

#ifndef CIAO_BMCLOSED_IDL
#define CIAO_BMCLOSED_IDL

#include "CCM_Container.idl"    // Found in $(CIAO_ROOT)/ciao
                                // For various definitions of container
                                // internal/callback interfaces
#include "BMClosedED.idl"  // Original component IDL definition
#include "../BasicSPE.idl"

module BasicSP {

  // Component Main Executor Interface.  We currently do not
  // support Executor-based implementation.

  local interface CCM_BMClosed_Executor
  : ::Components::EnterpriseComponent
  {
  };

  // Monolithic component executor.
  // For implementing monolithic component call back interface.

  local interface CCM_BMClosedED
  : ::Components::EnterpriseComponent
  {
    CCM_ReadData get_dataout ();

    void push_in_avail (in DataAvailable a);
  };

  /**
   * Component Context Interface
   *
   * Notice that we are taking a shortcut here to inherit the
   * component-specific context from SessionContext directly instead
   * of CCMContext.
   */
  local interface CCM_BMClosedED_Context
  : Components::SessionContext
  {
    void push_out_avail (in DataAvailable a);
    ReadData get_connection_datain ();
  };

  local interface CCM_BMClosedEDHomeExplicit
  : ::Components::HomeExecutorBase
  {
  };

  local interface CCM_BMClosedEDHomeImplicit
  {
    ::Components::EnterpriseComponent create ()
      raises (::Components::CCMException);
  };

  local interface CCM_BMClosedEDHome
    : CCM_BMClosedEDHomeExplicit,
      CCM_BMClosedEDHomeImplicit
  {
  };

};

#endif /* CIAO_BMCLOSED_IDL */