summaryrefslogtreecommitdiff
path: root/CIAO/examples/Display/RateGen/RateGen.idl
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2007-03-18 22:23:37 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2007-03-18 22:23:37 +0000
commit06a34455bd98b1379cc69bbc5b2cf085e0fc0d9b (patch)
tree8815ce3b3a85c3c4285429295f338e00ea4497f4 /CIAO/examples/Display/RateGen/RateGen.idl
parentd66fcc9b4aaec8e88eeb83fc578fdf8a3cc963de (diff)
downloadATCD-06a34455bd98b1379cc69bbc5b2cf085e0fc0d9b.tar.gz
Diffstat (limited to 'CIAO/examples/Display/RateGen/RateGen.idl')
-rw-r--r--CIAO/examples/Display/RateGen/RateGen.idl34
1 files changed, 34 insertions, 0 deletions
diff --git a/CIAO/examples/Display/RateGen/RateGen.idl b/CIAO/examples/Display/RateGen/RateGen.idl
new file mode 100644
index 00000000000..ef398f5df78
--- /dev/null
+++ b/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 */