GuiPlugin.hh File Reference

Go to the source code of this file.

Classes

class  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

◆ GZ_REGISTER_GUI_PLUGIN

#define GZ_REGISTER_GUI_PLUGIN (   classname)
Value:
extern "C" gazebo::GUIPlugin *RegisterPlugin(); \
gazebo::GUIPlugin *RegisterPlugin() \
{\
return new classname();\
}
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