ACE
6.3.3
|
Functor for Timer_Queues. More...
#include <Event_Handler_Handle_Timeout_Upcall.h>
Public Member Functions | |
ACE_Event_Handler_Handle_Timeout_Upcall (void) | |
Constructor. More... | |
~ACE_Event_Handler_Handle_Timeout_Upcall (void) | |
Destructor. More... | |
int | registration (ACE_Timer_Queue &timer_queue, ACE_Event_Handler *handler, const void *arg) |
This method is called when a timer is registered. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
int | deletion (ACE_Timer_Queue &timer_queue, ACE_Event_Handler *handler, const void *arg) |
Private Attributes | |
int | requires_reference_counting_ |
Additional Inherited Members | |
Private Member Functions inherited from ACE_Copy_Disabled | |
ACE_Copy_Disabled (void) | |
Default constructor. More... | |
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.
|
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
|
inline |
This method is called after the timer expires.
|
inline |
This method is called before the timer expires.
|
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.
|
private |
Flag indicating that reference counting is required for this event handler upcall.