TAO_RTEvent  2.0.8
Public Member Functions | Private Member Functions
TAO_EC_Timeout_Adapter Class Reference

Adapt the EC_Filter interface as an Event_Handler. More...

#include <EC_Timeout_Generator.h>

Inheritance diagram for TAO_EC_Timeout_Adapter:
Inheritance graph
[legend]
Collaboration diagram for TAO_EC_Timeout_Adapter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TAO_EC_Timeout_Adapter (void)
 Default construction.

Private Member Functions

virtual int handle_timeout (const ACE_Time_Value &tv, const void *act)
 Casts <act> to EC_Filter and dispatches an event to it.

Detailed Description

Adapt the EC_Filter interface as an Event_Handler.

ACE timer queues (including the reactor) use Event_Handlers to dispatch events, but we want to receive them in EC_Filters, this class is and adaptor for that purpose.


Constructor & Destructor Documentation

TAO_EC_Timeout_Adapter::TAO_EC_Timeout_Adapter ( void  )

Default construction.


Member Function Documentation

int TAO_EC_Timeout_Adapter::handle_timeout ( const ACE_Time_Value tv,
const void *  act 
) [private, virtual]

Casts <act> to EC_Filter and dispatches an event to it.

Reimplemented from ACE_Event_Handler.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines