diff options
Diffstat (limited to 'TAO/orbsvcs/lib/Channel_Clients_T.h')
-rw-r--r-- | TAO/orbsvcs/lib/Channel_Clients_T.h | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/TAO/orbsvcs/lib/Channel_Clients_T.h b/TAO/orbsvcs/lib/Channel_Clients_T.h deleted file mode 100644 index 732353773eb..00000000000 --- a/TAO/orbsvcs/lib/Channel_Clients_T.h +++ /dev/null @@ -1,88 +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 "RtecEventCommC.h" - -// TODO: Add throw specs to this classes. - -template <class TARGET> -class ACE_PushConsumer_Adapter : public RtecEventComm::PushConsumer -// = TITLE -// ACE Push Consumer Adapter -// -// = DESCRIPTION -// Forwards all calls to the owner_. -{ -public: - ACE_PushConsumer_Adapter (TARGET *target); - // Forwards all calls to <owner>. - - virtual void push (const RtecEventComm::EventSet& events, - CORBA::Environment &); - // Forwards to target_. - - virtual void disconnect_push_consumer (CORBA::Environment &); - // Forwards to target_. - -private: - TARGET *target_; -}; - -// ************************************************************ - -template <class TARGET> -class ACE_PushSupplier_Adapter : public RtecEventComm::PushSupplier -// = TITLE -// ACE Push Supplier Adapter -// -// = DESCRIPTION -// Forwards all calls to disconnect_push_supplier the target_. -{ -public: - ACE_PushSupplier_Adapter (TARGET *target); - // Forwards all calls to <owner>. - - virtual void disconnect_push_supplier (CORBA::Environment &); - // Forwards to target_. - -private: - TARGET *target_; -}; - -#if defined (__ACE_INLINE__) -#include "Channel_Clients_T.i" -#endif /* __ACE_INLINE__ */ - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "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 */ - -#endif /* ACE_CHANNEL_CLIENTS_T_H */ - |