summaryrefslogtreecommitdiff
path: root/trunk/CIAO/examples/BasicSP/EC/EC.idl
blob: 50ad25afd7f6b0ce5b75ce83b8e68c984f5997b2 (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
// $Id$
//=============================================================================
/**
 * @file EC.idl
 *
 * Definition of events, and common interfaces used in the BasicSP module.
 *
 * @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
 */
//=============================================================================

#ifndef CIAO_EC_IDL
#define CIAO_EC_IDL

#include "../BasicSP.idl"

module BasicSP
{
  interface trigger
    {
      void start ();
      void stop ();
    };
  component EC supports trigger
    {
      publishes TimeOut timeout;

      /// The attribute can be configured via the home or the
      /// component property file.
      attribute long hertz;

    };

  home ECHome manages EC
  {
    // Explicit operations
    factory new_EC (in long hertz);
  };
};

#endif /* CIAO_EC_IDL*/