BoB robotics
The Brains on Board robotics library
BoBRobotics::Timer< A > Class Template Reference

A generic timer which can give the current elapsed time. More...

#include <timer.h>

Public Member Functions

 Timer (const std::string &title)
 Create a new Timer with the specified name.
 
 ~Timer ()
 Stop the timer and print current elapsed time to terminal.
 
double get () const
 Get the elapsed time since this object was created.
 

Detailed Description

template<typename A = std::milli>
class BoBRobotics::Timer< A >

A generic timer which can give the current elapsed time.


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