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.
◆ PlotManager()
◆ ~PlotManager()
◆ AddIntrospectionCurve()
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. |
◆ AddTopicCurve()
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. |
◆ AddWindow()
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 |
◆ HumanReadableName()
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
◆ Instance()
Get an instance of the singleton.
◆ OnWorldControl()
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 |
◆ RemoveIntrospectionCurve()
Remove an introspection curve from the manager.
- Parameters
-
[in] | _curve | Curve to remove. |
◆ RemoveTopicCurve()
Remove a topic curve from the manager.
- Parameters
-
[in] | _curve | Curve to remove. |
◆ RemoveWindow()
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: