Raytrix Light Field SDK  4.0
Logo
Public Member Functions | List of all members
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 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 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 CTimer::Start has been called.

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

Starts this timer. This resets the starting time.