uuu
uuu (Universal Update Utility), mfgtools 3.0
 
Loading...
Searching...
No Matches
Timer Struct Reference

Public Types

using Clock = chrono::steady_clock
 

Public Member Functions

 Timer (Clock::time_point start)
 
 Timer ()
 
bool is_elapsed (Clock::duration interval) const
 
void reset (Clock::time_point start)
 
void reset ()
 

Public Attributes

Clock::time_point start
 

Member Typedef Documentation

◆ Clock

using Timer::Clock = chrono::steady_clock

Constructor & Destructor Documentation

◆ Timer() [1/2]

Timer::Timer ( Clock::time_point start)
inlineexplicit

◆ Timer() [2/2]

Timer::Timer ( )
inline

Member Function Documentation

◆ is_elapsed()

bool Timer::is_elapsed ( Clock::duration interval) const
inline

◆ reset() [1/2]

void Timer::reset ( )
inline

◆ reset() [2/2]

void Timer::reset ( Clock::time_point start)
inline

Member Data Documentation

◆ start

Clock::time_point Timer::start

The documentation for this struct was generated from the following file: