#include <Timer_Hash_T.h>
Public Types | |
typedef ACE_Timer_Queue_T< ACE_Event_Handler *, ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >, ACE_Null_Mutex > | TIMER_QUEUE |
Public Methods | |
ACE_Timer_Hash_Upcall (void) | |
ACE_Timer_Hash_Upcall (ACE_Timer_Queue_T< TYPE, FUNCTOR, ACE_LOCK > *timer_hash) | |
Constructor that specifies a Timer_Hash to call up to. | |
int | registration (TIMER_QUEUE &timer_queue, ACE_Event_Handler *handler, const void *arg) |
This method is called when a timer is registered. | |
int | preinvoke (TIMER_QUEUE &timer_queue, ACE_Event_Handler *handler, const void *arg, int recurring_timer, const ACE_Time_Value &cur_time, const void *&upcall_act) |
This method is called before the timer expires. | |
int | timeout (TIMER_QUEUE &timer_queue, ACE_Event_Handler *handler, const void *arg, int recurring_timer, const ACE_Time_Value &cur_time) |
This method is called when the timer expires. | |
int | postinvoke (TIMER_QUEUE &timer_queue, ACE_Event_Handler *handler, const void *arg, int recurring_timer, const ACE_Time_Value &cur_time, const void *upcall_act) |
This method is called after the timer expires. | |
int | cancel_type (TIMER_QUEUE &timer_queue, ACE_Event_Handler *handler, int dont_call, int &requires_reference_counting) |
This method is called when a handler is cancelled. | |
int | cancel_timer (TIMER_QUEUE &timer_queue, ACE_Event_Handler *handler, int dont_call, int requires_reference_counting) |
This method is called when a timer is cancelled. | |
int | deletion (TIMER_QUEUE &timer_queue, ACE_Event_Handler *handler, const void *arg) |
Private Methods | |
ACE_Timer_Hash_Upcall (const ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK > &) | |
void | operator= (const ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK > &) |
Private Attributes | |
ACE_Timer_Queue_T< TYPE, FUNCTOR, ACE_LOCK > * | timer_hash_ |
Timer Queue to do the calling up to. |
This class calls up to the Timer Hash's functor from the timer queues in the hash table
|
|
|
Default constructor (creates an invalid object, but needs to be here so timer queues using this functor can be constructed) |
|
Constructor that specifies a Timer_Hash to call up to.
|
|
|
|
This method is called when a timer is cancelled.
|
|
This method is called when a handler is cancelled.
|
|
This method is called when the timer queue is destroyed and the timer is still contained in it |
|
|
|
This method is called after the timer expires.
|
|
This method is called before the timer expires.
|
|
This method is called when a timer is registered.
|
|
This method is called when the timer expires.
|
|
Timer Queue to do the calling up to.
|