Inheritance diagram for TAO_ECG_Mcast_EH::Observer:
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_EH * | eh_ |
Handler we notify of subscriptions changes. | |
Public Member Functions | |
Observer (TAO_ECG_Mcast_EH *eh) | |
void | shutdown (void) |
Definition at line 110 of file ECG_Mcast_EH.h.
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 }
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] |
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().