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

TAO_NS_Object Class Reference

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

#include <Object.h>

Inheritance diagram for TAO_NS_Object:

Inheritance graph
[legend]
Collaboration diagram for TAO_NS_Object:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_NS_Object (void)
 Constuctor. More...

virtual ~TAO_NS_Object (void)
 Destructor. More...

void init (TAO_NS_POA_Helper *poa, TAO_NS_POA_Helper *proxy_poa, TAO_NS_Worker_Task *worker_task)
 Init. More...

CORBA::Long id (void)
 This Object's ID. More...

CORBA::Object_ptr activate (ACE_ENV_SINGLE_ARG_DECL)
 Activate. More...

void deactivate (ACE_ENV_SINGLE_ARG_DECL)
 Deactivate. More...

virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL)
 shutdown. More...

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

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

TAO_NS_Worker_Taskworker_task (void)
 Get Worker Task. More...

TAO_NS_POA_Helperpoa (void)
 Get the POA assigned to us. More...

void proxy_poa (TAO_NS_POA_Helper *proxy_poa)
 Setting the proxy_poa_ gives ownership to this class. More...

TAO_NS_POA_Helperproxy_poa (void)
 Accessor for the proxy_poa_. More...

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

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

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

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


Protected Methods

virtual PortableServer::Servant servant (void)=0
 Servant which we use. More...

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

virtual void qos_changed (const TAO_NS_QoSProperties &qos_properties)
 Notification that can be overridden by subclasses to be informed that <qos_properties_> have been modified. More...


Protected Attributes

TAO_NS_Event_Managerevent_manager_
 = Protected data members. The event manager. More...

TAO_NS_AdminPropertiesadmin_properties_
 =Attributes Admin Properties. More...

TAO_NS_QoSProperties qos_properties_
 QoS Properties. More...

TAO_NS_Object_Id id_
 Id assigned to this object. More...

TAO_NS_POA_Helperpoa_
 The POA in which the object is activated. More...

TAO_NS_Worker_Taskworker_task_
 Worker Task. More...

int delete_worker_task_
 Ownership flag. More...

TAO_NS_POA_Helperproxy_poa_
 The POA in which the proxys are activated. More...

int delete_proxy_poa_
 Flag that indicates if we own <proxy_poa_>. More...

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


Detailed Description

Base Object for RT_Notify's CORBA Objects.


Constructor & Destructor Documentation

TAO_NS_Object::TAO_NS_Object void   
 

Constuctor.

TAO_NS_Object::~TAO_NS_Object void    [virtual]
 

Destructor.


Member Function Documentation

CORBA::Object_ptr TAO_NS_Object::activate ACE_ENV_SINGLE_ARG_DECL   
 

Activate.

void TAO_NS_Object::deactivate ACE_ENV_SINGLE_ARG_DECL   
 

Deactivate.

CosNotification::QoSProperties * TAO_NS_Object::get_qos ACE_ENV_SINGLE_ARG_DECL   
 

Get the QoS Properties.

Reimplemented in TAO_NS_ConsumerAdmin, TAO_NS_EventChannel, TAO_NS_Proxy_T, and TAO_NS_SupplierAdmin.

int TAO_NS_Object::has_shutdown void   
 

Have we been shutdown. returns 1 if shutdown.

CORBA::Long TAO_NS_Object::id void   
 

This Object's ID.

void TAO_NS_Object::init TAO_NS_POA_Helper   poa,
TAO_NS_POA_Helper   proxy_poa,
TAO_NS_Worker_Task   worker_task
 

Init.

TAO_NS_POA_Helper* TAO_NS_Object::poa void   
 

Get the POA assigned to us.

TAO_NS_POA_Helper * TAO_NS_Object::proxy_poa void   
 

Accessor for the proxy_poa_.

void TAO_NS_Object::proxy_poa TAO_NS_POA_Helper   proxy_poa
 

Setting the proxy_poa_ gives ownership to this class.

void TAO_NS_Object::qos_changed const TAO_NS_QoSProperties   qos_properties [protected, virtual]
 

Notification that can be overridden by subclasses to be informed that <qos_properties_> have been modified.

Reimplemented in TAO_NS_Proxy.

CORBA::Object_ptr TAO_NS_Object::ref ACE_ENV_SINGLE_ARG_DECL   
 

Get CORBA Ref.

virtual PortableServer::Servant TAO_NS_Object::servant void    [protected, pure virtual]
 

Servant which we use.

Reimplemented in TAO_NS_ConsumerAdmin, TAO_NS_EventChannel, TAO_NS_EventChannelFactory, TAO_NS_Proxy_T, and TAO_NS_SupplierAdmin.

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

Set the QoS Properties.

Reimplemented in TAO_NS_ConsumerAdmin, TAO_NS_EventChannel, TAO_NS_Proxy_T, and TAO_NS_SupplierAdmin.

void TAO_NS_Object::shutdown ACE_ENV_SINGLE_ARG_DECL    [virtual]
 

shutdown.

Reimplemented in TAO_NS_Container_T, TAO_NS_ProxyConsumer, TAO_NS_ProxySupplier, TAO_NS_Container_T< TAO_NS_Admin, TAO_NS_EventChannel, TAO_NS_EventChannelFactory >, TAO_NS_Container_T< TAO_NS_Proxy, TAO_NS_Admin, TAO_NS_EventChannel >, and TAO_NS_Container_T< TAO_NS_EventChannel, TAO_NS_EventChannelFactory, TAO_NS_Notify_Service >.

void TAO_NS_Object::shutdown_worker_task void    [protected]
 

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

void TAO_NS_Object::worker_task TAO_NS_Worker_Task   worker_task
 

Set Worker Task. Does not assume ownership.

TAO_NS_Worker_Task* TAO_NS_Object::worker_task void   
 

Get Worker Task.

void TAO_NS_Object::worker_task_own TAO_NS_Worker_Task   worker_task
 

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


Member Data Documentation

TAO_NS_AdminProperties* TAO_NS_Object::admin_properties_ [protected]
 

=Attributes Admin Properties.

int TAO_NS_Object::delete_proxy_poa_ [protected]
 

Flag that indicates if we own <proxy_poa_>.

int TAO_NS_Object::delete_worker_task_ [protected]
 

Ownership flag.

TAO_NS_Event_Manager* TAO_NS_Object::event_manager_ [protected]
 

= Protected data members. The event manager.

TAO_NS_Object_Id TAO_NS_Object::id_ [protected]
 

Id assigned to this object.

TAO_NS_POA_Helper* TAO_NS_Object::poa_ [protected]
 

The POA in which the object is activated.

TAO_NS_POA_Helper* TAO_NS_Object::proxy_poa_ [protected]
 

The POA in which the proxys are activated.

TAO_NS_QoSProperties TAO_NS_Object::qos_properties_ [protected]
 

QoS Properties.

int TAO_NS_Object::shutdown_ [protected]
 

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

TAO_NS_Worker_Task* TAO_NS_Object::worker_task_ [protected]
 

Worker Task.


The documentation for this class was generated from the following files:
Generated on Sun Dec 1 15:58:25 2002 for TAO_CosNotification by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001