#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 (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) |
| 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.i. 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 126 of file CEC_Dispatching_Task.cpp. References TAO_CEC_ProxyPushSupplier::_decr_refcnt().
00127 {
00128 this->proxy_->_decr_refcnt ();
00129 }
|
|
|
Command callback.
Implements TAO_CEC_Dispatch_Command. Definition at line 132 of file CEC_Dispatching_Task.cpp. References ACE_CHECK_RETURN, ACE_ENV_ARG_PARAMETER, and TAO_CEC_ProxyPushSupplier::push_to_consumer().
00133 {
00134 this->proxy_->push_to_consumer (this->event_ ACE_ENV_ARG_PARAMETER);
00135 ACE_CHECK_RETURN (-1);
00136 return 0;
00137 }
|
|
|
The event.
Definition at line 127 of file CEC_Dispatching_Task.h. |
|
|
The proxy.
Definition at line 124 of file CEC_Dispatching_Task.h. |
1.3.6