TAO_POA_Manager Class Reference

#include <POAManager.h>

Inheritance diagram for TAO_POA_Manager:

Inheritance graph
[legend]
Collaboration diagram for TAO_POA_Manager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void activate () throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive)
void hold_requests (CORBA::Boolean wait_for_completion) throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive)
void discard_requests (CORBA::Boolean wait_for_completion) throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive)
void deactivate (CORBA::Boolean etherealize_objects, CORBA::Boolean wait_for_completion) throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive)
PortableServer::POAManager::State get_state () throw (CORBA::SystemException)
char * get_id () throw (CORBA::SystemException)
 TAO_POA_Manager (TAO_Object_Adapter &object_adapter, const char *id, const ::CORBA::PolicyList &policies, PortableServer::POAManagerFactory_ptr poa_manager_factory)
 ~TAO_POA_Manager (void)
void check_state ()
 Check the state of this POA manager.
PortableServer::POAManager::State get_state_i () throw (CORBA::SystemException)
virtual CORBA::ORB_ptr _get_orb ()
CORBA::PolicyListget_policies ()

Protected Types

typedef ACE_Unbounded_Set<
TAO_Root_POA * > 
POA_COLLECTION

Protected Member Functions

void activate_i () throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive)
void deactivate_i (CORBA::Boolean etherealize_objects, CORBA::Boolean wait_for_completion) throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive)
void adapter_manager_state_changed (PortableServer::POAManager::State state) throw (CORBA::SystemException)
void hold_requests_i (CORBA::Boolean wait_for_completion) throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive)
void discard_requests_i (CORBA::Boolean wait_for_completion) throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive)
ACE_Locklock (void)
int remove_poa (TAO_Root_POA *poa)
int register_poa (TAO_Root_POA *poa)

Protected Attributes

PortableServer::POAManager::State state_
ACE_Locklock_
POA_COLLECTION poa_collection_
TAO_Object_Adapterobject_adapter_
CORBA::String_var id_
TAO_POAManager_Factorypoa_manager_factory_
CORBA::PolicyList policies_

Private Member Functions

char * generate_manager_id (void) const

Friends

class TAO_Root_POA
class TAO_Object_Adapter

Member Typedef Documentation

typedef ACE_Unbounded_Set<TAO_Root_POA *> TAO_POA_Manager::POA_COLLECTION [protected]


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_POA_Manager::TAO_POA_Manager ( TAO_Object_Adapter object_adapter,
const char *  id,
const ::CORBA::PolicyList policies,
PortableServer::POAManagerFactory_ptr  poa_manager_factory 
)

TAO_POA_Manager::~TAO_POA_Manager ( void   ) 


Member Function Documentation

CORBA::ORB_ptr TAO_POA_Manager::_get_orb (  )  [virtual]

Reimplemented from CORBA::LocalObject.

ACE_INLINE void TAO_POA_Manager::activate (  )  throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive)

void TAO_POA_Manager::activate_i (  )  throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive) [protected]

void TAO_POA_Manager::adapter_manager_state_changed ( PortableServer::POAManager::State  state  )  throw (CORBA::SystemException) [protected]

Method needed for notifying the IORInterceptors that the state of POAManager changed.

void TAO_POA_Manager::check_state (  ) 

Check the state of this POA manager.

ACE_INLINE void TAO_POA_Manager::deactivate ( CORBA::Boolean  etherealize_objects,
CORBA::Boolean  wait_for_completion 
) throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive)

void TAO_POA_Manager::deactivate_i ( CORBA::Boolean  etherealize_objects,
CORBA::Boolean  wait_for_completion 
) throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive) [protected]

ACE_INLINE void TAO_POA_Manager::discard_requests ( CORBA::Boolean  wait_for_completion  )  throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive)

void TAO_POA_Manager::discard_requests_i ( CORBA::Boolean  wait_for_completion  )  throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive) [protected]

ACE_INLINE char * TAO_POA_Manager::generate_manager_id ( void   )  const [private]

Generate an id for this POAManager.

Returns:
A value that uniquely identifies the POAManager within a given process.
Note:
: The id_ has the ownership of the memory allocated in this method.

char * TAO_POA_Manager::get_id (  )  throw (CORBA::SystemException)

ACE_INLINE CORBA::PolicyList & TAO_POA_Manager::get_policies (  ) 

ACE_INLINE PortableServer::POAManager::State TAO_POA_Manager::get_state (  )  throw (CORBA::SystemException)

ACE_INLINE PortableServer::POAManager::State TAO_POA_Manager::get_state_i (  )  throw (CORBA::SystemException)

ACE_INLINE void TAO_POA_Manager::hold_requests ( CORBA::Boolean  wait_for_completion  )  throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive)

void TAO_POA_Manager::hold_requests_i ( CORBA::Boolean  wait_for_completion  )  throw (CORBA::SystemException, PortableServer::POAManager::AdapterInactive) [protected]

TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Lock & TAO_POA_Manager::lock ( void   )  [protected]

int TAO_POA_Manager::register_poa ( TAO_Root_POA poa  )  [protected]

int TAO_POA_Manager::remove_poa ( TAO_Root_POA poa  )  [protected]


Friends And Related Function Documentation

friend class TAO_Object_Adapter [friend]

friend class TAO_Root_POA [friend]


Member Data Documentation

CORBA::String_var TAO_POA_Manager::id_ [protected]

ACE_Lock& TAO_POA_Manager::lock_ [protected]

TAO_Object_Adapter& TAO_POA_Manager::object_adapter_ [protected]

POA_COLLECTION TAO_POA_Manager::poa_collection_ [protected]

TAO_POAManager_Factory& TAO_POA_Manager::poa_manager_factory_ [protected]

CORBA::PolicyList TAO_POA_Manager::policies_ [protected]

PortableServer::POAManager::State TAO_POA_Manager::state_ [protected]


The documentation for this class was generated from the following files:
Generated on Sun Jul 9 09:55:43 2006 for TAO_PortableServer by  doxygen 1.4.7-1