17 #ifndef _GAZEBO_GUIIFACE_HH_
18 #define _GAZEBO_GUIIFACE_HH_
21 #include <boost/property_tree/ptree.hpp>
22 #include <boost/filesystem.hpp>
42 bool run(
int _argc,
char **_argv);
78 bool loadINI(boost::filesystem::path _file =
"");
116 bool saveINI(
const boost::filesystem::path &_file);
GAZEBO_VISIBLE std::string get_world()
GAZEBO_VISIBLE rendering::UserCameraPtr get_active_camera()
GAZEBO_VISIBLE void set_active_camera(rendering::UserCameraPtr _cam)
GAZEBO_VISIBLE bool has_entity_name(const std::string &_name)
GAZEBO_VISIBLE boost::property_tree::ptree g_propTree
GAZEBO_VISIBLE bool run(int _argc, char **_argv)
GAZEBO_VISIBLE void set_world(const std::string &_name)
GAZEBO_VISIBLE bool loadINI(boost::filesystem::path _file="")
Locate and load the INI configuration file.
GAZEBO_VISIBLE T getINIProperty(const std::string &_key, const T &_default)
Get a property from the GUI INI file.
Definition: GuiIface.hh:86
GAZEBO_VISIBLE bool load()
Load the graphical interface.
GAZEBO_VISIBLE MainWindow * get_main_window()
Return a pointer to the main graphical window.
GAZEBO_VISIBLE void init()
GAZEBO_VISIBLE unsigned int get_entity_id(const std::string &_name)
GAZEBO_VISIBLE bool setINIProperty(const std::string &_key, const T &_value)
Set a value in the INI property tree.
Definition: GuiIface.hh:106
GAZEBO_VISIBLE void stop()
GAZEBO_VISIBLE bool saveINI(const boost::filesystem::path &_file)
Save the configuration parameters to file.
boost::shared_ptr< UserCamera > UserCameraPtr
Definition: RenderTypes.hh:91
GAZEBO_VISIBLE void clear_active_camera()
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:66