Go to the documentation of this file.
17 #ifndef GAZEBO_GUI_PLOT_PLOTMANAGER_HH_
18 #define GAZEBO_GUI_PLOT_PLOTMANAGER_HH_
33 class PlotManagerPrivate;
49 public:
void OnWorldControl(ConstWorldControlPtr &_data);
55 public:
void AddIntrospectionCurve(
const std::string &_name,
66 public:
void AddTopicCurve(
const std::string &_topic,
80 public:
void RemoveWindow(
PlotWindow *_window);
85 public: std::string HumanReadableName(
const std::string &_uri)
const;
92 private: std::unique_ptr<PlotManagerPrivate> dataPtr;
default namespace for gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
Singleton template class.
Definition: SingletonT.hh:33
PlotManager()
Constructor.
void AddIntrospectionCurve(const std::string &_name, PlotCurveWeakPtr _curve)
Add an introspection curve to the manager.
void RemoveTopicCurve(PlotCurveWeakPtr _curve)
Remove a topic curve from the manager.
A class that connects simulation data with the plotting tool.
Definition: PlotManager.hh:38
std::string HumanReadableName(const std::string &_uri) const
Get Human-readable name from uri-formatted variable name.
void AddTopicCurve(const std::string &_topic, PlotCurveWeakPtr _curve)
Add a topic curve to the manager.
virtual ~PlotManager()
Destructor.
Plot window.
Definition: PlotWindow.hh:36
void RemoveIntrospectionCurve(PlotCurveWeakPtr _curve)
Remove an introspection curve from the manager.
std::weak_ptr< PlotCurve > PlotCurveWeakPtr
Definition: PlottingTypes.hh:41
void RemoveWindow(PlotWindow *_window)
Remove a plot window from the manager.
void AddWindow(PlotWindow *_window)
Add a plot window to the manager.
void OnWorldControl(ConstWorldControlPtr &_data)
Callback when a world control message is received.