thread::Timer
- Inherits: api::ExecutionContext
public - thread::Timer::Alarm
- thread::Timer::Info
- thread::Timer::SetTime
Types
ClockId#
using thread::Timer::ClockId = chrono::ClockTime::ClockId Type: chrono::ClockTime::ClockId
Flags#
- null
- absolute_time
Functions
Timer(const Timer &a)=delete#
thread::Timer::Timer (const Timer &a)=deleteTimer(Signal::Event &signal_event, ClockId clock_id=ClockId::realtime)#
explicit
thread::Timer::Timer (Signal::Event &signal_event, ClockId clock_id=ClockId::realtime)Timer(Timer &&a) noexcept#
inline
thread::Timer::Timer (Timer &&a) noexcept~Timer()#
thread::Timer::~Timer ()get_info() const#
Info thread::Timer::get_info () constType: Info
is_valid() const#
inline
bool thread::Timer::is_valid () constType: bool
operator=(const Timer &a)=delete#
Timer & thread::Timer::operator= (const Timer &a)=deleteType: Timer &
Parameters:
- const Timer &
a
operator=(Timer &&a) noexcept#
inline
Timer & thread::Timer::operator= (Timer &&a) noexceptType: Timer &
Parameters:
- Timer &&
a
set_time(const SetTime &options)#
Timer & thread::Timer::set_time (const SetTime &options)Type: Timer &
Parameters:
- const SetTime &
options
Static Functions
alarm(const Alarm &options)#
static chrono::ClockTime thread::Timer::alarm (const Alarm &options)Type: chrono::ClockTime
Parameters:
- const Alarm &
options
cancel_alarm()#
inline
static void thread::Timer::cancel_alarm ()Type: void