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 (void)
void hold_requests (CORBA::Boolean wait_for_completion)
void discard_requests (CORBA::Boolean wait_for_completion)
void deactivate (CORBA::Boolean etherealize_objects, CORBA::Boolean wait_for_completion)
PortableServer::POAManager::State get_state (void)
char * get_id (void)
 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 (void)
 Check the state of this POA manager.
PortableServer::POAManager::State get_state_i ()
virtual CORBA::ORB_ptr _get_orb (void)
CORBA::PolicyList & get_policies (void)

Protected Types

typedef ACE_Unbounded_Set<
TAO_Root_POA * > 
POA_COLLECTION

Protected Member Functions

void activate_i (void)
void deactivate_i (CORBA::Boolean etherealize_objects, CORBA::Boolean wait_for_completion)
void adapter_manager_state_changed (PortableServer::POAManager::State state)
void hold_requests_i (CORBA::Boolean wait_for_completion)
void discard_requests_i (CORBA::Boolean wait_for_completion)
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 ( void   )  [virtual]

Reimplemented from CORBA::LocalObject.

ACE_INLINE void TAO_POA_Manager::activate ( void   ) 

void TAO_POA_Manager::activate_i ( void   )  [protected]

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

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

void TAO_POA_Manager::check_state ( void   ) 

Check the state of this POA manager.

ACE_INLINE void TAO_POA_Manager::deactivate ( CORBA::Boolean  etherealize_objects,
CORBA::Boolean  wait_for_completion 
)

void TAO_POA_Manager::deactivate_i ( CORBA::Boolean  etherealize_objects,
CORBA::Boolean  wait_for_completion 
) [protected]

ACE_INLINE void TAO_POA_Manager::discard_requests ( CORBA::Boolean  wait_for_completion  ) 

void TAO_POA_Manager::discard_requests_i ( CORBA::Boolean  wait_for_completion  )  [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 ( void   ) 

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

ACE_INLINE PortableServer::POAManager::State TAO_POA_Manager::get_state ( void   ) 

ACE_INLINE PortableServer::POAManager::State TAO_POA_Manager::get_state_i (  ) 

ACE_INLINE void TAO_POA_Manager::hold_requests ( CORBA::Boolean  wait_for_completion  ) 

void TAO_POA_Manager::hold_requests_i ( CORBA::Boolean  wait_for_completion  )  [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 Mon Apr 30 23:10:36 2007 for TAO_PortableServer by  doxygen 1.4.7-1