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)
virtual void update_supplier (const RtecEventChannelAdmin::SupplierQOS &pub)
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 110 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 287 of file ECG_Mcast_EH.cpp.

00288   :  eh_ (eh)
00289 {
00290 }


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 307 of file ECG_Mcast_EH.cpp.

References TAO_EC_Object_Deactivator::deactivate().

00308 {
00309   this->eh_ = 0;
00310   this->deactivator_.deactivate ();
00311 }

void TAO_ECG_Mcast_EH::Observer::update_consumer const RtecEventChannelAdmin::ConsumerQOS sub  )  [virtual]
 

Definition at line 293 of file ECG_Mcast_EH.cpp.

References TAO_ECG_Mcast_EH::update_consumer().

00295 {
00296   if (this->eh_)
00297     this->eh_->update_consumer (sub);
00298 }

void TAO_ECG_Mcast_EH::Observer::update_supplier const RtecEventChannelAdmin::SupplierQOS pub  )  [virtual]
 

Definition at line 301 of file ECG_Mcast_EH.cpp.

00303 {
00304 }


Member Data Documentation

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

Handler we notify of subscriptions changes.

Definition at line 137 of file ECG_Mcast_EH.h.


The documentation for this class was generated from the following files:
Generated on Sun Jan 27 15:36:37 2008 for TAO_RTEvent by doxygen 1.3.6