Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
RageTimer Class Reference

Public Member Functions

 RageTimer (std::chrono::steady_clock::time_point tm)
 
 RageTimer (unsigned microseconds)
 
 RageTimer (unsigned secs, unsigned microseconds)
 
auto Ago () const -> float
 
void Touch ()
 
auto IsZero () const -> bool
 
void SetZero ()
 
auto GetDeltaTime () -> float
 
auto PeekDeltaTime () const -> float
 
auto operator+ (float tm) const -> RageTimer
 
auto operator- (float tm) const -> RageTimer
 
void operator+= (float tm)
 
void operator-= (float tm)
 
auto operator- (const RageTimer &rhs) const -> float
 
auto operator< (const RageTimer &rhs) const -> bool
 

Static Public Member Functions

static auto GetTimeSinceStart () -> float
 

Public Attributes

std::chrono::steady_clock::time_point tm
 

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