#include <EC_TPC_ProxyConsumer.h>
Inheritance diagram for TAO_EC_TPC_ProxyPushConsumer:
Public Member Functions | |
TAO_EC_TPC_ProxyPushConsumer (TAO_EC_Event_Channel_Base *ec) | |
virtual | ~TAO_EC_TPC_ProxyPushConsumer (void) |
virtual void | disconnect_push_consumer (void) |
Disconnect this from. | |
Private Types | |
typedef TAO_EC_Default_ProxyPushConsumer | BASECLASS |
Private Member Functions | |
TAO_EC_TPC_Dispatching * | tpc_dispatching () |
Definition at line 31 of file EC_TPC_ProxyConsumer.h.
typedef TAO_EC_Default_ProxyPushConsumer TAO_EC_TPC_ProxyPushConsumer::BASECLASS [private] |
Definition at line 41 of file EC_TPC_ProxyConsumer.h.
TAO_EC_TPC_ProxyPushConsumer::TAO_EC_TPC_ProxyPushConsumer | ( | TAO_EC_Event_Channel_Base * | ec | ) |
Definition at line 14 of file EC_TPC_ProxyConsumer.cpp.
00015 : TAO_EC_Default_ProxyPushConsumer (ec) 00016 { 00017 }
TAO_EC_TPC_ProxyPushConsumer::~TAO_EC_TPC_ProxyPushConsumer | ( | void | ) | [virtual] |
Definition at line 28 of file EC_TPC_ProxyConsumer.cpp.
References ACE_DEBUG, and LM_DEBUG.
00029 { 00030 // @@@ Do I need to call the logic to remove the consumer from the 00031 // dispatch map in here? I'm not sure... But, if I do, then I need 00032 // to fact that "remove" code out of just the 00033 // disconnect_push_consumer. 00034 if (TAO_EC_TPC_debug_level > 0) 00035 ACE_DEBUG ((LM_DEBUG, "RTEC (%P|%t): inside ~TAO_EC_TPC_ProxyPushConsumer (%x)\n", this)); 00036 }
void TAO_EC_TPC_ProxyPushConsumer::disconnect_push_consumer | ( | void | ) | [virtual] |
Disconnect this from.
Reimplemented from TAO_EC_Default_ProxyPushConsumer.
Definition at line 39 of file EC_TPC_ProxyConsumer.cpp.
References TAO_EC_Default_ProxyPushConsumer::disconnect_push_consumer(), TAO_EC_TPC_Dispatching::remove_consumer(), and tpc_dispatching().
00040 { 00041 RtecEventComm::PushConsumer_var emulated_exceptions_suck = this->_this (); 00042 00043 this->tpc_dispatching ()->remove_consumer (emulated_exceptions_suck.in ()); 00044 00045 BASECLASS::disconnect_push_consumer (); 00046 }
TAO_EC_TPC_Dispatching * TAO_EC_TPC_ProxyPushConsumer::tpc_dispatching | ( | ) | [private] |
Definition at line 20 of file EC_TPC_ProxyConsumer.cpp.
References TAO_EC_Event_Channel_Base::dispatching(), and TAO_EC_ProxyPushConsumer::event_channel_.
Referenced by disconnect_push_consumer().
00021 { 00022 TAO_EC_Dispatching* dispatcher = this->event_channel_->dispatching (); 00023 TAO_EC_TPC_Dispatching* tpcdispatcher = 00024 dynamic_cast<TAO_EC_TPC_Dispatching*>(dispatcher); 00025 return tpcdispatcher; 00026 }