GuiIface.hh File Reference
#include <string>
#include <boost/property_tree/ptree.hpp>
#include <boost/filesystem.hpp>
#include "gazebo/rendering/RenderingIface.hh"
#include "gazebo/util/system.hh"

Go to the source code of this file.

Namespaces

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

Functions

void clear_active_camera ()
 
rendering::UserCameraPtr get_active_camera ()
 
unsigned int get_entity_id (const std::string &_name)
 
MainWindow * get_main_window ()
 Return a pointer to the main graphical window. More...
 
std::string get_world ()
 
template<typename T >
getINIProperty (const std::string &_key, const T &_default)
 Get a property from the GUI INI file. More...
 
bool has_entity_name (const std::string &_name)
 
void init ()
 
bool load ()
 Load the graphical interface. More...
 
bool loadINI (boost::filesystem::path _file="")
 Locate and load the INI configuration file. More...
 
bool run (int _argc, char **_argv)
 
bool saveINI (const boost::filesystem::path &_file)
 Save the configuration parameters to file. More...
 
void set_active_camera (rendering::UserCameraPtr _cam)
 
void set_world (const std::string &_name)
 
template<typename T >
bool setINIProperty (const std::string &_key, const T &_value)
 Set a value in the INI property tree. More...
 
void stop ()
 

Variables

boost::property_tree::ptree g_propTree
 

Variable Documentation

boost::property_tree::ptree g_propTree