summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/examples/RtEC/IIOPGateway/EC.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/orbsvcs/examples/RtEC/IIOPGateway/EC.h')
-rw-r--r--trunk/TAO/orbsvcs/examples/RtEC/IIOPGateway/EC.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/trunk/TAO/orbsvcs/examples/RtEC/IIOPGateway/EC.h b/trunk/TAO/orbsvcs/examples/RtEC/IIOPGateway/EC.h
new file mode 100644
index 00000000000..2734de1dcd0
--- /dev/null
+++ b/trunk/TAO/orbsvcs/examples/RtEC/IIOPGateway/EC.h
@@ -0,0 +1,39 @@
+/* -*- C++ -*- */
+/**
+ * @file EC.h
+ *
+ * $Id$
+ *
+ * @author Carlos O'Ryan (coryan@cs.wustl.edu)
+ *
+ * Event channel
+ */
+
+#ifndef EC_H
+#define EC_H
+
+#include "orbsvcs/RtecEventCommS.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+/**
+ * @class EC
+ *
+ * @brief Simple event channel
+ */
+class EC
+{
+public:
+ /// Constructor
+ EC (void);
+
+ /// Run the test
+ int run (int argc, char* argv[]);
+
+private:
+ int parse_args (int argc, char *argv[]);
+};
+
+#endif /* EC_H */