TAO_CosNotification
2.2.5
|
Base Object for RT_Notify's CORBA Objects. More...
#include <Object.h>
Public Types | |
typedef CORBA::Long | ID |
Id for Objects. More... | |
Public Types inherited from TAO_Notify_Refcountable | |
typedef TAO_Notify_Refcountable_Guard_T < TAO_Notify_Refcountable > | Ptr |
Public Member Functions | |
virtual | ~TAO_Notify_Object (void) |
Destructor. More... | |
ID | id (void) const |
This Object's ID. More... | |
virtual CORBA::Object_ptr | activate (PortableServer::Servant servant) |
Activate. More... | |
virtual CORBA::Object_ptr | activate (PortableServer::Servant servant, CORBA::Long id) |
Activate with existing id. More... | |
void | deactivate (void) |
Deactivate. More... | |
bool | has_shutdown (void) |
Have we been shutdown. returns true if shutdown. More... | |
void | execute_task (TAO_Notify_Method_Request &method_request) |
CORBA::Object_ptr | ref (void) |
Get CORBA Ref. More... | |
virtual void | set_qos (const CosNotification::QoSProperties &qos) |
Set the QoS Properties. More... | |
CosNotification::QoSProperties * | get_qos (void) |
Get the QoS Properties. More... | |
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. More... | |
TAO_Notify_Event_Manager & | event_manager (void) |
Accessor for the Event Manager. More... | |
virtual int | shutdown (void) |
Shutdown. Returns 1 if the shutdown was already run once before. More... | |
virtual void | load_attrs (const TAO_Notify::NVPList &attrs) |
TAO_Notify_Worker_Task * | get_worker_task (void) |
Allow access to the underlying worker task. More... | |
Public Member Functions inherited from TAO_Notify_Refcountable | |
TAO_Notify_Refcountable (void) | |
Constructor. More... | |
virtual | ~TAO_Notify_Refcountable () |
CORBA::ULong | _incr_refcnt (void) |
CORBA::ULong | _decr_refcnt (void) |
Protected Member Functions | |
TAO_Notify_Object (void) | |
Constructor. More... | |
void | initialize (TAO_Notify_Object *parent) |
Init this object with data from <rhs>. More... | |
void | inherit_poas (TAO_Notify_Object &parent) |
Uses the poas from the supplied object. More... | |
void | adopt_poa (TAO_Notify_POA_Helper *single) |
Adopts the supplied poa as all are poas. More... | |
void | set_primary_as_proxy_poa () |
Changes the primary poa to the current proxy poa. More... | |
TAO_Notify_POA_Helper * | proxy_poa (void) |
Accessor for the proxy_poa_. More... | |
TAO_Notify_POA_Helper * | object_poa (void) |
Accessor for the object_poa_. More... | |
TAO_Notify_POA_Helper * | poa (void) |
Get the POA assigned to us. More... | |
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. More... | |
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. More... | |
TAO_SYNCH_MUTEX | lock_ |
The mutex to serialize access to state variables. More... | |
Private Member Functions | |
void | set_worker_task (TAO_Notify_Worker_Task *worker_task) |
Set Worker Task. This object assume ownership of the set object. More... | |
void | set_proxy_poa (TAO_Notify_POA_Helper *proxy_poa) |
Setting the proxy_poa_ gives ownership to this class. More... | |
void | set_object_poa (TAO_Notify_POA_Helper *object_poa) |
Setting the object_poa_ gives ownership to this class. More... | |
void | set_poa (TAO_Notify_POA_Helper *object_poa) |
Setting the object_poa_ gives ownership to this class. More... | |
void | shutdown_worker_task (void) |
Shutdown the current worker task and delete it if we own it. More... | |
void | destroy_proxy_poa (void) |
Shutdown the current proxy poa. More... | |
void | destroy_object_poa (void) |
Shutdown the current object poa. More... | |
void | destroy_poa (void) |
Shutdown the current poa. More... | |
Private Attributes | |
TAO_Notify_POA_Helper * | poa_ |
The POA in which the object is activated. More... | |
TAO_Notify_POA_Helper * | proxy_poa_ |
The POA in which the proxys are activated. More... | |
bool | own_proxy_poa_ |
TAO_Notify_POA_Helper * | object_poa_ |
The POA in which the object's children are activated. More... | |
bool | own_object_poa_ |
ID | id_ |
Id assigned to this object. More... | |
TAO_Notify_Refcountable_Guard_T < TAO_Notify_Event_Manager > | event_manager_ |
TAO_Notify_AdminProperties::Ptr | admin_properties_ |
Admin Properties. More... | |
TAO_Notify_Worker_Task::Ptr | worker_task_ |
Worker Task. More... | |
bool | own_worker_task_ |
bool | shutdown_ |
Are we shutdown (i,e. scheduled for destroy). More... | |
Friends | |
class | TAO_Notify_Builder |
class | TAO_Notify_RT_Builder |
Base Object for RT_Notify's CORBA Objects.
typedef CORBA::Long TAO_Notify_Object::ID |
Id for Objects.
|
virtual |
Destructor.
|
protected |
Constructor.
|
virtual |
Activate.
Reimplemented in TAO_Notify_Proxy, and TAO_Notify_RT_StructuredProxyPushSupplier.
|
virtual |
Activate with existing id.
Reimplemented in TAO_Notify_Proxy, and TAO_Notify_RT_StructuredProxyPushSupplier.
|
protected |
Accessor for the Admin Properties.
|
protected |
Adopts the supplied poa as all are poas.
void TAO_Notify_Object::deactivate | ( | void | ) |
Deactivate.
|
private |
Shutdown the current object poa.
|
private |
Shutdown the current poa.
|
private |
Shutdown the current proxy poa.
TAO_Notify_Event_Manager & TAO_Notify_Object::event_manager | ( | void | ) |
Accessor for the Event Manager.
void TAO_Notify_Object::execute_task | ( | TAO_Notify_Method_Request & | method_request | ) |
bool TAO_Notify_Object::find_qos_property_value | ( | const char * | name, |
CosNotification::PropertyValue & | value | ||
) | const |
CosNotification::QoSProperties * TAO_Notify_Object::get_qos | ( | void | ) |
Get the QoS Properties.
TAO_Notify_Worker_Task * TAO_Notify_Object::get_worker_task | ( | void | ) |
Allow access to the underlying worker task.
bool TAO_Notify_Object::has_shutdown | ( | void | ) |
Have we been shutdown. returns true if shutdown.
CORBA::Long TAO_Notify_Object::id | ( | void | ) | const |
This Object's ID.
|
protected |
Uses the poas from the supplied object.
|
protected |
Init this object with data from <rhs>.
|
virtual |
Load our attributes. Each derived type should call the superclass load first before loading its own attributes.
Reimplemented in TAO_Notify_EventChannel, TAO_Notify_ETCL_Filter, TAO_Notify_Admin, TAO_Notify_SequenceProxyPushSupplier, TAO_Notify_StructuredProxyPushSupplier, TAO_Notify_ProxyPushSupplier, TAO_Notify_ProxyPushConsumer, TAO_Notify_SequenceProxyPushConsumer, TAO_Notify_StructuredProxyPushConsumer, and TAO_Notify_Constraint_Expr.
|
protected |
Accessor for the object_poa_.
|
protected |
Get the POA assigned to us.
|
protected |
Accessor for the proxy_poa_.
|
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.
CORBA::Object_ptr TAO_Notify_Object::ref | ( | void | ) |
Get CORBA Ref.
|
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_EventChannel, TAO_Notify_Proxy, and TAO_Notify_Admin.
|
protected |
|
protected |
|
private |
Setting the object_poa_ gives ownership to this class.
|
private |
Setting the object_poa_ gives ownership to this class.
|
protected |
Changes the primary poa to the current proxy poa.
|
private |
Setting the proxy_poa_ gives ownership to this class.
|
virtual |
Set the QoS Properties.
Reimplemented in TAO_Notify_EventChannel, TAO_Notify_ConsumerAdmin, TAO_Notify_SupplierAdmin, TAO_Notify_Proxy_T< SERVANT_TYPE >, TAO_Notify_Proxy_T< POA_Event_Forwarder::ProxyPushSupplier >, TAO_Notify_Proxy_T< POA_CosNotifyChannelAdmin::ProxyPushConsumer >, TAO_Notify_Proxy_T< POA_CosNotifyChannelAdmin::SequenceProxyPushConsumer >, TAO_Notify_Proxy_T< POA_CosNotifyChannelAdmin::SequenceProxyPushSupplier >, TAO_Notify_Proxy_T< POA_Event_Forwarder::StructuredProxyPushSupplier >, TAO_Notify_Proxy_T< POA_CosEventChannelAdmin::ProxyPushConsumer >, TAO_Notify_Proxy_T< POA_CosEventChannelAdmin::ProxyPushSupplier >, and TAO_Notify_Proxy_T< POA_CosNotifyChannelAdmin::StructuredProxyPushConsumer >.
|
private |
Set Worker Task. This object assume ownership of the set object.
|
virtual |
Shutdown. Returns 1 if the shutdown was already run once before.
Reimplemented in TAO_Notify_EventChannelFactory, TAO_Notify_EventChannel, TAO_Notify_Admin, TAO_Notify_ProxySupplier, and TAO_Notify_ProxyConsumer.
|
private |
Shutdown the current worker task and delete it if we own it.
|
virtual |
Obtain the Timer manager associated with this object.
|
friend |
|
friend |
|
private |
Admin Properties.
|
private |
The event manager. TAO_Notify_Event_Manager inl includes Object.h
|
private |
Id assigned to this object.
|
protected |
The mutex to serialize access to state variables.
|
private |
The POA in which the object's children are activated.
|
private |
|
private |
|
private |
|
private |
The POA in which the object is activated.
|
private |
The POA in which the proxys are activated.
|
protected |
= Protected data members.
QoS Properties.
|
private |
Are we shutdown (i,e. scheduled for destroy).
|
private |
Worker Task.