MySQL 9.1.0
Source Code Documentation
net::io_context::timer_queue< Timer >::pending_timer Class Referenceabstract

#include <io_context.h>

Inheritance diagram for net::io_context::timer_queue< Timer >::pending_timer:
[legend]

Public Types

using time_point = typename Timer::time_point
 
using timer_id = typename Timer::Id *
 

Public Member Functions

 pending_timer (const Timer &timer)
 
virtual ~pending_timer ()=default
 
bool is_cancelled () const
 
void cancel ()
 
time_point expiry () const noexcept
 
timer_id id () const
 
virtual void run ()=0
 

Private Attributes

time_point expiry_
 
timer_id id_
 

Member Typedef Documentation

◆ time_point

template<class Timer >
using net::io_context::timer_queue< Timer >::pending_timer::time_point = typename Timer::time_point

◆ timer_id

template<class Timer >
using net::io_context::timer_queue< Timer >::pending_timer::timer_id = typename Timer::Id *

Constructor & Destructor Documentation

◆ pending_timer()

template<class Timer >
net::io_context::timer_queue< Timer >::pending_timer::pending_timer ( const Timer &  timer)
inline

◆ ~pending_timer()

template<class Timer >
virtual net::io_context::timer_queue< Timer >::pending_timer::~pending_timer ( )
virtualdefault

Member Function Documentation

◆ cancel()

template<class Timer >
void net::io_context::timer_queue< Timer >::pending_timer::cancel ( )
inline

◆ expiry()

template<class Timer >
time_point net::io_context::timer_queue< Timer >::pending_timer::expiry ( ) const
inlinenoexcept

◆ id()

template<class Timer >
timer_id net::io_context::timer_queue< Timer >::pending_timer::id ( ) const
inline

◆ is_cancelled()

template<class Timer >
bool net::io_context::timer_queue< Timer >::pending_timer::is_cancelled ( ) const
inline

◆ run()

template<class Timer >
virtual void net::io_context::timer_queue< Timer >::pending_timer::run ( )
pure virtual

Member Data Documentation

◆ expiry_

template<class Timer >
time_point net::io_context::timer_queue< Timer >::pending_timer::expiry_
private

◆ id_

template<class Timer >
timer_id net::io_context::timer_queue< Timer >::pending_timer::id_
private

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