All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Physics.hh File Reference
#include <string>
#include "gazebo/physics/PhysicsTypes.hh"
#include "gazebo/sdf/sdf.hh"
Include dependency graph for Physics.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)
 Run world by calling World::Run() given a pointer to it.
 
void gazebo::physics::run_worlds ()
 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