ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK > Class Template ReferenceFunctor for Timer_Hash. More...
Detailed Descriptiontemplate<class TYPE, class FUNCTOR, class ACE_LOCK>
Functor for Timer_Hash.
|
typedef ACE_Timer_Queue_T<ACE_Event_Handler *, ACE_Timer_Hash_Upcall<TYPE, FUNCTOR, ACE_LOCK>, ACE_Null_Mutex> ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >::TIMER_QUEUE |
ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >::ACE_Timer_Hash_Upcall | ( | void | ) | [inline] |
Default constructor (creates an invalid object, but needs to be here so timer queues using this functor can be constructed)
ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >::ACE_Timer_Hash_Upcall | ( | ACE_Timer_Queue_T< TYPE, FUNCTOR, ACE_LOCK > * | timer_hash | ) | [inline] |
Constructor that specifies a Timer_Hash to call up to.
ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >::ACE_Timer_Hash_Upcall | ( | const ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK > & | ) | [private] |
int ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >::registration | ( | TIMER_QUEUE & | timer_queue, | |
ACE_Event_Handler * | handler, | |||
const void * | arg | |||
) | [inline] |
This method is called when a timer is registered.
int ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >::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 | |||
) | [inline] |
This method is called before the timer expires.
int ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >::timeout | ( | TIMER_QUEUE & | timer_queue, | |
ACE_Event_Handler * | handler, | |||
const void * | arg, | |||
int | recurring_timer, | |||
const ACE_Time_Value & | cur_time | |||
) | [inline] |
This method is called when the timer expires.
int ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >::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 | |||
) | [inline] |
This method is called after the timer expires.
int ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >::cancel_type | ( | TIMER_QUEUE & | timer_queue, | |
ACE_Event_Handler * | handler, | |||
int | dont_call, | |||
int & | requires_reference_counting | |||
) | [inline] |
This method is called when a handler is cancelled.
int ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >::cancel_timer | ( | TIMER_QUEUE & | timer_queue, | |
ACE_Event_Handler * | handler, | |||
int | dont_call, | |||
int | requires_reference_counting | |||
) | [inline] |
This method is called when a timer is cancelled.
int ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >::deletion | ( | TIMER_QUEUE & | timer_queue, | |
ACE_Event_Handler * | handler, | |||
const void * | arg | |||
) | [inline] |
This method is called when the timer queue is destroyed and the timer is still contained in it
void ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >::operator= | ( | const ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK > & | ) | [private] |
ACE_Timer_Queue_T<TYPE, FUNCTOR, ACE_LOCK>* ACE_Timer_Hash_Upcall< TYPE, FUNCTOR, ACE_LOCK >::timer_hash_ [private] |
Timer Queue to do the calling up to.