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

/**
 * @file RateGen.idl
 *
 * Definition of the RateGen (a rate generator) component.
 *
 * @author Nanbor Wang <nanbor@cs.wustl.edu>
 */

#ifndef RATEGEN_IDL
#define RATEGEN_IDL

#include "../Display_Base/Display_Base.idl"

module HUDisplay
{
  component RateGen supports opmode
    {
      publishes tick Pulse;

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

  home RateGenHome manages RateGen
  {
    // Explicit operations
    factory new_RateGen (in long hertz);
  };
};

#endif /* RATEGEN_IDL */