PhysicsIface.hh File Reference
#include <string>
#include <sdf/sdf.hh>
#include "gazebo/physics/PhysicsTypes.hh"
#include "gazebo/util/system.hh"

Go to the source code of this file.

Namespaces

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

Functions

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