Skip to main content

thread::Timer

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)=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) noexcept#

inline

thread::Timer::Timer (Timer &&a) noexcept

~Timer()#

thread::Timer::~Timer ()

get_info() const#

Info thread::Timer::get_info () const

Type: Info

is_valid() const#

inline

bool thread::Timer::is_valid () const

Type: bool

operator=(const Timer &a)=delete#

Timer & thread::Timer::operator= (const Timer &a)=delete

Type: Timer &

Parameters:

operator=(Timer &&a) noexcept#

inline

Timer & thread::Timer::operator= (Timer &&a) noexcept

Type: Timer &

Parameters:

set_time(const SetTime &options)#

Timer & thread::Timer::set_time (const SetTime &options)

Type: Timer &

Parameters:

Static Functions

alarm(const Alarm &options)#

static chrono::ClockTime thread::Timer::alarm (const Alarm &options)

Type: chrono::ClockTime

Parameters:

cancel_alarm()#

inline

static void thread::Timer::cancel_alarm ()

Type: void