#include <CEC_Reactive_ConsumerControl.h>
Inheritance diagram for TAO_CEC_ConsumerControl_Adapter:
Public Member Functions | |
TAO_CEC_ConsumerControl_Adapter (TAO_CEC_Reactive_ConsumerControl *adaptee) | |
Constructor. | |
virtual int | handle_timeout (const ACE_Time_Value &tv, const void *arg=0) |
Private Attributes | |
TAO_CEC_Reactive_ConsumerControl * | adaptee_ |
The adapted object. |
The Reactive ConsumerControl strategy uses the reactor to periodically wakeup and verify the state of the consumers registered with the Event Channel.
Definition at line 55 of file CEC_Reactive_ConsumerControl.h.
TAO_CEC_ConsumerControl_Adapter::TAO_CEC_ConsumerControl_Adapter | ( | TAO_CEC_Reactive_ConsumerControl * | adaptee | ) |
Constructor.
Definition at line 366 of file CEC_Reactive_ConsumerControl.cpp.
00368 : adaptee_ (adaptee) 00369 { 00370 }
int TAO_CEC_ConsumerControl_Adapter::handle_timeout | ( | const ACE_Time_Value & | tv, | |
const void * | arg = 0 | |||
) | [virtual] |
Reimplemented from ACE_Event_Handler.
Definition at line 373 of file CEC_Reactive_ConsumerControl.cpp.
References adaptee_, and TAO_CEC_Reactive_ConsumerControl::handle_timeout().
00376 { 00377 this->adaptee_->handle_timeout (tv, arg); 00378 return 0; 00379 }
The adapted object.
Definition at line 67 of file CEC_Reactive_ConsumerControl.h.
Referenced by handle_timeout().