A class that connects simulation data with the plotting tool.
More...
#include <PlotManager.hh>
Inherits SingletonT< PlotManager >.
A class that connects simulation data with the plotting tool.
void AddIntrospectionCurve |
( |
const std::string & |
_name, |
|
|
PlotCurveWeakPtr |
_curve |
|
) |
| |
Add an introspection curve to the manager.
Data received from the introspection client will be added to the curve
- Parameters
-
[in] | _name | Name of variable |
[in] | _curve | Curve that will be populated with data. |
Add a topic curve to the manager.
Data received from the topic subscriber will be added to the curve
- Parameters
-
[in] | _topic | Name of topic |
[in] | _curve | Curve that will be populated with data. |
Add a plot window to the manager.
The manager will listen to world events, e.g. Reset, and update the window's plots accordingly
- Parameters
-
[in] | _window | Plot window to add |
std::string HumanReadableName |
( |
const std::string & |
_uri | ) |
const |
Get Human-readable name from uri-formatted variable name.
- Parameters
-
[in] | _uri | URI representing the variable |
- Returns
- Human readable name
Get an instance of the singleton.
void OnWorldControl |
( |
ConstWorldControlPtr & |
_data | ) |
|
Callback when a world control message is received.
It is used to detect simulation resets.
- Parameters
-
[in] | _data | Message data containing world control commands |
Remove an introspection curve from the manager.
- Parameters
-
[in] | _curve | Curve to remove. |
Remove a topic curve from the manager.
- Parameters
-
[in] | _curve | Curve to remove. |
Remove a plot window from the manager.
- Parameters
-
[in] | _window | Plot window to remove. |
The documentation for this class was generated from the following file: