Raytrix Light Field SDK  v3.1
Logo
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Groups Pages
Rx::CTimer Class Reference

Detailed Description

Timer class for time measurements.

Public Member Functions

 CTimer ()
 Default constructor. More...
 
 CTimer (bool bStart)
 Constructor with possibility to start the timer immediately. More...
 
 ~CTimer ()
 Destructor. More...
 
double ElapsedMilliseconds ()
 Gets the elapsed time in milliseconds since Rx::CTimer::Start has been called. More...
 
void Start ()
 Starts this timer. This resets the starting time. More...
 

Constructor & Destructor Documentation

Rx::CTimer::CTimer ( )

Default constructor.

Rx::CTimer::CTimer ( bool  bStart)

Constructor with possibility to start the timer immediately.

Parameters
bStartIf true, start the timer immediately. If false, call Rx::CTimer::Start to start the timer manually.
Rx::CTimer::~CTimer ( )

Destructor.

Member Function Documentation

double Rx::CTimer::ElapsedMilliseconds ( )

Gets the elapsed time in milliseconds since Rx::CTimer::Start has been called.

Returns
The elapsed time in milliseconds.
void Rx::CTimer::Start ( )

Starts this timer. This resets the starting time.