18 #ifndef _GAZEBO_PHYSICS_PRESETMANAGER_HH_    19 #define _GAZEBO_PHYSICS_PRESETMANAGER_HH_    21 #include <boost/any.hpp>    43       public: 
Preset(
const std::string & _name);
    50       public: std::string Name() 
const;
    56       public: 
bool GetParam(
const std::string &_key, boost::any &_value) 
const;
    61       public: 
bool SetParam(
const std::string &_key, 
const boost::any &_value);
    66       public: 
bool HasParam(
const std::string &_key) 
const;
    79       public: 
bool SetAllParamsFromSDF(
const sdf::ElementPtr _elem);
    85       private: 
bool SetAllParamsHelper(
const sdf::ElementPtr _elem);
    89       public: sdf::ElementPtr SDF() 
const;
    94       public: 
bool SDF(
const sdf::ElementPtr _sdfElement);
    97       private: PresetPrivate *dataPtr;
   100     class PresetManagerPrivate;
   110           const sdf::ElementPtr _sdf);
   118       public: 
bool CurrentProfile(
const std::string &_name);
   122       public: std::string CurrentProfile() 
const;
   126       public: std::vector<std::string> AllProfiles() 
const;
   133       public: 
bool SetProfileParam(
const std::string &_profileName,
   134           const std::string &_key, 
const boost::any &_value);
   141       public: 
bool GetProfileParam(
const std::string &_name,
   142           const std::string &_key, boost::any &_value) 
const;
   148       public: 
bool SetCurrentProfileParam(
const std::string &_key,
   149           const boost::any &_value);
   155       public: 
bool GetCurrentProfileParam(
const std::string &_key,
   162       public: 
bool CreateProfile(
const std::string &_name);
   169       public: std::string CreateProfile(
const sdf::ElementPtr _sdf);
   173       public: 
void RemoveProfile(
const std::string &_name);
   178       public: 
bool HasProfile(
const std::string &_name) 
const;
   184       public: sdf::ElementPtr ProfileSDF(
const std::string &_name) 
const;
   190       public: 
bool ProfileSDF(
const std::string &_name,
   191           const sdf::ElementPtr _sdf);
   196       public: 
void GenerateSDFFromPreset(
const std::string &_name,
   197           sdf::ElementPtr &_elem) 
const;
   202       private: 
void GenerateSDFHelper(
const Preset &_preset,
   203           sdf::ElementPtr &_elem) 
const;
   208       private: 
void GeneratePresetFromSDF(
const sdf::ElementPtr _elem,
   213       private: 
Preset *CurrentPreset() 
const;
   216       private: PresetManagerPrivate *dataPtr;
 Forward declarations for the common classes. 
Definition: Animation.hh:33
 
default namespace for gazebo 
 
boost::shared_ptr< PhysicsEngine > PhysicsEnginePtr
Definition: PhysicsTypes.hh:116
 
Class to manage preset physics profiles. 
Definition: PresetManager.hh:104
 
Representation of a preset physics profile. 
Definition: PresetManager.hh:36
 
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported. 
Definition: system.hh:59