diff options
Diffstat (limited to 'TAO/tao/poa_T.h')
-rw-r--r-- | TAO/tao/poa_T.h | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/TAO/tao/poa_T.h b/TAO/tao/poa_T.h deleted file mode 100644 index fd30a5b6402..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 &_env = CORBA_Environment::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 &_env = CORBA_Environment::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 */ |