diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-03 20:05:24 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-03 20:05:24 +0000 |
commit | d8a6f7fedc4ba8f53b5a17ee4b33ee0a75a8c352 (patch) | |
tree | 45c189cd0ac6efaddecc906e356069efae8b2261 /TAO/tao | |
parent | 2fa1b78722cbe162932ad21a069837fd76ce0620 (diff) | |
download | ATCD-d8a6f7fedc4ba8f53b5a17ee4b33ee0a75a8c352.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao')
-rw-r--r-- | TAO/tao/poa_T.cpp | 64 | ||||
-rw-r--r-- | TAO/tao/poa_T.h | 52 |
2 files changed, 0 insertions, 116 deletions
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 */ |