ACE  6.4.2
Public Member Functions | Public Attributes | Private Attributes | List of all members
ACE_Event_Handler_Handle_Timeout_Upcall Class Reference

Functor for Timer_Queues. More...

#include <Event_Handler_Handle_Timeout_Upcall.h>

Inheritance diagram for ACE_Event_Handler_Handle_Timeout_Upcall:
Inheritance graph
[legend]
Collaboration diagram for ACE_Event_Handler_Handle_Timeout_Upcall:
Collaboration graph
[legend]

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)
 

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...
 

Private Attributes

int requires_reference_counting_
 

Additional Inherited Members

- Private Member Functions inherited from ACE_Copy_Disabled
 ACE_Copy_Disabled (void)
 Default constructor. More...
 

Detailed Description

Functor for Timer_Queues.

This class implements the functor required by the Timer Queue to call <handle_timeout> on ACE_Event_Handlers.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

Member Data Documentation

ACE_Event_Handler_Handle_Timeout_Upcall::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.

int ACE_Event_Handler_Handle_Timeout_Upcall::requires_reference_counting_
private

Flag indicating that reference counting is required for this event handler upcall.


The documentation for this class was generated from the following files: