| 
    ContRap-Core 
   | 
 
Timer is a platform independent timer class. More...
#include <timer.h>
Public Types | |
| enum | Clock { VIRTUAL, SYSTEM } | 
Enumerates the different clock types. More... | |
Public Member Functions | |
| Timer (Clock clock_type=SYSTEM) | |
| Creates a new timer.   | |
| ~Timer () | |
| Destructor does nothing.   | |
| void | start () | 
| Starts measuring time.   | |
| void | stop () | 
| Stops measuring time.   | |
| double | elapsed () | 
| Returns the measured time in milliseconds (not neccessary integer)   | |
| bool | is_running () | 
| Checks if the timer is started.   | |
Timer is a platform independent timer class.
| enum crp::Timer::Clock | 
| crp::Timer::Timer | ( | Clock | clock_type = SYSTEM | ) | 
Creates a new timer.
| crp::Timer::~Timer | ( | ) |  [inline] | 
        
Destructor does nothing.
| double crp::Timer::elapsed | ( | ) | 
Returns the measured time in milliseconds (not neccessary integer)
| bool crp::Timer::is_running | ( | ) | 
Checks if the timer is started.
| void crp::Timer::start | ( | ) | 
Starts measuring time.
| void crp::Timer::stop | ( | ) | 
Stops measuring time.
 1.7.3