Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TAO_Notify_Object Class Reference

Base Object for RT_Notify's CORBA Objects. More...

#include <Object.h>

Inheritance diagram for TAO_Notify_Object:

Inheritance graph
[legend]
Collaboration diagram for TAO_Notify_Object:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CORBA::Long ID
 Id for Objects.


Public Methods

 TAO_Notify_Object (void)
 Constuctor.

virtual ~TAO_Notify_Object (void)
 Destructor.

ID id (void)
 This Object's ID.

virtual CORBA::Object_ptr activate (PortableServer::Servant servant ACE_ENV_ARG_DECL)
 Activate.

void deactivate (ACE_ENV_SINGLE_ARG_DECL)
 Deactivate.

int has_shutdown (void)
 Have we been shutdown. returns 1 if shutdown.

CORBA::Object_ptr ref (ACE_ENV_SINGLE_ARG_DECL)
 Get CORBA Ref.

TAO_Notify_Worker_Taskworker_task (void)
 Get Worker Task.

TAO_Notify_POA_Helperpoa (void)
 Get the POA assigned to us.

void proxy_poa_own (TAO_Notify_POA_Helper *proxy_poa)
 Setting the proxy_poa_ gives ownership to this class.

TAO_Notify_POA_Helperproxy_poa (void)
 Accessor for the proxy_poa_.

void object_poa_own (TAO_Notify_POA_Helper *object_poa)
 Setting the object_poa_ gives ownership to this class.

TAO_Notify_POA_Helperobject_poa (void)
 Accessor for the object_poa_.

void worker_task_own (TAO_Notify_Worker_Task *worker_task)
 Set Worker Task. This object assume ownership of the set object.

void worker_task (TAO_Notify_Worker_Task *worker_task)
 Set Worker Task. Does not assume ownership.

virtual void set_qos (const CosNotification::QoSProperties &qos ACE_ENV_ARG_DECL)
 Set the QoS Properties.

CosNotification::QoSPropertiesget_qos (ACE_ENV_SINGLE_ARG_DECL)
 Get the QoS Properties.

virtual TAO_Notify_Timertimer (void)
 Obtain the Timer manager associated with this object.

virtual int shutdown (ACE_ENV_SINGLE_ARG_DECL)
 shutdown. Returns 1 ifif the shutdown was already run once before.

TAO_Notify_Event_Managerevent_manager (void)
 Accessor for the Event Manager.


Protected Methods

void init (TAO_Notify_Object *parent)
 Init this object with data from <rhs>.

void shutdown_worker_task (void)
 Shutdown the current worker task and delete it if we own it.

void shutdown_proxy_poa (void)
 Shutdown the current proxy poa.

void shutdown_object_poa (void)
 Shutdown the current object poa.

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.


Protected Attributes

TAO_Notify_Event_Managerevent_manager_
 = Protected data members. The event manager.

TAO_Notify_AdminProperties_var admin_properties_
 Admin Properties.

TAO_Notify_QoSProperties qos_properties_
 QoS Properties.

ID id_
 Id assigned to this object.

TAO_Notify_POA_Helperpoa_
 The POA in which the object is activated.

TAO_Notify_POA_Helperproxy_poa_
 The POA in which the proxys are activated.

int own_proxy_poa_
 Flag that indicates if we own <proxy_poa_>.

TAO_Notify_POA_Helperobject_poa_
 The POA in which the object's children are activated.

int own_object_poa_
 Flag that indicates if we own <object_poa_>.

TAO_Notify_Worker_Taskworker_task_
 Worker Task.

int own_worker_task_
 Ownership flag.

int shutdown_
 Are we shutdown (i,e. scheduled for destroy).


Friends

class TAO_Notify_Builder

Detailed Description

Base Object for RT_Notify's CORBA Objects.


Member Typedef Documentation

typedef CORBA::Long TAO_Notify_Object::ID
 

Id for Objects.


Constructor & Destructor Documentation

TAO_Notify_Object::TAO_Notify_Object void   
 

Constuctor.

TAO_Notify_Object::~TAO_Notify_Object void    [virtual]
 

Destructor.


Member Function Documentation

CORBA::Object_ptr TAO_Notify_Object::activate PortableServer::Servant servant    ACE_ENV_ARG_DECL [virtual]
 

Activate.

Reimplemented in TAO_Notify_Proxy.

void TAO_Notify_Object::deactivate ACE_ENV_SINGLE_ARG_DECL   
 

Deactivate.

Reimplemented in TAO_Notify_Proxy.

TAO_Notify_Event_Manager* TAO_Notify_Object::event_manager void   
 

Accessor for the Event Manager.

CosNotification::QoSProperties * TAO_Notify_Object::get_qos ACE_ENV_SINGLE_ARG_DECL   
 

Get the QoS Properties.

Reimplemented in TAO_Notify_ConsumerAdmin, TAO_Notify_EventChannel, TAO_Notify_Proxy_T< SERVANT_TYPE >, and TAO_Notify_SupplierAdmin.

int TAO_Notify_Object::has_shutdown void   
 

Have we been shutdown. returns 1 if shutdown.

ID TAO_Notify_Object::id void   
 

This Object's ID.

void TAO_Notify_Object::init TAO_Notify_Object *    parent [protected]
 

Init this object with data from <rhs>.

TAO_Notify_POA_Helper* TAO_Notify_Object::object_poa void   
 

Accessor for the object_poa_.

void TAO_Notify_Object::object_poa_own TAO_Notify_POA_Helper   object_poa
 

Setting the object_poa_ gives ownership to this class.

TAO_Notify_POA_Helper* TAO_Notify_Object::poa void   
 

Get the POA assigned to us.

TAO_Notify_POA_Helper* TAO_Notify_Object::proxy_poa void   
 

Accessor for the proxy_poa_.

void TAO_Notify_Object::proxy_poa_own TAO_Notify_POA_Helper   proxy_poa
 

Setting the proxy_poa_ gives ownership to this class.

void TAO_Notify_Object::qos_changed const TAO_Notify_QoSProperties   qos_properties [protected, virtual]
 

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.

CORBA::Object_ptr TAO_Notify_Object::ref ACE_ENV_SINGLE_ARG_DECL   
 

Get CORBA Ref.

void TAO_Notify_Object::set_qos const CosNotification::QoSProperties &qos    ACE_ENV_ARG_DECL [virtual]
 

Set the QoS Properties.

Reimplemented in TAO_Notify_ConsumerAdmin, TAO_Notify_EventChannel, TAO_Notify_Proxy_T< SERVANT_TYPE >, and TAO_Notify_SupplierAdmin.

int TAO_Notify_Object::shutdown ACE_ENV_SINGLE_ARG_DECL    [virtual]
 

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.

void TAO_Notify_Object::shutdown_object_poa void    [protected]
 

Shutdown the current object poa.

void TAO_Notify_Object::shutdown_proxy_poa void    [protected]
 

Shutdown the current proxy poa.

void TAO_Notify_Object::shutdown_worker_task void    [protected]
 

Shutdown the current worker task and delete it if we own it.

TAO_Notify_Timer * TAO_Notify_Object::timer void    [virtual]
 

Obtain the Timer manager associated with this object.

void TAO_Notify_Object::worker_task TAO_Notify_Worker_Task   worker_task
 

Set Worker Task. Does not assume ownership.

TAO_Notify_Worker_Task* TAO_Notify_Object::worker_task void   
 

Get Worker Task.

void TAO_Notify_Object::worker_task_own TAO_Notify_Worker_Task   worker_task
 

Set Worker Task. This object assume ownership of the set object.


Friends And Related Function Documentation

friend class TAO_Notify_Builder [friend]
 

Reimplemented in TAO_Notify_Admin, TAO_Notify_EventChannel, and TAO_Notify_EventChannelFactory.


Member Data Documentation

TAO_Notify_AdminProperties_var TAO_Notify_Object::admin_properties_ [protected]
 

Admin Properties.

TAO_Notify_Event_Manager* TAO_Notify_Object::event_manager_ [protected]
 

= Protected data members. The event manager.

ID TAO_Notify_Object::id_ [protected]
 

Id assigned to this object.

TAO_Notify_POA_Helper* TAO_Notify_Object::object_poa_ [protected]
 

The POA in which the object's children are activated.

int TAO_Notify_Object::own_object_poa_ [protected]
 

Flag that indicates if we own <object_poa_>.

int TAO_Notify_Object::own_proxy_poa_ [protected]
 

Flag that indicates if we own <proxy_poa_>.

int TAO_Notify_Object::own_worker_task_ [protected]
 

Ownership flag.

TAO_Notify_POA_Helper* TAO_Notify_Object::poa_ [protected]
 

The POA in which the object is activated.

TAO_Notify_POA_Helper* TAO_Notify_Object::proxy_poa_ [protected]
 

The POA in which the proxys are activated.

TAO_Notify_QoSProperties TAO_Notify_Object::qos_properties_ [protected]
 

QoS Properties.

int TAO_Notify_Object::shutdown_ [protected]
 

Are we shutdown (i,e. scheduled for destroy).

TAO_Notify_Worker_Task* TAO_Notify_Object::worker_task_ [protected]
 

Worker Task.


The documentation for this class was generated from the following files:
Generated on Thu Jan 15 00:38:13 2004 for TAO_CosNotification by doxygen1.2.18