TAO_CEC_SupplierControl_Adapter Class Reference

Forwards timeout events to the Reactive SupplierControl. More...

#include <CEC_Reactive_SupplierControl.h>

Inheritance diagram for TAO_CEC_SupplierControl_Adapter:

Inheritance graph
[legend]
Collaboration diagram for TAO_CEC_SupplierControl_Adapter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_CEC_SupplierControl_Adapter (TAO_CEC_Reactive_SupplierControl *adaptee)
 Constructor.
virtual int handle_timeout (const ACE_Time_Value &tv, const void *arg=0)

Private Attributes

TAO_CEC_Reactive_SupplierControladaptee_
 The adapted object.

Detailed Description

Forwards timeout events to the Reactive SupplierControl.

The Reactive SupplierControl strategy uses the reactor to periodically wakeup and verify the state of the suppliers registered with the Event Channel.

Definition at line 52 of file CEC_Reactive_SupplierControl.h.


Constructor & Destructor Documentation

TAO_CEC_SupplierControl_Adapter::TAO_CEC_SupplierControl_Adapter ( TAO_CEC_Reactive_SupplierControl adaptee  ) 

Constructor.

Definition at line 367 of file CEC_Reactive_SupplierControl.cpp.

00369   :  adaptee_ (adaptee)
00370 {
00371 }


Member Function Documentation

int TAO_CEC_SupplierControl_Adapter::handle_timeout ( const ACE_Time_Value tv,
const void *  arg = 0 
) [virtual]

Reimplemented from ACE_Event_Handler.

Definition at line 374 of file CEC_Reactive_SupplierControl.cpp.

References adaptee_, and TAO_CEC_Reactive_SupplierControl::handle_timeout().

00377 {
00378   this->adaptee_->handle_timeout (tv, arg);
00379   return 0;
00380 }


Member Data Documentation

TAO_CEC_Reactive_SupplierControl* TAO_CEC_SupplierControl_Adapter::adaptee_ [private]

The adapted object.

Definition at line 65 of file CEC_Reactive_SupplierControl.h.

Referenced by handle_timeout().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:45:01 2010 for TAO_CosEvent by  doxygen 1.4.7