1 #ifndef _ELMA_STOP_WATCH_H
2 #define _ELMA_STOP_WATCH_H
8 #include "user_interface.h"
35 high_resolution_clock::duration value();
38 const vector<high_resolution_clock::duration>&
laps() {
return _laps; }
48 high_resolution_clock::time_point _start_time;
49 high_resolution_clock::duration _elapsed;
50 vector<high_resolution_clock::duration> _laps;
const vector< high_resolution_clock::duration > & laps()
Get a list of lap times.
The on state of the stopwatch.
A State class to represen the state in which the stopwatch is off.
A stop watch class, that inherits from StateMachine.