#include <Timer_Queue.h>
Inheritance diagram for TAO_Notify_Timer_Queue:
Public Types | |
typedef TAO_Notify_Refcountable_Guard_T< TAO_Notify_Timer_Queue > | Ptr |
Public Member Functions | |
TAO_Notify_Timer_Queue (void) | |
Constructor. | |
virtual | ~TAO_Notify_Timer_Queue (void) |
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. | |
ACE_Timer_Queue & | impl (void) |
Get the native impl. | |
Protected Attributes | |
ACE_Timer_Heap | timer_queue_ |
The Timer Queue. | |
Private Member Functions | |
virtual void | release (void) |
Release. |
Definition at line 35 of file Timer_Queue.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_Timer_Queue::TAO_Notify_Timer_Queue | ( | void | ) |
TAO_Notify_Timer_Queue::~TAO_Notify_Timer_Queue | ( | void | ) | [virtual] |
int TAO_Notify_Timer_Queue::cancel_timer | ( | long | timer_id | ) | [virtual] |
Cancel Timer.
Implements TAO_Notify_Timer.
Definition at line 37 of file Timer_Queue.cpp.
References timer_queue_.
00038 { 00039 return this->timer_queue_.cancel (timer_id); 00040 }
ACE_Timer_Queue & TAO_Notify_Timer_Queue::impl | ( | void | ) |
Get the native impl.
Definition at line 43 of file Timer_Queue.cpp.
References timer_queue_.
00044 { 00045 return this->timer_queue_; 00046 }
void TAO_Notify_Timer_Queue::release | ( | void | ) | [private, virtual] |
long TAO_Notify_Timer_Queue::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.
Definition at line 25 of file Timer_Queue.cpp.
References timer_queue_.
00028 { 00029 return 00030 this->timer_queue_.schedule (handler, 00031 0, 00032 timer_queue_.gettimeofday () + delay_time, 00033 interval); 00034 }
ACE_Timer_Heap TAO_Notify_Timer_Queue::timer_queue_ [protected] |
The Timer Queue.
Definition at line 59 of file Timer_Queue.h.
Referenced by cancel_timer(), impl(), and schedule_timer().