summaryrefslogtreecommitdiff
path: root/trunk/CIAO/examples/Display/Display_Base/Display_Base.idl
blob: 337d4101c2b66e526ebd3b5c7dc815903a4ae5af (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
// $Id$

/**
 * @file Display_Base.idl
 *
 * Definition of events, and common interfaces used in HUDisplay module.
 *
 * @author Nanbor Wang <nanbor@cs.wustl.edu>
 */

#ifndef HUDISPLAY_IDL
#define HUDISPLAY_IDL

#include <Components.idl>

module HUDisplay
{
  /**
   * @brief interface opmode defines the "operation mode" interface.
   */
  interface opmode
  {
    void start ();
    void stop ();
    boolean active ();
  };

  /**
   * @brief a timed event that happens at some fix rate.
   */
  eventtype tick
    {
      // We could put a timestamp here if desired.
    };

  /**
   * @brief interface position allows querying of a coordination.
   */
  interface position
  {
    long posx ();
    long posy ();
  };
};

#endif /* HUDISPLAY_IDL */