diff options
Diffstat (limited to 'TAO/tao/POAManager.i')
-rw-r--r-- | TAO/tao/POAManager.i | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/TAO/tao/POAManager.i b/TAO/tao/POAManager.i deleted file mode 100644 index 8977b773bbd..00000000000 --- a/TAO/tao/POAManager.i +++ /dev/null @@ -1,80 +0,0 @@ -// $Id$ - -#include "tao/Environment.h" - -ACE_INLINE ACE_Lock & -TAO_POA_Manager::lock (void) -{ - return this->lock_; -} - -ACE_INLINE void -TAO_POA_Manager::activate (CORBA_Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableServer::POAManager::AdapterInactive)) -{ - // Lock access to the POAManager for the duration of this transaction - TAO_OBJECT_ADAPTER_GUARD; - - this->activate_i (ACE_TRY_ENV); -} - -#if (TAO_HAS_MINIMUM_POA == 0) - -ACE_INLINE void -TAO_POA_Manager::hold_requests (CORBA::Boolean wait_for_completion, - CORBA_Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableServer::POAManager::AdapterInactive)) -{ - // Lock access to the POAManager for the duration of this transaction - TAO_OBJECT_ADAPTER_GUARD; - - this->hold_requests_i (wait_for_completion, ACE_TRY_ENV); -} - -ACE_INLINE void -TAO_POA_Manager::discard_requests (CORBA::Boolean wait_for_completion, - CORBA_Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableServer::POAManager::AdapterInactive)) -{ - // Lock access to the POAManager for the duration of this transaction - TAO_OBJECT_ADAPTER_GUARD; - - this->discard_requests_i (wait_for_completion, ACE_TRY_ENV); -} - -ACE_INLINE void -TAO_POA_Manager::deactivate (CORBA::Boolean etherealize_objects, - CORBA::Boolean wait_for_completion, - CORBA_Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableServer::POAManager::AdapterInactive)) -{ - // Lock access to the POAManager for the duration of this transaction - TAO_OBJECT_ADAPTER_GUARD; - - this->deactivate_i (etherealize_objects, - wait_for_completion, - ACE_TRY_ENV); -} - -#endif /* TAO_HAS_MINIMUM_POA == 0 */ - -ACE_INLINE PortableServer::POAManager::State -TAO_POA_Manager::get_state_i (void) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->state_; -} - -ACE_INLINE PortableServer::POAManager::State -TAO_POA_Manager::get_state (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Lock access to the POAManager for the duration of this transaction - TAO_OBJECT_ADAPTER_GUARD_RETURN (this->state_); - - return this->get_state_i (); -} |