A plugin loaded within the gzserver on startup. More...
#include <Plugin.hh>
Public Member Functions | |
SystemPlugin () | |
Constructor. More... | |
virtual | ~SystemPlugin () |
Destructor. More... | |
virtual void | Init () |
Initialize the plugin. More... | |
virtual void | Load (int _argc=0, char **_argv=NULL)=0 |
Load function. More... | |
virtual void | Reset () |
Override this method for custom plugin reset behavior. More... | |
Public Member Functions inherited from gazebo::PluginT< SystemPlugin > | |
PluginT () | |
Constructor. More... | |
virtual | ~PluginT () |
Destructor. More... | |
std::string | GetFilename () const |
Get the name of the handler. More... | |
std::string | GetHandle () const |
Get the short name of the handler. More... | |
PluginType | GetType () const |
Returns the type of the plugin. More... | |
Additional Inherited Members | |
Public Types inherited from gazebo::PluginT< SystemPlugin > | |
typedef boost::shared_ptr < SystemPlugin > | TPtr |
plugin pointer type definition More... | |
Static Public Member Functions inherited from gazebo::PluginT< SystemPlugin > | |
static TPtr | Create (const std::string &_filename, const std::string &_handle) |
a class method that creates a plugin from a file name. More... | |
Protected Attributes inherited from gazebo::PluginT< SystemPlugin > | |
std::string | filename |
Path to the shared library file. More... | |
std::string | handle |
Short name. More... | |
PluginType | type |
Type of plugin. More... | |
A plugin loaded within the gzserver on startup.
See reference.
|
inline |
Constructor.
References gazebo::SYSTEM_PLUGIN, and gazebo::PluginT< SystemPlugin >::type.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Initialize the plugin.
Called after Gazebo has been loaded. Must not block.
|
pure virtual |
Load function.
Called before Gazebo is loaded. Must not block.
_argc | Number of command line arguments. |
_argv | Array of command line arguments. |
|
inlinevirtual |
Override this method for custom plugin reset behavior.