TAO_ECG_Mcast_EH::Observer Class Reference

Observes changes in the EC consumer subscriptions and notifies TAO_ECG_Mcast_EH when there are changes. More...

Inheritance diagram for TAO_ECG_Mcast_EH::Observer:

Inheritance graph
[legend]
Collaboration diagram for TAO_ECG_Mcast_EH::Observer:

Collaboration graph
[legend]
List of all members.

[NOHEADER]

virtual void update_consumer (const RtecEventChannelAdmin::ConsumerQOS &sub) throw (CORBA::SystemException)
virtual void update_supplier (const RtecEventChannelAdmin::SupplierQOS &pub) throw (CORBA::SystemException)
TAO_ECG_Mcast_EHeh_
 Handler we notify of subscriptions changes.


Public Member Functions

 Observer (TAO_ECG_Mcast_EH *eh)
void shutdown (void)

Detailed Description

Observes changes in the EC consumer subscriptions and notifies TAO_ECG_Mcast_EH when there are changes.

Definition at line 111 of file ECG_Mcast_EH.h.


Constructor & Destructor Documentation

TAO_ECG_Mcast_EH::Observer::Observer TAO_ECG_Mcast_EH eh  ) 
 

Constructor. Changes in the EC subscriptions will be reported to the eh.

Definition at line 261 of file ECG_Mcast_EH.cpp.

00262   :  eh_ (eh)
00263 {
00264 }


Member Function Documentation

void TAO_ECG_Mcast_EH::Observer::shutdown void   ) 
 

Shut down the observer: disconnect from EC and deactivate from POA.

Definition at line 285 of file ECG_Mcast_EH.cpp.

References TAO_EC_Object_Deactivator::deactivate().

00286 {
00287   this->eh_ = 0;
00288   this->deactivator_.deactivate ();
00289 }

void TAO_ECG_Mcast_EH::Observer::update_consumer const RtecEventChannelAdmin::ConsumerQOS sub  )  throw (CORBA::SystemException) [virtual]
 

Definition at line 267 of file ECG_Mcast_EH.cpp.

References ACE_ENV_ARG_PARAMETER.

00271 {
00272   if (this->eh_)
00273     this->eh_->update_consumer (sub ACE_ENV_ARG_PARAMETER);
00274 }

void TAO_ECG_Mcast_EH::Observer::update_supplier const RtecEventChannelAdmin::SupplierQOS pub  )  throw (CORBA::SystemException) [virtual]
 

Definition at line 277 of file ECG_Mcast_EH.cpp.

00281 {
00282 }


Member Data Documentation

TAO_ECG_Mcast_EH* TAO_ECG_Mcast_EH::Observer::eh_ [private]
 

Handler we notify of subscriptions changes.

Definition at line 142 of file ECG_Mcast_EH.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:16:10 2006 for TAO_RTEvent by doxygen 1.3.6