#include <POA_Helper.h>
Inheritance diagram for TAO_Notify_POA_Helper:
Public Member Functions | |
TAO_Notify_POA_Helper (void) | |
Default Constructor. | |
void | init (PortableServer::POA_ptr parent_poa, const char *poa_name) |
Create a new PortableServer::POA. | |
void | init (PortableServer::POA_ptr parent_poa) |
Create a new PortableServer::POA. The name is chosen at random. | |
virtual | ~TAO_Notify_POA_Helper () |
Destructor. | |
PortableServer::POA_ptr | poa (void) |
Get underlying POA. | |
void | destroy () |
Destroy underlying POA. | |
CORBA::Object_ptr | activate (PortableServer::Servant servant, CORBA::Long &id) |
Activate Object, the POA will assign an ID and return its value. | |
CORBA::Object_ptr | activate_with_id (PortableServer::Servant servant, CORBA::Long id) |
Activate Object, using existing ID. | |
void | deactivate (CORBA::Long id) const |
Deactivate Object with ID. | |
CORBA::Object_ptr | id_to_reference (CORBA::Long id) const |
Convert ID to reference. | |
PortableServer::ServantBase * | reference_to_servant (CORBA::Object_ptr ptr) const |
Convert reference to pointer to servant. | |
CORBA::Object_ptr | servant_to_reference (PortableServer::ServantBase *servant) const |
Protected Member Functions | |
virtual void | set_policy (PortableServer::POA_ptr parent_poa, CORBA::PolicyList &policy_list) |
Set default POA policies. | |
void | create_i (PortableServer::POA_ptr parent_poa, const char *poa_name, CORBA::PolicyList &policy_list) |
Apply the polices and create child POA. | |
ACE_CString | get_unique_id (void) |
Generate a unique id for each POA created. | |
PortableServer::ObjectId * | long_to_ObjectId (CORBA::Long id) const |
Convert id to ObjectID. | |
Protected Attributes | |
PortableServer::POA_var | poa_ |
POA. | |
TAO_Notify_ID_Factory | id_factory_ |
ID Factory for objects. |
|
Default Constructor.
|
|
Destructor.
|
|
Activate Object, the POA will assign an ID and return its value.
|
|
Activate Object, using existing ID.
|
|
Apply the polices and create child POA.
|
|
Deactivate Object with ID.
|
|
Destroy underlying POA.
|
|
Generate a unique id for each POA created. Factory for generating unique ids for the POAs. |
|
Convert ID to reference.
|
|
Create a new PortableServer::POA. The name is chosen at random.
Reimplemented in TAO_Notify_RT_POA_Helper. |
|
Create a new PortableServer::POA.
|
|
Convert id to ObjectID.
|
|
Get underlying POA.
|
|
Convert reference to pointer to servant.
|
|
|
|
Set default POA policies.
|
|
ID Factory for objects.
|
|
POA.
|