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" GAZEBO_VISIBLE gazebo::GUIPlugin *RegisterPlugin(); \
GAZEBO_VISIBLE \
gazebo::GUIPlugin *RegisterPlugin() \
{\
return new classname();\
}
A plugin loaded within the gzclient on startup.
Definition: GuiPlugin.hh:26
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:66

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