diff options
Diffstat (limited to 'modules/CIAO/examples/Display/RateGen/RateGen.idl')
-rw-r--r-- | modules/CIAO/examples/Display/RateGen/RateGen.idl | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/CIAO/examples/Display/RateGen/RateGen.idl b/modules/CIAO/examples/Display/RateGen/RateGen.idl new file mode 100644 index 00000000000..ef398f5df78 --- /dev/null +++ b/modules/CIAO/examples/Display/RateGen/RateGen.idl @@ -0,0 +1,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 */ |