TAO_CosNotification 4.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all 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]

Public Types

typedef CORBA::Long ID
 Id for Objects.
 
- Public Types inherited from TAO_Notify_Refcountable
typedef TAO_Notify_Refcountable_Guard_T< TAO_Notify_RefcountablePtr
 

Public Member Functions

virtual ~TAO_Notify_Object ()
 Destructor.
 
ID id () const
 This Object's ID.
 
virtual CORBA::Object_ptr activate (PortableServer::Servant servant)
 Activate.
 
virtual CORBA::Object_ptr activate (PortableServer::Servant servant, CORBA::Long id)
 Activate with existing id.
 
void deactivate ()
 Deactivate.
 
bool has_shutdown ()
 Have we been shutdown. returns true if shutdown.
 
void execute_task (TAO_Notify_Method_Request &method_request)
 
CORBA::Object_ptr ref ()
 Get CORBA Ref.
 
virtual void set_qos (const CosNotification::QoSProperties &qos)
 Set the QoS Properties.
 
CosNotification::QoSPropertiesget_qos ()
 Get the QoS Properties.
 
bool find_qos_property_value (const char *name, CosNotification::PropertyValue &value) const
 
virtual TAO_Notify_Timertimer ()
 Obtain the Timer manager associated with this object.
 
TAO_Notify_Event_Managerevent_manager ()
 Accessor for the Event Manager.
 
virtual int shutdown ()
 Shutdown. Returns 1 if the shutdown was already run once before.
 
virtual void load_attrs (const TAO_Notify::NVPList &attrs)
 
TAO_Notify_Worker_Taskget_worker_task ()
 Allow access to the underlying worker task.
 
- Public Member Functions inherited from TAO_Notify_Refcountable
 TAO_Notify_Refcountable ()
 Constructor.
 
virtual ~TAO_Notify_Refcountable ()
 
CORBA::ULong _incr_refcnt ()
 
CORBA::ULong _decr_refcnt ()
 

Protected Member Functions

 TAO_Notify_Object ()
 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_Helperproxy_poa ()
 Accessor for the proxy_poa_.
 
TAO_Notify_POA_Helperobject_poa ()
 Accessor for the object_poa_.
 
TAO_Notify_POA_Helperpoa ()
 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_AdminPropertiesadmin_properties ()
 Accessor for the Admin Properties.
 
virtual void qos_changed (const TAO_Notify_QoSProperties &qos_properties)
 
virtual void save_attrs (TAO_Notify::NVPList &attrs)
 

Protected Attributes

TAO_Notify_QoSProperties qos_properties_
 = Protected data members.
 
TAO_SYNCH_MUTEX lock_
 The mutex to serialize access to state variables.
 

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 ()
 Shutdown the current worker task and delete it if we own it.
 
void destroy_proxy_poa ()
 Shutdown the current proxy poa.
 
void destroy_object_poa ()
 Shutdown the current object poa.
 
void destroy_poa ()
 Shutdown the current poa.
 

Private Attributes

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.
 
bool own_proxy_poa_
 
TAO_Notify_POA_Helperobject_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_Managerevent_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
 

Detailed Description

Base Object for RT_Notify's CORBA Objects.

Member Typedef Documentation

◆ ID

Id for Objects.

Constructor & Destructor Documentation

◆ ~TAO_Notify_Object()

TAO_Notify_Object::~TAO_Notify_Object ( )
virtual

Destructor.

◆ TAO_Notify_Object()

TAO_Notify_Object::TAO_Notify_Object ( )
protected

Constructor.

Member Function Documentation

◆ activate() [1/2]

CORBA::Object_ptr TAO_Notify_Object::activate ( PortableServer::Servant servant)
virtual

◆ activate() [2/2]

CORBA::Object_ptr TAO_Notify_Object::activate ( PortableServer::Servant servant,
CORBA::Long id )
virtual

Activate with existing id.

Reimplemented in TAO_Notify_Proxy, and TAO_Notify_RT_StructuredProxyPushSupplier.

◆ admin_properties()

TAO_Notify_AdminProperties & TAO_Notify_Object::admin_properties ( )
protected

Accessor for the Admin Properties.

◆ adopt_poa()

void TAO_Notify_Object::adopt_poa ( TAO_Notify_POA_Helper * single)
protected

Adopts the supplied poa as all are poas.

◆ deactivate()

void TAO_Notify_Object::deactivate ( )

Deactivate.

◆ destroy_object_poa()

void TAO_Notify_Object::destroy_object_poa ( )
private

Shutdown the current object poa.

◆ destroy_poa()

void TAO_Notify_Object::destroy_poa ( )
private

Shutdown the current poa.

◆ destroy_proxy_poa()

void TAO_Notify_Object::destroy_proxy_poa ( )
private

Shutdown the current proxy poa.

◆ event_manager()

TAO_Notify_Event_Manager & TAO_Notify_Object::event_manager ( )

Accessor for the Event Manager.

◆ execute_task()

void TAO_Notify_Object::execute_task ( TAO_Notify_Method_Request & method_request)

◆ find_qos_property_value()

bool TAO_Notify_Object::find_qos_property_value ( const char * name,
CosNotification::PropertyValue & value ) const

◆ get_qos()

CosNotification::QoSProperties * TAO_Notify_Object::get_qos ( )

Get the QoS Properties.

◆ get_worker_task()

TAO_Notify_Worker_Task * TAO_Notify_Object::get_worker_task ( )

Allow access to the underlying worker task.

◆ has_shutdown()

bool TAO_Notify_Object::has_shutdown ( )

Have we been shutdown. returns true if shutdown.

◆ id()

CORBA::Long TAO_Notify_Object::id ( ) const

This Object's ID.

◆ inherit_poas()

void TAO_Notify_Object::inherit_poas ( TAO_Notify_Object & parent)
protected

Uses the poas from the supplied object.

◆ initialize()

void TAO_Notify_Object::initialize ( TAO_Notify_Object * parent)
protected

Init this object with data from <rhs>.

◆ load_attrs()

void TAO_Notify_Object::load_attrs ( const TAO_Notify::NVPList & attrs)
virtual

◆ object_poa()

TAO_Notify_POA_Helper * TAO_Notify_Object::object_poa ( )
protected

Accessor for the object_poa_.

◆ poa()

TAO_Notify_POA_Helper * TAO_Notify_Object::poa ( )
protected

Get the POA assigned to us.

◆ proxy_poa()

TAO_Notify_POA_Helper * TAO_Notify_Object::proxy_poa ( )
protected

Accessor for the proxy_poa_.

◆ qos_changed()

void TAO_Notify_Object::qos_changed ( const TAO_Notify_QoSProperties & qos_properties)
protectedvirtual

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.

◆ ref()

CORBA::Object_ptr TAO_Notify_Object::ref ( )

Get CORBA Ref.

◆ save_attrs()

void TAO_Notify_Object::save_attrs ( TAO_Notify::NVPList & attrs)
protectedvirtual

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.

◆ set_admin_properties()

void TAO_Notify_Object::set_admin_properties ( TAO_Notify_AdminProperties * admin_properties)
protected

◆ set_event_manager()

void TAO_Notify_Object::set_event_manager ( TAO_Notify_Event_Manager * event_manager)
protected

◆ set_object_poa()

void TAO_Notify_Object::set_object_poa ( TAO_Notify_POA_Helper * object_poa)
private

Setting the object_poa_ gives ownership to this class.

◆ set_poa()

void TAO_Notify_Object::set_poa ( TAO_Notify_POA_Helper * object_poa)
private

Setting the object_poa_ gives ownership to this class.

◆ set_primary_as_proxy_poa()

void TAO_Notify_Object::set_primary_as_proxy_poa ( )
protected

Changes the primary poa to the current proxy poa.

◆ set_proxy_poa()

void TAO_Notify_Object::set_proxy_poa ( TAO_Notify_POA_Helper * proxy_poa)
private

Setting the proxy_poa_ gives ownership to this class.

◆ set_qos()

void TAO_Notify_Object::set_qos ( const CosNotification::QoSProperties & qos)
virtual

◆ set_worker_task()

void TAO_Notify_Object::set_worker_task ( TAO_Notify_Worker_Task * worker_task)
private

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

◆ shutdown()

int TAO_Notify_Object::shutdown ( )
virtual

Shutdown. Returns 1 if 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_worker_task()

void TAO_Notify_Object::shutdown_worker_task ( )
private

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

◆ timer()

TAO_Notify_Timer * TAO_Notify_Object::timer ( )
virtual

Obtain the Timer manager associated with this object.

Friends And Related Symbol Documentation

◆ TAO_Notify_Builder

friend class TAO_Notify_Builder
friend

◆ TAO_Notify_RT_Builder

friend class TAO_Notify_RT_Builder
friend

Member Data Documentation

◆ admin_properties_

TAO_Notify_AdminProperties::Ptr TAO_Notify_Object::admin_properties_
private

Admin Properties.

◆ event_manager_

TAO_Notify_Refcountable_Guard_T< TAO_Notify_Event_Manager > TAO_Notify_Object::event_manager_
private

The event manager. TAO_Notify_Event_Manager inl includes Object.h

◆ id_

ID TAO_Notify_Object::id_
private

Id assigned to this object.

◆ lock_

TAO_SYNCH_MUTEX TAO_Notify_Object::lock_
protected

The mutex to serialize access to state variables.

◆ object_poa_

TAO_Notify_POA_Helper* TAO_Notify_Object::object_poa_
private

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

◆ own_object_poa_

bool TAO_Notify_Object::own_object_poa_
private

◆ own_proxy_poa_

bool TAO_Notify_Object::own_proxy_poa_
private

◆ own_worker_task_

bool TAO_Notify_Object::own_worker_task_
private

◆ poa_

TAO_Notify_POA_Helper* TAO_Notify_Object::poa_
private

The POA in which the object is activated.

◆ proxy_poa_

TAO_Notify_POA_Helper* TAO_Notify_Object::proxy_poa_
private

The POA in which the proxys are activated.

◆ qos_properties_

TAO_Notify_QoSProperties TAO_Notify_Object::qos_properties_
protected

= Protected data members.

QoS Properties.

◆ shutdown_

bool TAO_Notify_Object::shutdown_
private

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

◆ worker_task_

TAO_Notify_Worker_Task::Ptr TAO_Notify_Object::worker_task_
private

Worker Task.


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