summaryrefslogtreecommitdiff
path: root/TAO/CIAO/examples/handcrafted/Display/GPS/GPSE.idl
blob: 44b08652d0e88fa22ba70f487ed742dccbcf3902 (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
// $Id$

// ===========================================================
//
// @file GPSE.idl
//
// Generated based on $(CIAO_ROOT)/docs/templates/Executor.idl
//
// @author Nanbor Wang <nanbor@cs.wustl.edu>
//
// ===========================================================

#ifndef GPSE_IDL
#define GPSE_IDL

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

module HUDisplay {

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

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

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

  local interface CCM_GPS
  : ::Components::EnterpriseComponent
  {
    CCM_position get_MyLocation ();

    void push_Refresh (in tick ev);
  };

  /**
   * 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_GPS_Context
  : Components::SessionContext
  {
    void push_Ready (in tick ev);
  };

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

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

  local interface CCM_GPSHome
    : CCM_GPSHomeExplicit,
      CCM_GPSHomeImplicit
  {
  };

};

#endif /* GPSE_IDL */