ACE 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ACE_Reactor_Timer_Interface Class Referenceabstract

Interface for timer related methods on the Reactor. More...

#include <Reactor_Timer_Interface.h>

Inheritance diagram for ACE_Reactor_Timer_Interface:
Inheritance graph
[legend]

Public Member Functions

virtual ~ACE_Reactor_Timer_Interface ()
 
virtual long schedule_timer (ACE_Event_Handler *event_handler, const void *arg, const ACE_Time_Value &delay, const ACE_Time_Value &interval=ACE_Time_Value::zero)=0
 
template<class Rep1 , class Period1 , class Rep2 = int, class Period2 = std::ratio<1>>
long schedule_timer (ACE_Event_Handler *event_handler, const void *arg, const std::chrono::duration< Rep1, Period1 > &delay, const std::chrono::duration< Rep2, Period2 > &interval=std::chrono::duration< Rep2, Period2 >::zero())
 
virtual int reset_timer_interval (long timer_id, const ACE_Time_Value &interval)=0
 
template<class Rep , class Period >
int reset_timer_interval (long timer_id, const std::chrono::duration< Rep, Period > &interval)
 
virtual int cancel_timer (long timer_id, const void **arg=0, int dont_call_handle_close=1)=0
 
virtual int cancel_timer (ACE_Event_Handler *event_handler, int dont_call_handle_close=1)=0
 

Detailed Description

Interface for timer related methods on the Reactor.

Constructor & Destructor Documentation

◆ ~ACE_Reactor_Timer_Interface()

ACE_Reactor_Timer_Interface::~ACE_Reactor_Timer_Interface ( )
virtual

Member Function Documentation

◆ cancel_timer() [1/2]

virtual int ACE_Reactor_Timer_Interface::cancel_timer ( ACE_Event_Handler * event_handler,
int dont_call_handle_close = 1 )
pure virtual

Implemented in ACE_Reactor.

◆ cancel_timer() [2/2]

virtual int ACE_Reactor_Timer_Interface::cancel_timer ( long timer_id,
const void ** arg = 0,
int dont_call_handle_close = 1 )
pure virtual

Implemented in ACE_Reactor.

◆ reset_timer_interval() [1/2]

virtual int ACE_Reactor_Timer_Interface::reset_timer_interval ( long timer_id,
const ACE_Time_Value & interval )
pure virtual

Implemented in ACE_Reactor.

◆ reset_timer_interval() [2/2]

template<class Rep , class Period >
int ACE_Reactor_Timer_Interface::reset_timer_interval ( long timer_id,
const std::chrono::duration< Rep, Period > & interval )
inline

◆ schedule_timer() [1/2]

virtual long ACE_Reactor_Timer_Interface::schedule_timer ( ACE_Event_Handler * event_handler,
const void * arg,
const ACE_Time_Value & delay,
const ACE_Time_Value & interval = ACE_Time_Value::zero )
pure virtual

Implemented in ACE_Reactor.

◆ schedule_timer() [2/2]

template<class Rep1 , class Period1 , class Rep2 = int, class Period2 = std::ratio<1>>
long ACE_Reactor_Timer_Interface::schedule_timer ( ACE_Event_Handler * event_handler,
const void * arg,
const std::chrono::duration< Rep1, Period1 > & delay,
const std::chrono::duration< Rep2, Period2 > & interval = std::chrono::duration<Rep2Period2>::zero () )
inline

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