ACE 8.0.3
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Member Functions | 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>

Public Member Functions

 ACE_Event_Handler_Handle_Timeout_Upcall ()=default
 
 ~ACE_Event_Handler_Handle_Timeout_Upcall ()=default
 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)
 

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
 

Private Member Functions

 ACE_Event_Handler_Handle_Timeout_Upcall (const ACE_Event_Handler_Handle_Timeout_Upcall &)=delete
 
 ACE_Event_Handler_Handle_Timeout_Upcall (ACE_Event_Handler_Handle_Timeout_Upcall &&)=delete
 
ACE_Event_Handler_Handle_Timeout_Upcalloperator= (const ACE_Event_Handler_Handle_Timeout_Upcall &)=delete
 
ACE_Event_Handler_Handle_Timeout_Upcalloperator= (ACE_Event_Handler_Handle_Timeout_Upcall &&)=delete
 

Private Attributes

int requires_reference_counting_ {0}
 

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() [1/3]

ACE_Event_Handler_Handle_Timeout_Upcall::ACE_Event_Handler_Handle_Timeout_Upcall ( )
default

◆ ~ACE_Event_Handler_Handle_Timeout_Upcall()

ACE_Event_Handler_Handle_Timeout_Upcall::~ACE_Event_Handler_Handle_Timeout_Upcall ( )
default

Destructor.

◆ ACE_Event_Handler_Handle_Timeout_Upcall() [2/3]

ACE_Event_Handler_Handle_Timeout_Upcall::ACE_Event_Handler_Handle_Timeout_Upcall ( const ACE_Event_Handler_Handle_Timeout_Upcall & )
privatedelete

◆ ACE_Event_Handler_Handle_Timeout_Upcall() [3/3]

ACE_Event_Handler_Handle_Timeout_Upcall::ACE_Event_Handler_Handle_Timeout_Upcall ( ACE_Event_Handler_Handle_Timeout_Upcall && )
privatedelete

Member Function Documentation

◆ cancel_timer()

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.

◆ cancel_type()

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.

◆ deletion()

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

◆ operator=() [1/2]

ACE_Event_Handler_Handle_Timeout_Upcall & ACE_Event_Handler_Handle_Timeout_Upcall::operator= ( ACE_Event_Handler_Handle_Timeout_Upcall && )
privatedelete

◆ operator=() [2/2]

ACE_Event_Handler_Handle_Timeout_Upcall & ACE_Event_Handler_Handle_Timeout_Upcall::operator= ( const ACE_Event_Handler_Handle_Timeout_Upcall & )
privatedelete

◆ postinvoke()

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.

◆ preinvoke()

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.

◆ registration()

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.

◆ timeout()

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_ALLOC_HOOK_DECLARE

ACE_Event_Handler_Handle_Timeout_Upcall::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.

◆ requires_reference_counting_

int ACE_Event_Handler_Handle_Timeout_Upcall::requires_reference_counting_ {0}
private

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


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