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 =
"");
114 bool saveINI(
const boost::filesystem::path &_file);
GZ_GUI_VISIBLE void set_world(const std::string &_name)
#define GZ_GUI_VISIBLE
Definition: system.hh:284
GZ_GUI_VISIBLE bool loadINI(boost::filesystem::path _file="")
Locate and load the INI configuration file.
GZ_GUI_VISIBLE rendering::UserCameraPtr get_active_camera()
GZ_GUI_VISIBLE void set_active_camera(rendering::UserCameraPtr _cam)
GZ_GUI_VISIBLE bool has_entity_name(const std::string &_name)
GZ_GUI_VISIBLE void init()
GZ_GUI_VISIBLE std::string get_world()
GZ_GUI_VISIBLE bool load()
Load the graphical interface.
GZ_GUI_VISIBLE void clear_active_camera()
GZ_GUI_VISIBLE bool run(int _argc, char **_argv)
GZ_GUI_VISIBLE MainWindow * get_main_window()
Return a pointer to the main graphical window.
GZ_GUI_VISIBLE void stop()
T getINIProperty(const std::string &_key, const T &_default)
Get a property from the GUI INI file.
Definition: GuiIface.hh:85
GZ_GUI_VISIBLE unsigned int get_entity_id(const std::string &_name)
GZ_GUI_VISIBLE boost::property_tree::ptree g_propTree
bool setINIProperty(const std::string &_key, const T &_value)
Set a value in the INI property tree.
Definition: GuiIface.hh:104
boost::shared_ptr< UserCamera > UserCameraPtr
Definition: RenderTypes.hh:92
GZ_GUI_VISIBLE bool saveINI(const boost::filesystem::path &_file)
Save the configuration parameters to file.