BoosterSeat
0.1
A C++ library that includes common utilities that are used in other projects.
|
#include <stopwatch.hpp>
Public Member Functions | |
virtual | ~IStopwatch ()=default |
virtual int64_t | elapsedMicroseconds () const =0 |
virtual double | elapsedMicrosecondsF () const =0 |
virtual int64_t | elapsedMilliseconds () const =0 |
virtual double | elapsedMillisecondsF () const =0 |
virtual int64_t | elapsedSeconds () const =0 |
virtual double | elapsedSecondsF () const =0 |
virtual bool | isRunning () const =0 |
virtual void | pause ()=0 |
virtual void | reset (bool stop=true)=0 |
virtual void | resume ()=0 |
virtual void | start ()=0 |
virtual void | stop ()=0 |
Protected Types | |
enum class | State { RUNNING , STOPPED } |
The state of the stopwatch. More... | |
Protected Attributes | |
State | state_ = State::STOPPED |
The state of the stopwatch. More... | |
|
strongprotected |
|
virtualdefault |
|
pure virtual |
Implemented in bst::SoftwareStopwatch, and bst::Stopwatch.
Referenced by TEST().
|
pure virtual |
Implemented in bst::SoftwareStopwatch, and bst::Stopwatch.
Referenced by TEST().
|
pure virtual |
Implemented in bst::SoftwareStopwatch, and bst::Stopwatch.
|
pure virtual |
Implemented in bst::SoftwareStopwatch, and bst::Stopwatch.
|
pure virtual |
Implemented in bst::SoftwareStopwatch, and bst::Stopwatch.
|
pure virtual |
Implemented in bst::SoftwareStopwatch, and bst::Stopwatch.
|
pure virtual |
Implemented in bst::SoftwareStopwatch, and bst::Stopwatch.
Referenced by TEST().
|
pure virtual |
Implemented in bst::SoftwareStopwatch, and bst::Stopwatch.
|
pure virtual |
Implemented in bst::SoftwareStopwatch, and bst::Stopwatch.
|
pure virtual |
Implemented in bst::SoftwareStopwatch, and bst::Stopwatch.
|
pure virtual |
Implemented in bst::SoftwareStopwatch, and bst::Stopwatch.
|
pure virtual |
Implemented in bst::SoftwareStopwatch, and bst::Stopwatch.
|
protected |
The state of the stopwatch.