A time point for timed wait, as clocks from the standard are not available on RIOT. More...
A time point for timed wait, as clocks from the standard are not available on RIOT.
Definition at line 41 of file chrono.hpp.
#include <chrono.hpp>
Public Member Functions | |
| time_point () | |
| Creates a time point with seconds and microseconds set to 0.   | |
| time_point (timex_t &&tp) | |
| Create time point from timex_t struct.   | |
| constexpr | time_point (const time_point &tp)=default | 
| Use default copy constructor.  | |
| constexpr | time_point (time_point &&tp)=default | 
| Use default move constructor.  | |
| native_handle_type | native_handle () const | 
| Gives access to the native handle that stores the time information.   | |
| template<class Rep, class Period> | |
| time_point & | operator+= (const std::chrono::duration< Rep, Period > &d) | 
| Add a standard chrono::duration to this time point.   | |
| uint32_t | seconds () const | 
| Returns seconds member as uint32_t.   | |
| uint32_t | microseconds () const | 
| Returns microseconds member as uint32_t.   | |
      
  | 
  inline | 
Creates a time point with seconds and microseconds set to 0.
Definition at line 48 of file chrono.hpp.
      
  | 
  inlineexplicit | 
Create time point from timex_t struct.
Definition at line 52 of file chrono.hpp.
      
  | 
  inline | 
Returns microseconds member as uint32_t.
Definition at line 88 of file chrono.hpp.
      
  | 
  inline | 
Gives access to the native handle that stores the time information.
Definition at line 65 of file chrono.hpp.
      
  | 
  inline | 
Add a standard chrono::duration to this time point.
Definition at line 71 of file chrono.hpp.
      
  | 
  inline | 
Returns seconds member as uint32_t.
Definition at line 83 of file chrono.hpp.