A plugin with access to physics::Model.
More...
#include <Plugin.hh>
|
typedef ModelPlugin * | TPtr |
| plugin pointer type definition
|
|
static TPtr | Create (const std::string &_filename, const std::string &_handle) |
| a class method that creates a plugin from a file name.
|
|
std::string | filename |
| Path to the shared library file.
|
|
std::string | handle |
| Short name.
|
|
PluginType | type |
| Type of plugin.
|
|
A plugin with access to physics::Model.
See reference.
gazebo::ModelPlugin::ModelPlugin |
( |
| ) |
|
|
inline |
virtual gazebo::ModelPlugin::~ModelPlugin |
( |
| ) |
|
|
inlinevirtual |
virtual void gazebo::ModelPlugin::Init |
( |
| ) |
|
|
inlinevirtual |
Override this method for custom plugin initialization behavior.
Load function.
Called when a Plugin is first created, and after the World has been loaded. This function should not be blocking.
- Parameters
-
[in] | _model | Pointer to the Model |
[in] | _sdf | Pointer to the SDF element of the plugin. |
virtual void gazebo::ModelPlugin::Reset |
( |
| ) |
|
|
inlinevirtual |
Override this method for custom plugin reset behavior.
The documentation for this class was generated from the following file: