Go to the documentation of this file.
18 #ifndef GZ_GUI_PLUGINS_WORLDCONTROL_HH_
19 #define GZ_GUI_PLUGINS_WORLDCONTROL_HH_
24 #pragma warning(push, 0)
30 #include <gz/transport.hh>
35 # define WorldControl_EXPORTS_API
37 # if (defined(WorldControl_EXPORTS))
38 # define WorldControl_EXPORTS_API __declspec(dllexport)
40 # define WorldControl_EXPORTS_API __declspec(dllimport)
50 class WorldControlPrivate;
81 public:
void LoadConfig(
const tinyxml2::XMLElement *_pluginElem);
84 public slots:
void ProcessMsg();
87 public slots:
void OnPlay();
90 public slots:
void OnPause();
93 public slots:
void OnStep();
97 public slots:
void OnStepCount(
const unsigned int _steps);
100 signals:
void playing();
103 signals:
void paused();
106 private:
void OnWorldStatsMsg(
const gz::msgs::WorldStatistics &_msg);
This plugin provides a world control panel which may have a play / pause and step buttons.
Definition: WorldControl.hh:70
Base class for Gazebo GUI plugins.
Definition: gz/gui/Plugin.hh:54
#define WorldControl_EXPORTS_API
Definition: WorldControl.hh:35