#include <CEC_Dispatching_Task.h>
Inheritance diagram for TAO_CEC_Push_Command:
Public Member Functions | |
TAO_CEC_Push_Command (TAO_CEC_ProxyPushSupplier *proxy, CORBA::Any &event, ACE_Data_Block *data_block, ACE_Allocator *mb_allocator) | |
Constructor. | |
virtual | ~TAO_CEC_Push_Command (void) |
Destructor. | |
virtual int | execute (void) |
Command callback. | |
Private Attributes | |
TAO_CEC_ProxyPushSupplier * | proxy_ |
The proxy. | |
CORBA::Any | event_ |
The event. |
|
Constructor.
Definition at line 42 of file CEC_Dispatching_Task.inl. References TAO_CEC_ProxyPushSupplier::_incr_refcnt().
00046 : TAO_CEC_Dispatch_Command (data_block, mb_allocator), 00047 proxy_ (proxy) 00048 { 00049 // 00050 // Efficient copy, steal the buffer from <event> 00051 // We cannot do this on the initialization because get_buffer() 00052 // could get called first, effectively setting maximum() and 00053 // length() to 0! 00054 // 00055 // @@ TODO 00056 this->event_ = event; 00057 00058 this->proxy_->_incr_refcnt (); 00059 } |
|
Destructor.
Definition at line 119 of file CEC_Dispatching_Task.cpp. References TAO_CEC_ProxyPushSupplier::_decr_refcnt().
00120 { 00121 this->proxy_->_decr_refcnt (); 00122 } |
|
Command callback.
Implements TAO_CEC_Dispatch_Command. Definition at line 125 of file CEC_Dispatching_Task.cpp. References TAO_CEC_ProxyPushSupplier::push_to_consumer().
00126 { 00127 this->proxy_->push_to_consumer (this->event_); 00128 return 0; 00129 } |
|
The event.
Definition at line 125 of file CEC_Dispatching_Task.h. |
|
The proxy.
Definition at line 122 of file CEC_Dispatching_Task.h. |