TAO_RTEvent
2.0.8
|
Adapt the EC_Filter interface as an Event_Handler. More...
#include <EC_Timeout_Generator.h>
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. |
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.
TAO_EC_Timeout_Adapter::TAO_EC_Timeout_Adapter | ( | void | ) |
Default construction.
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.