DUNE: Uniform Navigational Environment
2016.09.0
|
Public Member Functions | |
Statistics (IMC::PlanStatistics *msg) | |
void | setProperties (unsigned prop) |
Protected Member Functions | |
void | addTuple (std::string &str, const std::string &name, float value, unsigned precision=1) |
void | addTuple (std::string &str, const std::string &name, const std::string &value) |
Protected Attributes | |
IMC::PlanStatistics * | m_ps |
|
inline |
Constructor.
[in] | msg | pointer to statistics message |
|
inlineprotected |
Add tuple with a floating point value.
[in] | str | string in which the tuple will be added |
[in] | name | the name of the tuple |
[in] | value | the value of the tuple |
[in] | precision | number of decimal places when printing |
Referenced by Plan::Engine::PreStatistics::fill(), Plan::Engine::RunTimeStatistics::fill(), Plan::Engine::RunTimeStatistics::fillCalib(), Plan::Engine::RunTimeStatistics::maneuverStopped(), and Plan::Engine::RunTimeStatistics::planStopped().
|
inlineprotected |
Add tuple with a string value.
[in] | str | string in which the tuple will be added |
[in] | name | the name of the tuple |
[in] | value | the value of the tuple |
|
inline |
|
protected |
Pointer to message.
Referenced by Plan::Engine::RunTimeStatistics::clear(), Plan::Engine::PreStatistics::fill(), Plan::Engine::RunTimeStatistics::fill(), Plan::Engine::RunTimeStatistics::fillCalib(), Plan::Engine::RunTimeStatistics::maneuverStopped(), Plan::Engine::RunTimeStatistics::planStopped(), Plan::Engine::PreStatistics::PreStatistics(), Plan::Engine::RunTimeStatistics::RunTimeStatistics(), and setProperties().