TAO_RTPortableServer  2.2.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TAO_RT_POA Class Reference

#include <RT_POA.h>

Inheritance diagram for TAO_RT_POA:
Inheritance graph
Collaboration diagram for TAO_RT_POA:
Collaboration graph

Public Member Functions

CORBA::Object_ptr create_reference_with_priority (const char *intf, RTCORBA::Priority priority)
 
CORBA::Object_ptr create_reference_with_id_and_priority (const PortableServer::ObjectId &oid, const char *intf, RTCORBA::Priority priority)
 
PortableServer::ObjectIdactivate_object_with_priority (PortableServer::Servant p_servant, RTCORBA::Priority priority)
 
void activate_object_with_id_and_priority (const PortableServer::ObjectId &oid, PortableServer::Servant p_servant, RTCORBA::Priority priority)
 
PortableServer::POA_ptr create_POA (const char *adapter_name, PortableServer::POAManager_ptr poa_manager, const CORBA::PolicyList &policies)
 
PortableServer::POA_ptr find_POA (const char *adapter_name, CORBA::Boolean activate_it)
 
void destroy (CORBA::Boolean etherealize_objects, CORBA::Boolean wait_for_completion)
 
PortableServer::ThreadPolicy_ptr create_thread_policy (PortableServer::ThreadPolicyValue value)
 
PortableServer::LifespanPolicy_ptr create_lifespan_policy (PortableServer::LifespanPolicyValue value)
 
PortableServer::IdUniquenessPolicy_ptr create_id_uniqueness_policy (PortableServer::IdUniquenessPolicyValue value)
 
PortableServer::IdAssignmentPolicy_ptr create_id_assignment_policy (PortableServer::IdAssignmentPolicyValue value)
 
PortableServer::ImplicitActivationPolicy_ptr create_implicit_activation_policy (PortableServer::ImplicitActivationPolicyValue value)
 
PortableServer::ServantRetentionPolicy_ptr create_servant_retention_policy (PortableServer::ServantRetentionPolicyValue value)
 
PortableServer::RequestProcessingPolicy_ptr create_request_processing_policy (PortableServer::RequestProcessingPolicyValue value)
 
char * the_name (void)
 
PortableServer::POA_ptr the_parent (void)
 
PortableServer::POAList * the_children (void)
 
PortableServer::POAManager_ptr the_POAManager (void)
 
PortableServer::AdapterActivator_ptr the_activator (void)
 
void the_activator (PortableServer::AdapterActivator_ptr adapter_activator)
 
PortableServer::ServantManager_ptr get_servant_manager (void)
 
void set_servant_manager (PortableServer::ServantManager_ptr imgr)
 
PortableServer::Servant get_servant (void)
 
void set_servant (PortableServer::Servant servant)
 
PortableServer::ObjectIdactivate_object (PortableServer::Servant p_servant)
 
void activate_object_with_id (const PortableServer::ObjectId &id, PortableServer::Servant p_servant)
 
void deactivate_object (const PortableServer::ObjectId &oid)
 
CORBA::Object_ptr create_reference (const char *intf)
 
CORBA::Object_ptr create_reference_with_id (const PortableServer::ObjectId &oid, const char *intf)
 
PortableServer::ObjectIdservant_to_id (PortableServer::Servant p_servant)
 
CORBA::Object_ptr servant_to_reference (PortableServer::Servant p_servant)
 
PortableServer::Servant reference_to_servant (CORBA::Object_ptr reference)
 
PortableServer::ObjectIdreference_to_id (CORBA::Object_ptr reference)
 
PortableServer::Servant id_to_servant (const PortableServer::ObjectId &oid)
 
CORBA::Object_ptr id_to_reference (const PortableServer::ObjectId &oid)
 
CORBA::OctetSeqid (void)
 
virtual CORBA::PolicyListclient_exposed_policies (CORBA::Short object_priority)
 
 TAO_RT_POA (const String &name, PortableServer::POAManager_ptr poa_manager, const TAO_POA_Policy_Set &policies, TAO_Root_POA *parent, ACE_Lock &lock, TAO_SYNCH_MUTEX &thread_lock, TAO_ORB_Core &orb_core, TAO_Object_Adapter *object_adapter)
 
virtual ~TAO_RT_POA (void)
 
void * thread_pool (void) const
 
- Public Member Functions inherited from RTPortableServer::POA
Object create_reference_with_priority (in CORBA::RepositoryId intf, in RTCORBA::Priority priority) raises (WrongPolicy)
 
Object create_reference_with_id_and_priority (in PortableServer::ObjectId oid, in CORBA::RepositoryId intf, in RTCORBA::Priority priority) raises (WrongPolicy)
 
PortableServer::ObjectId activate_object_with_priority (in PortableServer::Servant p_servant, in RTCORBA::Priority priority) raises (ServantAlreadyActive, WrongPolicy)
 
void activate_object_with_id_and_priority (in PortableServer::ObjectId oid, in PortableServer::Servant p_servant, in RTCORBA::Priority priority) raises ( ServantAlreadyActive, ObjectAlreadyActive, WrongPolicy )
 

Protected Member Functions

virtual TAO_Root_POA * new_POA (const String &name, PortableServer::POAManager_ptr poa_manager, const TAO_POA_Policy_Set &policies, TAO_Root_POA *parent, ACE_Lock &lock, TAO_SYNCH_MUTEX &thread_lock, TAO_ORB_Core &orb_core, TAO_Object_Adapter *object_adapter)
 Template method for creating new POA's of this type. More...
 
virtual TAO_Stubkey_to_stub_i (const TAO::ObjectKey &key, const char *type_id, CORBA::Short priority)
 
void validate_priority (RTCORBA::Priority priority)
 
void validate_policies (void)
 
void parse_rt_policies (TAO_POA_Policy_Set &policies)
 
size_t endpoint_count (void)
 
TAO_Stubcreate_stub_object (const TAO::ObjectKey &object_key, const char *type_id, CORBA::PolicyList *policy_list, TAO_Acceptor_Filter *filter, TAO_PriorityBandedConnectionPolicy *priority_bands)
 
int lane_required (TAO_Thread_Lane *lane, TAO_PriorityBandedConnectionPolicy *priority_bands)
 

Protected Attributes

TAO_Thread_Pool * thread_pool_
 

Constructor & Destructor Documentation

TAO_RT_POA::TAO_RT_POA ( const String &  name,
PortableServer::POAManager_ptr  poa_manager,
const TAO_POA_Policy_Set &  policies,
TAO_Root_POA *  parent,
ACE_Lock lock,
TAO_SYNCH_MUTEX thread_lock,
TAO_ORB_Core orb_core,
TAO_Object_Adapter *  object_adapter 
)
TAO_RT_POA::~TAO_RT_POA ( void  )
virtual

Member Function Documentation

PortableServer::ObjectId * TAO_RT_POA::activate_object ( PortableServer::Servant  p_servant)
void TAO_RT_POA::activate_object_with_id ( const PortableServer::ObjectId id,
PortableServer::Servant  p_servant 
)
ACE_INLINE void TAO_RT_POA::activate_object_with_id_and_priority ( const PortableServer::ObjectId oid,
PortableServer::Servant  p_servant,
RTCORBA::Priority  priority 
)
ACE_INLINE PortableServer::ObjectId * TAO_RT_POA::activate_object_with_priority ( PortableServer::Servant  p_servant,
RTCORBA::Priority  priority 
)
CORBA::PolicyList * TAO_RT_POA::client_exposed_policies ( CORBA::Short  object_priority)
virtual
PortableServer::IdAssignmentPolicy_ptr TAO_RT_POA::create_id_assignment_policy ( PortableServer::IdAssignmentPolicyValue  value)
PortableServer::IdUniquenessPolicy_ptr TAO_RT_POA::create_id_uniqueness_policy ( PortableServer::IdUniquenessPolicyValue  value)
PortableServer::ImplicitActivationPolicy_ptr TAO_RT_POA::create_implicit_activation_policy ( PortableServer::ImplicitActivationPolicyValue  value)
PortableServer::LifespanPolicy_ptr TAO_RT_POA::create_lifespan_policy ( PortableServer::LifespanPolicyValue  value)
PortableServer::POA_ptr TAO_RT_POA::create_POA ( const char *  adapter_name,
PortableServer::POAManager_ptr  poa_manager,
const CORBA::PolicyList policies 
)
CORBA::Object_ptr TAO_RT_POA::create_reference ( const char *  intf)
CORBA::Object_ptr TAO_RT_POA::create_reference_with_id ( const PortableServer::ObjectId oid,
const char *  intf 
)
ACE_INLINE CORBA::Object_ptr TAO_RT_POA::create_reference_with_id_and_priority ( const PortableServer::ObjectId oid,
const char *  intf,
RTCORBA::Priority  priority 
)
ACE_INLINE CORBA::Object_ptr TAO_RT_POA::create_reference_with_priority ( const char *  intf,
RTCORBA::Priority  priority 
)
PortableServer::RequestProcessingPolicy_ptr TAO_RT_POA::create_request_processing_policy ( PortableServer::RequestProcessingPolicyValue  value)
PortableServer::ServantRetentionPolicy_ptr TAO_RT_POA::create_servant_retention_policy ( PortableServer::ServantRetentionPolicyValue  value)
TAO_Stub * TAO_RT_POA::create_stub_object ( const TAO::ObjectKey object_key,
const char *  type_id,
CORBA::PolicyList policy_list,
TAO_Acceptor_Filter filter,
TAO_PriorityBandedConnectionPolicy *  priority_bands 
)
protected
PortableServer::ThreadPolicy_ptr TAO_RT_POA::create_thread_policy ( PortableServer::ThreadPolicyValue  value)
void TAO_RT_POA::deactivate_object ( const PortableServer::ObjectId oid)
void TAO_RT_POA::destroy ( CORBA::Boolean  etherealize_objects,
CORBA::Boolean  wait_for_completion 
)
size_t TAO_RT_POA::endpoint_count ( void  )
protected
PortableServer::POA_ptr TAO_RT_POA::find_POA ( const char *  adapter_name,
CORBA::Boolean  activate_it 
)
PortableServer::Servant TAO_RT_POA::get_servant ( void  )
PortableServer::ServantManager_ptr TAO_RT_POA::get_servant_manager ( void  )
CORBA::OctetSeq * TAO_RT_POA::id ( void  )
CORBA::Object_ptr TAO_RT_POA::id_to_reference ( const PortableServer::ObjectId oid)
PortableServer::Servant TAO_RT_POA::id_to_servant ( const PortableServer::ObjectId oid)
TAO_Stub * TAO_RT_POA::key_to_stub_i ( const TAO::ObjectKey key,
const char *  type_id,
CORBA::Short  priority 
)
protectedvirtual
int TAO_RT_POA::lane_required ( TAO_Thread_Lane *  lane,
TAO_PriorityBandedConnectionPolicy *  priority_bands 
)
protected
TAO_Root_POA * TAO_RT_POA::new_POA ( const String &  name,
PortableServer::POAManager_ptr  poa_manager,
const TAO_POA_Policy_Set &  policies,
TAO_Root_POA *  parent,
ACE_Lock lock,
TAO_SYNCH_MUTEX thread_lock,
TAO_ORB_Core orb_core,
TAO_Object_Adapter *  object_adapter 
)
protectedvirtual

Template method for creating new POA's of this type.

void TAO_RT_POA::parse_rt_policies ( TAO_POA_Policy_Set &  policies)
protected

Parse the policy list for RT policies and update our cached policy instance.

PortableServer::ObjectId * TAO_RT_POA::reference_to_id ( CORBA::Object_ptr  reference)
PortableServer::Servant TAO_RT_POA::reference_to_servant ( CORBA::Object_ptr  reference)
PortableServer::ObjectId * TAO_RT_POA::servant_to_id ( PortableServer::Servant  p_servant)
CORBA::Object_ptr TAO_RT_POA::servant_to_reference ( PortableServer::Servant  p_servant)
void TAO_RT_POA::set_servant ( PortableServer::Servant  servant)
void TAO_RT_POA::set_servant_manager ( PortableServer::ServantManager_ptr  imgr)
PortableServer::AdapterActivator_ptr TAO_RT_POA::the_activator ( void  )
void TAO_RT_POA::the_activator ( PortableServer::AdapterActivator_ptr  adapter_activator)
PortableServer::POAList * TAO_RT_POA::the_children ( void  )
char * TAO_RT_POA::the_name ( void  )
PortableServer::POA_ptr TAO_RT_POA::the_parent ( void  )
PortableServer::POAManager_ptr TAO_RT_POA::the_POAManager ( void  )
ACE_INLINE void * TAO_RT_POA::thread_pool ( void  ) const
void TAO_RT_POA::validate_policies ( void  )
protected
void TAO_RT_POA::validate_priority ( RTCORBA::Priority  priority)
protected

Member Data Documentation

TAO_Thread_Pool* TAO_RT_POA::thread_pool_
protected

The documentation for this class was generated from the following files: