TAO_CosNotification
2.0.8
|
Reactor::instance based timer. The timers are dispatched by the main thread. More...
#include <Timer_Reactor.h>
Public Types | |
typedef TAO_Notify_Refcountable_Guard_T < TAO_Notify_Timer_Reactor > | Ptr |
Public Member Functions | |
TAO_Notify_Timer_Reactor (void) | |
Constructor. | |
virtual | ~TAO_Notify_Timer_Reactor () |
Destructor. | |
virtual long | schedule_timer (ACE_Event_Handler *handler, const ACE_Time_Value &delay_time, const ACE_Time_Value &interval) |
Schedule a timer. | |
virtual int | cancel_timer (long timer_id) |
Cancel Timer. | |
Protected Attributes | |
ACE_Reactor * | reactor_ |
The instance reactor that we use. | |
Private Member Functions | |
virtual void | release (void) |
Release. |
Reactor::instance based timer. The timers are dispatched by the main thread.
Reimplemented from TAO_Notify_Timer.
TAO_Notify_Timer_Reactor::TAO_Notify_Timer_Reactor | ( | void | ) |
Constructor.
TAO_Notify_Timer_Reactor::~TAO_Notify_Timer_Reactor | ( | ) | [virtual] |
Destructor.
int TAO_Notify_Timer_Reactor::cancel_timer | ( | long | timer_id | ) | [virtual] |
Cancel Timer.
Implements TAO_Notify_Timer.
void TAO_Notify_Timer_Reactor::release | ( | void | ) | [private, virtual] |
Release.
Implements TAO_Notify_Refcountable.
long TAO_Notify_Timer_Reactor::schedule_timer | ( | ACE_Event_Handler * | handler, |
const ACE_Time_Value & | delay_time, | ||
const ACE_Time_Value & | interval | ||
) | [virtual] |
Schedule a timer.
Implements TAO_Notify_Timer.
ACE_Reactor* TAO_Notify_Timer_Reactor::reactor_ [protected] |
The instance reactor that we use.