thread::Timer
- Inherits: api::ExecutionContext
public
- thread::Timer::Alarm
- thread::Timer::Info
- thread::Timer::SetTime
Types
#
ClockIdusing thread::Timer::ClockId = chrono::ClockTime::ClockId
Type: chrono::ClockTime::ClockId
#
Flags- null
- absolute_time
Functions
#
Timer(const Timer &a)=deletethread::Timer::Timer (const Timer &a)=delete
#
Timer(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) noexceptinline
thread::Timer::Timer (Timer &&a) noexcept
#
~Timer()thread::Timer::~Timer ()
#
get_info() constInfo thread::Timer::get_info () const
Type: Info
#
is_valid() constinline
bool thread::Timer::is_valid () const
Type: bool
#
operator=(const Timer &a)=deleteTimer & thread::Timer::operator= (const Timer &a)=delete
Type: Timer &
Parameters:
- const Timer &
a
#
operator=(Timer &&a) noexceptinline
Timer & thread::Timer::operator= (Timer &&a) noexcept
Type: 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