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

A timer which adds its elapsed time to an accumulator variable on destruction. More...

#include <timer.h>

Public Member Functions

 TimerAccumulate (double &accumulator)
 
double get () const
 Get the elapsed time since this object was created.
 

Detailed Description

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

A timer which adds its elapsed time to an accumulator variable on destruction.


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