Public Member Functions | Private Attributes | List of all members
alvar::Timer Class Reference

Timer for measuring execution time. More...

#include <Timer.h>

Public Member Functions

void start ()
 Starts the timer. More...
 
double stop ()
 Stops the timer and returns the elapsed time in seconds. More...
 
 Timer ()
 Constructor. More...
 
 ~Timer ()
 Destructor. More...
 

Private Attributes

TimerPrivated
 

Detailed Description

Timer for measuring execution time.

Timer class for measuring execution time.

Definition at line 44 of file Timer.h.

Constructor & Destructor Documentation

alvar::Timer::Timer ( )

Constructor.

Definition at line 30 of file Timer.cpp.

alvar::Timer::~Timer ( )

Destructor.

Definition at line 35 of file Timer.cpp.

Member Function Documentation

void alvar::Timer::start ( )

Starts the timer.

Definition at line 40 of file Timer.cpp.

double alvar::Timer::stop ( )

Stops the timer and returns the elapsed time in seconds.

Definition at line 45 of file Timer.cpp.

Member Data Documentation

TimerPrivate* alvar::Timer::d
private

Definition at line 68 of file Timer.h.


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


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Thu Jun 6 2019 19:27:24