Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
toolbox::io::TimerFd< ClockT > Class Template Reference

#include <toolbox/io/TimerFd.hpp>

Public Types

using Clock = ClockT
 
using TimePoint = std::chrono::time_point< ClockT, Duration >
 

Public Member Functions

 TimerFd (int flags)
 
 ~TimerFd ()=default
 
 TimerFd (const TimerFd &)=delete
 
TimerFdoperator= (const TimerFd &)=delete
 
 TimerFd (TimerFd &&) noexcept=default
 
TimerFdoperator= (TimerFd &&) noexcept=default
 
int fd () const noexcept
 
void set_time (int flags, TimePoint expiry, Duration interval, std::error_code &ec) noexcept
 
void set_time (int flags, TimePoint expiry, Duration interval)
 
void set_time (int flags, TimePoint expiry, std::error_code &ec) noexcept
 
void set_time (int flags, TimePoint expiry)
 

Detailed Description

template<typename ClockT>
class toolbox::io::TimerFd< ClockT >

Definition at line 123 of file TimerFd.hpp.

Member Typedef Documentation

◆ Clock

Definition at line 125 of file TimerFd.hpp.

◆ TimePoint

template<typename ClockT >
using toolbox::io::TimerFd< ClockT >::TimePoint = std::chrono::time_point<ClockT, Duration>

Definition at line 126 of file TimerFd.hpp.

Constructor & Destructor Documentation

◆ TimerFd() [1/3]

template<typename ClockT >
toolbox::io::TimerFd< ClockT >::TimerFd ( int  flags)
inlineexplicit

Definition at line 128 of file TimerFd.hpp.

◆ ~TimerFd()

template<typename ClockT >
toolbox::io::TimerFd< ClockT >::~TimerFd ( )
default

◆ TimerFd() [2/3]

template<typename ClockT >
toolbox::io::TimerFd< ClockT >::TimerFd ( const TimerFd< ClockT > &  )
delete

◆ TimerFd() [3/3]

template<typename ClockT >
toolbox::io::TimerFd< ClockT >::TimerFd ( TimerFd< ClockT > &&  )
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

◆ operator=() [2/2]

template<typename ClockT >
TimerFd & toolbox::io::TimerFd< ClockT >::operator= ( TimerFd< ClockT > &&  )
defaultnoexcept

◆ fd()

template<typename ClockT >
int toolbox::io::TimerFd< ClockT >::fd ( ) const
inlinenoexcept

Definition at line 142 of file TimerFd.hpp.

◆ set_time() [1/4]

template<typename ClockT >
void toolbox::io::TimerFd< ClockT >::set_time ( int  flags,
TimePoint  expiry,
Duration  interval,
std::error_code &  ec 
)
inlinenoexcept

Definition at line 144 of file TimerFd.hpp.

◆ set_time() [2/4]

template<typename ClockT >
void toolbox::io::TimerFd< ClockT >::set_time ( int  flags,
TimePoint  expiry,
Duration  interval 
)
inline

Definition at line 148 of file TimerFd.hpp.

◆ set_time() [3/4]

template<typename ClockT >
void toolbox::io::TimerFd< ClockT >::set_time ( int  flags,
TimePoint  expiry,
std::error_code &  ec 
)
inlinenoexcept

Definition at line 152 of file TimerFd.hpp.

◆ set_time() [4/4]

template<typename ClockT >
void toolbox::io::TimerFd< ClockT >::set_time ( int  flags,
TimePoint  expiry 
)
inline

Definition at line 156 of file TimerFd.hpp.


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