diff options
-rw-r--r-- | TAO/ChangeLog-99c | 4 | ||||
-rw-r--r-- | TAO/tao/poa_T.cpp | 64 | ||||
-rw-r--r-- | TAO/tao/poa_T.h | 52 |
3 files changed, 3 insertions, 117 deletions
diff --git a/TAO/ChangeLog-99c b/TAO/ChangeLog-99c index e3f7caf365e..958c9fb3821 100644 --- a/TAO/ChangeLog-99c +++ b/TAO/ChangeLog-99c @@ -1,4 +1,6 @@ -Thu Jun 03 13:57:49 1999 Irfan Pyarali <irfan@cs.wustl.edu> +Thu Jun 03 14:54:23 1999 Irfan Pyarali <irfan@cs.wustl.edu> + + * tao/poa_T.*: Removed unused files. * tao/Reply_Dispatcher: Fixed incorrect inclusion of the Reply_Dispatcher.i file. diff --git a/TAO/tao/poa_T.cpp b/TAO/tao/poa_T.cpp deleted file mode 100644 index ea87c7da389..00000000000 --- a/TAO/tao/poa_T.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// $Id$ - -#ifndef POA_T_CPP -#define POA_T_CPP - -#include "tao/poa_T.h" - -ACE_RCSID(tao, poa_T, "$Id$") - -template <class ACE_LOCKING_MECHANISM> -TAO_Locked_POA<ACE_LOCKING_MECHANISM>::TAO_Locked_POA (const char *adapter_name, - PortableServer::POAManager_ptr poa_manager, - TAO_POA_Policies &policies, - PortableServer::POA_ptr parent, - CORBA::Environment &env) - : TAO_POA (adapter_name, - poa_manager, - policies, - parent, - env) -{ -} - -template <class ACE_LOCKING_MECHANISM> TAO_POA * -TAO_Locked_POA<ACE_LOCKING_MECHANISM>::clone (const char *adapter_name, - PortableServer::POAManager_ptr poa_manager, - TAO_POA_Policies &policies, - PortableServer::POA_ptr parent, - CORBA::Environment &env) -{ - return new SELF (adapter_name, - poa_manager, - policies, - parent, - env); -} - - -template <class ACE_LOCKING_MECHANISM> ACE_Lock & -TAO_Locked_POA<ACE_LOCKING_MECHANISM>::lock (void) -{ - return this->lock_; -} - -template <class ACE_LOCKING_MECHANISM> -TAO_Locked_POA_Manager<ACE_LOCKING_MECHANISM>::TAO_Locked_POA_Manager (void) - : TAO_POA_Manager () -{ -} - - -template <class ACE_LOCKING_MECHANISM> TAO_POA_Manager * -TAO_Locked_POA_Manager<ACE_LOCKING_MECHANISM>::clone (void) -{ - return new SELF; -} - -template <class ACE_LOCKING_MECHANISM> ACE_Lock & -TAO_Locked_POA_Manager<ACE_LOCKING_MECHANISM>::lock (void) -{ - return this->lock_; -} - -#endif /* POA_T_CPP */ diff --git a/TAO/tao/poa_T.h b/TAO/tao/poa_T.h deleted file mode 100644 index b1b9e6a43c6..00000000000 --- a/TAO/tao/poa_T.h +++ /dev/null @@ -1,52 +0,0 @@ -// $Id$ - -#ifndef (TAO_POA_T_H) -#define TAO_POA_T_H - -#include "tao/poa.h" - -template <class ACE_LOCKING_MECHANISM> -class TAO_Locked_POA : public TAO_POA -{ -public: - TAO_Locked_POA (const char *adapter_name, - PortableServer::POAManager_ptr poa_manager, - TAO_POA_Policies &policies, - PortableServer::POA_ptr parent, - CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ()); - - virtual TAO_POA *clone (const char *adapter_name, - PortableServer::POAManager_ptr poa_manager, - TAO_POA_Policies &policies, - PortableServer::POA_ptr parent, - CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ()); - -protected: - - virtual ACE_Lock &lock (void); - ACE_Lock_Adapter<ACE_LOCKING_MECHANISM> lock_; - typedef TAO_Locked_POA<ACE_LOCKING_MECHANISM> SELF; -}; - -template <class ACE_LOCKING_MECHANISM> -class TAO_Locked_POA_Manager : public TAO_POA_Manager -{ -public: - TAO_Locked_POA_Manager (void); - virtual TAO_POA_Manager *clone (void); - -protected: - virtual ACE_Lock &lock (void); - ACE_Lock_Adapter<ACE_LOCKING_MECHANISM> lock_; - typedef TAO_Locked_POA_Manager<ACE_LOCKING_MECHANISM> SELF; -}; - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "tao/poa_T.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ - -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation ("poa_T.cpp") -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#endif /* TAO_POA_T_H */ |