Classes | Namespaces | Macros
GuiPlugin.hh File Reference
#include "gazebo/gui/qt.h"
#include "gazebo/common/Plugin.hh"
Include dependency graph for GuiPlugin.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gazebo::GUIPlugin
 A plugin loaded within the gzclient on startup. More...
 

Namespaces

 gazebo
 Forward declarations for the common classes.
 

Macros

#define GZ_REGISTER_GUI_PLUGIN(classname)
 Plugin registration function for gui plugin. More...
 

Macro Definition Documentation

#define GZ_REGISTER_GUI_PLUGIN (   classname)
Value:
extern "C" GZ_GUI_VISIBLE gazebo::GUIPlugin *RegisterPlugin(); \
GZ_GUI_VISIBLE \
gazebo::GUIPlugin *RegisterPlugin() \
{\
return new classname();\
}
#define GZ_GUI_VISIBLE
Definition: system.hh:284
A plugin loaded within the gzclient on startup.
Definition: GuiPlugin.hh:26

Plugin registration function for gui plugin.

Part of the shared object interface. This function is called when loading the shared library to add the plugin to the registered list.

Returns
the name of the registered plugin