17 #ifndef _GZ_GUI_PLUGIN_HH_
18 #define _GZ_GUI_PLUGIN_HH_
39 public:
virtual void Load(sdf::ElementPtr ) {}
46 #define GZ_REGISTER_GUI_PLUGIN(classname) \
47 extern "C" GAZEBO_VISIBLE gazebo::GUIPlugin *RegisterPlugin(); \
49 gazebo::GUIPlugin *RegisterPlugin() \
51 return new classname();\
virtual void Load(sdf::ElementPtr)
Load function.
Definition: GuiPlugin.hh:39
A plugin loaded within the gzclient on startup.
Definition: GuiPlugin.hh:26
GUIPlugin()
Definition: GuiPlugin.hh:28
#define NULL
Definition: CommonTypes.hh:30
A class which all plugins must inherit from.
Definition: Plugin.hh:71
A GUI plugin.
Definition: Plugin.hh:64
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48