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.
virtual void update_consumer (const RtecEventChannelAdmin::ConsumerQOS &sub)
 Event Channel Observer methods.
virtual void update_supplier (const RtecEventChannelAdmin::SupplierQOS &pub)
 Event Channel Observer methods.
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(), TAO_EC_Deactivated_Object::deactivator_, and eh_.

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

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

Event Channel Observer methods.

Definition at line 293 of file ECG_Mcast_EH.cpp.

References eh_, and 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]

Event Channel Observer methods.

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.

Referenced by shutdown(), and update_consumer().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:44:39 2010 for TAO_RTEvent by  doxygen 1.4.7