summaryrefslogtreecommitdiff
path: root/TAO/CIAO/examples/handcrafted/BasicSP/BMDevice/BMDeviceE.idl
blob: 1754890a5fa1a5356ae41f4d7beeabfe31f48b82 (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
// $Id$

// ===========================================================
//
// @file BMDeviceE.idl
//
// Handlecrafted "generated" code. :)
//
// @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
//
// ===========================================================

#ifndef CIAO_BMDEVICEE_IDL
#define CIAO_BMDEVICEE_IDL

#include "CCM_Container.idl"
#include "BMDevice.idl"       // Original component IDL definition
#include "../BasicSPE.idl"

module BasicSP
{
  local interface CCM_BMDevice_Executor
  : Components::EnterpriseComponent
  {
  };

  local interface CCM_BMDevice
    : Components::EnterpriseComponent
  {
    CCM_ReadData get_data_read ();
    void push_timeout (in TimeOut ev);
  };

  /** 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_BMDevice_Context
  : Components::SessionContext
  {
    void push_data_available (in DataAvailable ev);
  };

  local interface CCM_BMDeviceHomeExplicit
    : Components::HomeExecutorBase
  {
  };

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

  local interface CCM_BMDeviceHome
    : CCM_BMDeviceHomeExplicit,
      CCM_BMDeviceHomeImplicit
  {
  };
};

#endif /* CIAO_BMDEVICEE_IDL */