The Counter class is used to count events.
More...
#include <Sensors.hpp>
|
|
void | setName (std::string const &name) |
| |
|
Counter & | operator++ () |
| |
|
void | reset () |
| |
| auto const & | name () const noexcept |
| | Get the name of the counter.
|
| |
| auto | value () const noexcept |
| | Get the value of the counter.
|
| |
|
|
std::string | m_name {"N/A"} |
| |
|
std::size_t | m_counter {0} |
| |
The Counter class is used to count events.
◆ name()
| auto const & dsf::mobility::Counter::name |
( |
| ) |
const |
|
inlinenoexcept |
Get the name of the counter.
- Returns
- The name of the counter
◆ value()
| auto dsf::mobility::Counter::value |
( |
| ) |
const |
|
inlinenoexcept |
Get the value of the counter.
- Returns
- The value of the counter
The documentation for this class was generated from the following file:
- src/dsf/mobility/Sensors.hpp