TAO_CosNotification  2.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
TAO_Notify_RT_POA_Helper Class Reference

Helper for creating RT POA objects. More...

#include <RT_POA_Helper.h>

Inheritance diagram for TAO_Notify_RT_POA_Helper:
Inheritance graph
[legend]
Collaboration diagram for TAO_Notify_RT_POA_Helper:
Collaboration graph
[legend]

Public Member Functions

 ~TAO_Notify_RT_POA_Helper (void)
 Destructor. More...
 
void init (PortableServer::POA_ptr parent_poa, const char *poa_name, const NotifyExt::ThreadPoolParams &tp_params)
 
void init (PortableServer::POA_ptr parent_poa, const NotifyExt::ThreadPoolParams &tp_params)
 
void init (PortableServer::POA_ptr parent_poa, const char *poa_name, const NotifyExt::ThreadPoolLanesParams &tpl_params)
 
void init (PortableServer::POA_ptr parent_poa, const NotifyExt::ThreadPoolLanesParams &tpl_params)
 
void init (PortableServer::POA_ptr parent_poa)
 
- Public Member Functions inherited from TAO_Notify_POA_Helper
 TAO_Notify_POA_Helper (void)
 Default Constructor. More...
 
void init (PortableServer::POA_ptr parent_poa, const char *poa_name)
 Create a new PortableServer::POA. More...
 
void init_persistent (PortableServer::POA_ptr parent_poa, const char *poa_name)
 Create a new persistent PortableServer::POA. More...
 
void init (PortableServer::POA_ptr parent_poa)
 Create a new PortableServer::POA. The name is chosen at random. More...
 
virtual ~TAO_Notify_POA_Helper ()
 Destructor. More...
 
PortableServer::POA_ptr poa (void)
 Get underlying POA. More...
 
void destroy (void)
 Destroy underlying POA. More...
 
CORBA::Object_ptr activate (PortableServer::Servant servant, CORBA::Long &id)
 Activate Object, the POA will assign an ID and return its value. More...
 
CORBA::Object_ptr activate_with_id (PortableServer::Servant servant, CORBA::Long id)
 Activate Object, using existing ID. More...
 
void deactivate (CORBA::Long id) const
 Deactivate Object with ID. More...
 
CORBA::Object_ptr id_to_reference (CORBA::Long id) const
 Convert ID to reference. More...
 
PortableServer::ServantBasereference_to_servant (CORBA::Object_ptr ptr) const
 Convert reference to pointer to servant. More...
 
CORBA::Object_ptr servant_to_reference (PortableServer::ServantBase *servant) const
 
ACE_CString get_unique_id (void)
 Generate a unique id for each POA created. More...
 

Additional Inherited Members

- Protected Member Functions inherited from TAO_Notify_POA_Helper
virtual void set_policy (PortableServer::POA_ptr parent_poa, CORBA::PolicyList &policy_list)
 Set default POA policies. More...
 
virtual void set_persistent_policy (PortableServer::POA_ptr parent_poa, CORBA::PolicyList &policy_list)
 Set persistent POA policies. More...
 
void create_i (PortableServer::POA_ptr parent_poa, const char *poa_name, CORBA::PolicyList &policy_list)
 Apply the polices and create child POA. More...
 
PortableServer::ObjectIdlong_to_ObjectId (CORBA::Long id) const
 Convert id to ObjectID. More...
 
- Protected Attributes inherited from TAO_Notify_POA_Helper
PortableServer::POA_var poa_
 POA. More...
 
TAO_Notify_ID_Factory id_factory_
 ID Factory for objects. More...
 

Detailed Description

Helper for creating RT POA objects.

Constructor & Destructor Documentation

TAO_Notify_RT_POA_Helper::~TAO_Notify_RT_POA_Helper ( void  )

Destructor.

Member Function Documentation

void TAO_Notify_RT_POA_Helper::init ( PortableServer::POA_ptr  parent_poa,
const char *  poa_name,
const NotifyExt::ThreadPoolParams &  tp_params 
)

Create a new PortableServer::POA. The UNIQUE_ID, USER_ID , CLIENT_PROPAGATED and thread pool policy is applied to the new POA.

void TAO_Notify_RT_POA_Helper::init ( PortableServer::POA_ptr  parent_poa,
const NotifyExt::ThreadPoolParams &  tp_params 
)

Create a new PortableServer::POA. The name is chosen at random. The UNIQUE_ID, USER_ID , CLIENT_PROPAGATED and thread pool policy is applied to the new POA.

void TAO_Notify_RT_POA_Helper::init ( PortableServer::POA_ptr  parent_poa,
const char *  poa_name,
const NotifyExt::ThreadPoolLanesParams &  tpl_params 
)

Create a new PortableServer::POA. The UNIQUE_ID, USER_ID , CLIENT_PROPAGATED and thread lane policy is applied to the new POA.

void TAO_Notify_RT_POA_Helper::init ( PortableServer::POA_ptr  parent_poa,
const NotifyExt::ThreadPoolLanesParams &  tpl_params 
)

Create a new PortableServer::POA. The name is chosen at random. The UNIQUE_ID, USER_ID , CLIENT_PROPAGATED and thread lane policy is applied to the new POA.

void TAO_Notify_RT_POA_Helper::init ( PortableServer::POA_ptr  parent_poa)

Create a new PortableServer::POA. The name is chosen at random. The CLIENT_PROPAGATED policy is applied to the new POA.


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