#include <Object.h>
Inheritance diagram for TAO_Notify_Object:
Public Types | |
typedef CORBA::Long | ID |
Id for Objects. | |
Public Member Functions | |
virtual | ~TAO_Notify_Object (void) |
Destructor. | |
ID | id (void) const |
This Object's ID. | |
virtual CORBA::Object_ptr | activate (PortableServer::Servant servant ACE_ENV_ARG_DECL) |
Activate. | |
virtual CORBA::Object_ptr | activate (PortableServer::Servant servant, CORBA::Long id ACE_ENV_ARG_DECL) |
Activate with existing id. | |
void | deactivate (ACE_ENV_SINGLE_ARG_DECL) |
Deactivate. | |
int | has_shutdown (void) |
Have we been shutdown. returns 1 if shutdown. | |
void | execute_task (TAO_Notify_Method_Request &method_request ACE_ENV_ARG_DECL) |
CORBA::Object_ptr | ref (ACE_ENV_SINGLE_ARG_DECL) |
Get CORBA Ref. | |
virtual void | set_qos (const CosNotification::QoSProperties &qos ACE_ENV_ARG_DECL) |
Set the QoS Properties. | |
CosNotification::QoSProperties * | get_qos (ACE_ENV_SINGLE_ARG_DECL) |
Get the QoS Properties. | |
bool | find_qos_property_value (const char *name, CosNotification::PropertyValue &value) const |
virtual TAO_Notify_Timer * | timer (void) |
Obtain the Timer manager associated with this object. | |
TAO_Notify_Event_Manager & | event_manager (void) |
Accessor for the Event Manager. | |
virtual int | shutdown (ACE_ENV_SINGLE_ARG_DECL) |
shutdown. Returns 1 ifif the shutdown was already run once before. | |
virtual void | load_attrs (const TAO_Notify::NVPList &attrs) |
Protected Member Functions | |
TAO_Notify_Object (void) | |
Constructor. | |
void | initialize (TAO_Notify_Object *parent) |
Init this object with data from <rhs>. | |
void | inherit_poas (TAO_Notify_Object &parent) |
Uses the poas from the supplied object. | |
void | adopt_poa (TAO_Notify_POA_Helper *single) |
Adopts the supplied poa as all are poas. | |
void | set_primary_as_proxy_poa () |
Changes the primary poa to the current proxy poa. | |
TAO_Notify_POA_Helper * | proxy_poa (void) |
Accessor for the proxy_poa_. | |
TAO_Notify_POA_Helper * | object_poa (void) |
Accessor for the object_poa_. | |
TAO_Notify_POA_Helper * | poa (void) |
Get the POA assigned to us. | |
void | set_event_manager (TAO_Notify_Event_Manager *event_manager) |
void | set_admin_properties (TAO_Notify_AdminProperties *admin_properties) |
TAO_Notify_AdminProperties & | admin_properties (void) |
Accessor for the Admin Properties. | |
virtual void | qos_changed (const TAO_Notify_QoSProperties &qos_properties) |
Notification that can be overridden by subclasses to be informed that <qos_properties_> have been modified. | |
virtual void | save_attrs (TAO_Notify::NVPList &attrs) |
Protected Attributes | |
TAO_Notify_QoSProperties | qos_properties_ |
= Protected data members. QoS Properties. | |
Private Member Functions | |
void | set_worker_task (TAO_Notify_Worker_Task *worker_task) |
Set Worker Task. This object assume ownership of the set object. | |
void | set_proxy_poa (TAO_Notify_POA_Helper *proxy_poa) |
Setting the proxy_poa_ gives ownership to this class. | |
void | set_object_poa (TAO_Notify_POA_Helper *object_poa) |
Setting the object_poa_ gives ownership to this class. | |
void | set_poa (TAO_Notify_POA_Helper *object_poa) |
Setting the object_poa_ gives ownership to this class. | |
void | shutdown_worker_task (void) |
Shutdown the current worker task and delete it if we own it. | |
void | destroy_proxy_poa (void) |
Shutdown the current proxy poa. | |
void | destroy_object_poa (void) |
Shutdown the current object poa. | |
void | destroy_poa (void) |
Shutdown the current poa. | |
Private Attributes | |
TAO_Notify_POA_Helper * | poa_ |
= Private data members. The POA in which the object is activated. | |
TAO_Notify_POA_Helper * | proxy_poa_ |
The POA in which the proxys are activated. | |
bool | own_proxy_poa_ |
TAO_Notify_POA_Helper * | object_poa_ |
The POA in which the object's children are activated. | |
bool | own_object_poa_ |
ID | id_ |
Id assigned to this object. | |
TAO_Notify_Refcountable_Guard_T< TAO_Notify_Event_Manager > | event_manager_ |
The event manager. | |
TAO_Notify_AdminProperties::Ptr | admin_properties_ |
Admin Properties. | |
TAO_Notify_Worker_Task::Ptr | worker_task_ |
Worker Task. | |
bool | own_worker_task_ |
bool | shutdown_ |
Are we shutdown (i,e. scheduled for destroy). | |
Friends | |
class | TAO_Notify_Builder |
class | TAO_Notify_RT_Builder |
|
Id for Objects.
|
|
Destructor.
|
|
Constructor.
|
|
Activate with existing id.
Reimplemented in TAO_Notify_Proxy. |
|
Activate.
Reimplemented in TAO_Notify_Proxy. |
|
Accessor for the Admin Properties.
|
|
Adopts the supplied poa as all are poas.
|
|
Deactivate.
Reimplemented in TAO_Notify_Proxy. |
|
Shutdown the current object poa.
|
|
Shutdown the current poa.
|
|
Shutdown the current proxy poa.
|
|
Accessor for the Event Manager.
|
|
|
|
|
|
Get the QoS Properties.
Reimplemented in TAO_Notify_ConsumerAdmin, TAO_Notify_EventChannel, TAO_Notify_Proxy_T< SERVANT_TYPE >, and TAO_Notify_SupplierAdmin. |
|
Have we been shutdown. returns 1 if shutdown.
|
|
This Object's ID.
|
|
Uses the poas from the supplied object.
|
|
Init this object with data from <rhs>.
|
|
Load our attributes. Each derived type should call the superclass load first before loading its own attributes. Reimplemented in TAO_Notify_Admin, and TAO_Notify_EventChannel. |
|
Accessor for the object_poa_.
|
|
Get the POA assigned to us.
|
|
Accessor for the proxy_poa_.
|
|
Notification that can be overridden by subclasses to be informed that <qos_properties_> have been modified.
Reimplemented in TAO_Notify_Proxy, and TAO_Notify_ProxySupplier. |
|
Get CORBA Ref.
|
|
Called by derived types to save their attributes. Each derived type should call its superclass version before saving its own attrs. Reimplemented in TAO_Notify_Admin, TAO_Notify_EventChannel, and TAO_Notify_Proxy. |
|
|
|
|
|
Setting the object_poa_ gives ownership to this class.
|
|
Setting the object_poa_ gives ownership to this class.
|
|
Changes the primary poa to the current proxy poa.
|
|
Setting the proxy_poa_ gives ownership to this class.
|
|
Set the QoS Properties.
Reimplemented in TAO_Notify_ConsumerAdmin, TAO_Notify_EventChannel, TAO_Notify_Proxy_T< SERVANT_TYPE >, and TAO_Notify_SupplierAdmin. |
|
Set Worker Task. This object assume ownership of the set object.
|
|
shutdown. Returns 1 ifif the shutdown was already run once before.
Reimplemented in TAO_Notify_Admin, TAO_Notify_EventChannel, TAO_Notify_EventChannelFactory, TAO_Notify_ProxyConsumer, and TAO_Notify_ProxySupplier. |
|
Shutdown the current worker task and delete it if we own it.
|
|
Obtain the Timer manager associated with this object.
|
|
Reimplemented in TAO_Notify_Admin, TAO_Notify_EventChannel, and TAO_Notify_EventChannelFactory. |
|
|
|
Admin Properties.
|
|
The event manager.
|
|
Id assigned to this object.
|
|
The POA in which the object's children are activated.
|
|
|
|
|
|
|
|
= Private data members. The POA in which the object is activated.
|
|
The POA in which the proxys are activated.
|
|
= Protected data members. QoS Properties.
|
|
Are we shutdown (i,e. scheduled for destroy).
|
|
Worker Task.
|