summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/RtEC/test_driver/ECConfig_Gateway.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/examples/RtEC/test_driver/ECConfig_Gateway.h')
-rw-r--r--TAO/orbsvcs/examples/RtEC/test_driver/ECConfig_Gateway.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/TAO/orbsvcs/examples/RtEC/test_driver/ECConfig_Gateway.h b/TAO/orbsvcs/examples/RtEC/test_driver/ECConfig_Gateway.h
new file mode 100644
index 00000000000..560503bfa41
--- /dev/null
+++ b/TAO/orbsvcs/examples/RtEC/test_driver/ECConfig_Gateway.h
@@ -0,0 +1,34 @@
+/**
+ * @author Stephen Torri
+ * $Id$
+ */
+#ifndef ECCONFIG_GATEWAY_H_
+#define ECCONFIG_GATEWAY_H
+
+#include <orbsvcs/Event/EC_Gateway_Sched.h>
+#include <orbsvcs/RtecEventChannelAdminS.h>
+#include <orbsvcs/RtecEventCommS.h>
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+class ECConfig_Gateway : public TAO_EC_Gateway_Sched {
+ public:
+ ECConfig_Gateway (void);
+ ~ECConfig_Gateway (void);
+
+ void push (const RtecEventComm::EventSet &events
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+
+ virtual void update_consumer (const RtecEventChannelAdmin::ConsumerQOS& sub
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual void update_supplier (const RtecEventChannelAdmin::SupplierQOS& pub
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+};
+
+#endif // ECCONFIG_GATEWAY_H_