diff options
Diffstat (limited to 'TAO/orbsvcs/performance-tests/RTEvent/lib/Loopback.h')
-rw-r--r-- | TAO/orbsvcs/performance-tests/RTEvent/lib/Loopback.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/lib/Loopback.h b/TAO/orbsvcs/performance-tests/RTEvent/lib/Loopback.h new file mode 100644 index 00000000000..384c42cd3cb --- /dev/null +++ b/TAO/orbsvcs/performance-tests/RTEvent/lib/Loopback.h @@ -0,0 +1,47 @@ +/** + * @file Loopback.h + * + * $Id$ + * + */ + +#ifndef TAO_RTEC_PERF_LOOPBACK_H +#define TAO_RTEC_PERF_LOOPBACK_H + +#include "Federated_TestS.h" +#include "Loopback_Pair.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +/** + * @class Loopback + * + * @brief Implement the Control::Loopback interface + * + */ +class TAO_RTEC_Perf_Export Loopback + : public virtual POA_Federated_Test::Loopback +{ +public: + /// Constructor + Loopback (CORBA::Long experiment_id, + CORBA::Long base_event_type, + PortableServer::POA_ptr supplier_poa, + PortableServer::POA_ptr consumer_poa, + RtecEventChannelAdmin::EventChannel_ptr ec + ACE_ENV_ARG_DECL); + + //@{ + /** @name The Federated_Test::Loopback methods + */ + virtual void disconnect (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + //@} + +private: + Loopback_Pair loopback_pair_; +}; + +#endif /* TAO_RTEC_PERF_LOOPBACK_H */ |