diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/orbsvcs/orbsvcs/Channel_Clients_T.h | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Channel_Clients_T.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Channel_Clients_T.h | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Channel_Clients_T.h b/TAO/orbsvcs/orbsvcs/Channel_Clients_T.h deleted file mode 100644 index 10071d978ea..00000000000 --- a/TAO/orbsvcs/orbsvcs/Channel_Clients_T.h +++ /dev/null @@ -1,99 +0,0 @@ -// -*- C++ -*- - -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Channel_Clients_T -// -// = AUTHOR -// Tim Harrison (harrison@cs.wustl.edu) and -// Douglas Schmidt (schmidt@cs.wustl.edu) -// -// = DESCRIPTION -// These classes allow applications to be consumer, suppliers, and -// consumer suppliers, as well as being active objects. This is -// accomplished with adapters to prevent the use of multiple -// inheritence (which is this root of all evil.) -// -// ============================================================================ - -#ifndef ACE_CHANNEL_CLIENTS_T_H -#define ACE_CHANNEL_CLIENTS_T_H -#include /**/ "ace/pre.h" - -#include "orbsvcs/RtecEventCommS.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -/** - * @class ACE_PushConsumer_Adapter - * - * @brief ACE Push Consumer Adapter - * - * Forwards all calls to the target_. - */ -template <class TARGET> -class ACE_PushConsumer_Adapter : public POA_RtecEventComm::PushConsumer -{ -public: - /// Forwards all calls to @a target. - ACE_PushConsumer_Adapter (TARGET *target); - - /// Forwards to target_. - virtual void push (const RtecEventComm::EventSet& events - ACE_ENV_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( CORBA::SystemException)); - - /// Forwards to target_. - virtual void disconnect_push_consumer (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( CORBA::SystemException)); - -private: - TARGET *target_; -}; - -// ************************************************************ - -/** - * @class ACE_PushSupplier_Adapter - * - * @brief ACE Push Supplier Adapter - * - * Forwards all calls to disconnect_push_supplier to the target_. - */ -template <class TARGET> -class ACE_PushSupplier_Adapter : public POA_RtecEventComm::PushSupplier -{ -public: - /// Forwards all calls to <owner>. - ACE_PushSupplier_Adapter (TARGET *target); - - /// Forwards to target_. - virtual void disconnect_push_supplier (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( CORBA::SystemException)); - -private: - TARGET *target_; -}; - -TAO_END_VERSIONED_NAMESPACE_DECL - -#if defined (__ACE_INLINE__) -#include "orbsvcs/Channel_Clients_T.i" -#endif /* __ACE_INLINE__ */ - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "orbsvcs/Channel_Clients_T.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ - -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation ("Channel_Clients_T.cpp") -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#include /**/ "ace/post.h" -#endif /* ACE_CHANNEL_CLIENTS_T_H */ |