µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
os::estd::chrono::realtime_clock Class Reference

Public Types

using duration = std::chrono::duration< rep, period >
 basic duration type of clock More...
 
using period = std::ratio< 1, 1 >
 std::ratio type representing the tick period of the clock, in seconds More...
 
using rep = rtos::clock_rtc::timestamp_t
 
using sleep_duration = std::chrono::duration< sleep_rep, period >
 
using sleep_rep = rtos::clock_rtc::duration_t
 
using time_point = std::chrono::time_point< realtime_clock >
 

Static Public Member Functions

static time_point now () noexcept
 
static void sleep_for (sleep_rep)
 

Static Public Attributes

static constexpr bool has_sleep_for { true }
 
static constexpr const bool is_steady { false }
 
static time_point startup_time_point
 

Detailed Description

Definition at line 128 of file chrono.

Types

◆ duration

using os::estd::chrono::realtime_clock::duration = std::chrono::duration<rep, period>

basic duration type of clock

Definition at line 138 of file chrono.

◆ period

using os::estd::chrono::realtime_clock::period = std::ratio<1, 1>

std::ratio type representing the tick period of the clock, in seconds

Definition at line 136 of file chrono.

◆ rep

◆ sleep_duration

Definition at line 139 of file chrono.

◆ sleep_rep

◆ time_point

Definition at line 141 of file chrono.

Member Function Documentation

◆ now()

realtime_clock::time_point os::estd::chrono::realtime_clock::now ( void  )
staticnoexcept

Definition at line 66 of file chrono.cpp.

◆ sleep_for()

void os::estd::chrono::realtime_clock::sleep_for ( sleep_rep  secs)
inlinestatic

Definition at line 251 of file chrono.

Member Data Documentation

◆ has_sleep_for

constexpr bool os::estd::chrono::realtime_clock::has_sleep_for { true }
static

Definition at line 147 of file chrono.

◆ is_steady

constexpr const bool os::estd::chrono::realtime_clock::is_steady { false }
static

Definition at line 145 of file chrono.

◆ startup_time_point

realtime_clock::time_point os::estd::chrono::realtime_clock::startup_time_point
static

Definition at line 161 of file chrono.


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