Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

RageTimer Class Reference

#include <RageTimer.h>

List of all members.

Public Member Functions

 RageTimer ()
 RageTimer (int secs, int us)
float Ago () const
void Touch ()
bool IsZero () const
void SetZero ()
float GetDeltaTime ()
float PeekDeltaTime () const
RageTimer Half () const
RageTimer operator+ (float tm) const
void operator+= (float tm)
float operator- (const RageTimer &rhs) const

Static Public Member Functions

float GetTimeSinceStart ()

Public Attributes

unsigned m_secs
unsigned m_us

Static Private Member Functions

RageTimer Sum (const RageTimer &lhs, float tm)
float Difference (const RageTimer &lhs, const RageTimer &rhs)


Constructor & Destructor Documentation

RageTimer::RageTimer  )  [inline]
 

RageTimer::RageTimer int  secs,
int  us
[inline]
 


Member Function Documentation

float RageTimer::Ago  )  const
 

float RageTimer::Difference const RageTimer lhs,
const RageTimer rhs
[static, private]
 

float RageTimer::GetDeltaTime  ) 
 

float RageTimer::GetTimeSinceStart  )  [static]
 

RageTimer RageTimer::Half  )  const
 

bool RageTimer::IsZero  )  const [inline]
 

RageTimer RageTimer::operator+ float  tm  )  const
 

void RageTimer::operator+= float  tm  )  [inline]
 

float RageTimer::operator- const RageTimer rhs  )  const
 

float RageTimer::PeekDeltaTime  )  const [inline]
 

void RageTimer::SetZero  )  [inline]
 

RageTimer RageTimer::Sum const RageTimer lhs,
float  tm
[static, private]
 

void RageTimer::Touch  ) 
 


Member Data Documentation

unsigned RageTimer::m_secs
 

unsigned RageTimer::m_us
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 21:02:05 2005 for StepMania by doxygen 1.3.7