blob: e5ec25527627c7ea78e331811c33049dbad14908 (
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 "../HUDisplay.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 */
|