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