A plugin with access to physics::World.
More...
#include <Plugin.hh>
|
typedef WorldPlugin * | 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::World.
See reference.
gazebo::WorldPlugin::WorldPlugin |
( |
| ) |
|
|
inline |
virtual gazebo::WorldPlugin::~WorldPlugin |
( |
| ) |
|
|
inlinevirtual |
virtual void gazebo::WorldPlugin::Init |
( |
| ) |
|
|
inlinevirtual |
Load function.
Called when a Plugin is first created, and after the World has been loaded. This function should not be blocking.
- Parameters
-
[in] | _world | Pointer the World |
[in] | _sdf | Pointer the the SDF element of the plugin. |
virtual void gazebo::WorldPlugin::Reset |
( |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: