ACE
6.1.0
|
Functor for Timer_Queues. More...
#include <Event_Handler_Handle_Timeout_Upcall.h>
Public Member Functions | |
ACE_Event_Handler_Handle_Timeout_Upcall (void) | |
Constructor. | |
~ACE_Event_Handler_Handle_Timeout_Upcall (void) | |
Destructor. | |
int | registration (ACE_Timer_Queue &timer_queue, ACE_Event_Handler *handler, const void *arg) |
This method is called when a timer is registered. | |
int | preinvoke (ACE_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 (ACE_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 (ACE_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 (ACE_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 (ACE_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 (ACE_Timer_Queue &timer_queue, ACE_Event_Handler *handler, const void *arg) |
Private Attributes | |
int | requires_reference_counting_ |
Functor for Timer_Queues.
This class implements the functor required by the Timer Queue to call <handle_timeout> on ACE_Event_Handlers.
ACE_Event_Handler_Handle_Timeout_Upcall::ACE_Event_Handler_Handle_Timeout_Upcall | ( | void | ) |
Constructor.
ACE_Event_Handler_Handle_Timeout_Upcall::~ACE_Event_Handler_Handle_Timeout_Upcall | ( | void | ) |
Destructor.
int ACE_Event_Handler_Handle_Timeout_Upcall::cancel_timer | ( | ACE_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_Event_Handler_Handle_Timeout_Upcall::cancel_type | ( | ACE_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 ACE_Event_Handler_Handle_Timeout_Upcall::deletion | ( | ACE_Timer_Queue & | timer_queue, |
ACE_Event_Handler * | handler, | ||
const void * | arg | ||
) |
This method is called when the timer queue is destroyed and the timer is still contained in it
int ACE_Event_Handler_Handle_Timeout_Upcall::postinvoke | ( | ACE_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_Event_Handler_Handle_Timeout_Upcall::preinvoke | ( | ACE_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_Event_Handler_Handle_Timeout_Upcall::registration | ( | ACE_Timer_Queue & | timer_queue, |
ACE_Event_Handler * | handler, | ||
const void * | arg | ||
) | [inline] |
This method is called when a timer is registered.
int ACE_Event_Handler_Handle_Timeout_Upcall::timeout | ( | ACE_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.
Flag indicating that reference counting is required for this event handler upcall.