All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
PhysicsIface.hh File Reference
#include <string>
#include <sdf/sdf.hh>
#include "gazebo/physics/PhysicsTypes.hh"
Include dependency graph for PhysicsIface.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gazebo
 Forward declarations for the common classes.
namespace  gazebo::physics
 namespace for physics

Functions

WorldPtr gazebo::physics::create_world (const std::string &_name="")
 Create a world given a name.
bool gazebo::physics::fini ()
 Finalize transport by calling gazebo::transport::fini.
WorldPtr gazebo::physics::get_world (const std::string &_name="")
 Returns a pointer to a world by name.
void gazebo::physics::init_world (WorldPtr _world)
 Init world given a pointer to it.
void gazebo::physics::init_worlds ()
 initialize multiple worlds stored in static variable gazebo::g_worlds
bool gazebo::physics::load ()
 Setup gazebo::SystemPlugin's and call gazebo::transport::init.
void gazebo::physics::load_world (WorldPtr _world, sdf::ElementPtr _sdf)
 Load world from sdf::Element pointer.
void gazebo::physics::load_worlds (sdf::ElementPtr _sdf)
 load multiple worlds from single sdf::Element pointer
void gazebo::physics::pause_world (WorldPtr _world, bool _pause)
 Pause world by calling World::SetPaused.
void gazebo::physics::pause_worlds (bool pause)
 pause multiple worlds stored in static variable gazebo::g_worlds
void gazebo::physics::remove_worlds ()
 remove multiple worlds stored in static variable gazebo::g_worlds
void gazebo::physics::run_world (WorldPtr _world, unsigned int _iterations=0)
 Run world by calling World::Run() given a pointer to it.
void gazebo::physics::run_worlds (unsigned int _iterations=0)
 Run multiple worlds stored in static variable gazebo::g_worlds.
void gazebo::physics::stop_world (WorldPtr _world)
 Stop world by calling World::Stop() given a pointer to it.
void gazebo::physics::stop_worlds ()
 stop multiple worlds stored in static variable gazebo::g_worlds
bool gazebo::physics::worlds_running ()
 Return true if any world is running.