The physics factory instantiates different physics engines.
More...
#include <physics/physics.hh>
The physics factory instantiates different physics engines.
static PhysicsEnginePtr gazebo::physics::PhysicsFactory::NewPhysicsEngine |
( |
const std::string & |
_className, |
|
|
WorldPtr |
_world |
|
) |
| |
|
static |
Create a new instance of a physics engine.
- Parameters
-
[in] | _className | Name of the physics class. |
[in] | _world | World to pass to the created physics engine. |
static void gazebo::physics::PhysicsFactory::RegisterAll |
( |
| ) |
|
|
static |
static void gazebo::physics::PhysicsFactory::RegisterPhysicsEngine |
( |
std::string |
_className, |
|
|
PhysicsFactoryFn |
_factoryfn |
|
) |
| |
|
static |
Register a physics class.
- Parameters
-
[in] | _className | Name of the physics class. |
[in] | _factoryfn | Function pointer used to create a physics engine. |
The documentation for this class was generated from the following file: