Classes | Typedefs | Functions
gazebo::msgs Namespace Reference

Messages namespace. More...

Classes

class  MsgFactory
 A factory that generates protobuf message based on a string type. More...
 

Typedefs

typedef boost::shared_ptr
< google::protobuf::Message >(* 
MsgFactoryFn )()
 

Functions

GAZEBO_VISIBLE sdf::ElementPtr CameraSensorToSDF (const msgs::CameraSensor &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
 Create an SDF element from a msgs::CameraSensor. More...
 
GAZEBO_VISIBLE sdf::ElementPtr CollisionToSDF (const msgs::Collision &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
 Create an SDF element from a msgs::Collision. More...
 
GAZEBO_VISIBLE msgs::Vector3d Convert (const math::Vector3 &_v)
 Convert a math::Vector3 to a msgs::Vector3d. More...
 
GAZEBO_VISIBLE msgs::Vector2d Convert (const math::Vector2d &_v)
 Convert a math::Vector2d to a msgs::Vector2d. More...
 
GAZEBO_VISIBLE msgs::Quaternion Convert (const math::Quaternion &_q)
 Convert a math::Quaternion to a msgs::Quaternion. More...
 
GAZEBO_VISIBLE msgs::Pose Convert (const math::Pose &_p)
 Convert a math::Pose to a msgs::Pose. More...
 
GAZEBO_VISIBLE msgs::Color Convert (const common::Color &_c)
 Convert a common::Color to a msgs::Color. More...
 
GAZEBO_VISIBLE msgs::Time Convert (const common::Time &_t)
 Convert a common::Time to a msgs::Time. More...
 
GAZEBO_VISIBLE msgs::PlaneGeom Convert (const math::Plane &_p)
 Convert a math::Plane to a msgs::PlaneGeom. More...
 
GAZEBO_VISIBLE math::Vector3 Convert (const msgs::Vector3d &_v)
 Convert a msgs::Vector3d to a math::Vector. More...
 
GAZEBO_VISIBLE math::Vector2d Convert (const msgs::Vector2d &_v)
 Convert a msgs::Vector2d to a math::Vector2d. More...
 
GAZEBO_VISIBLE math::Quaternion Convert (const msgs::Quaternion &_q)
 Convert a msgs::Quaternion to a math::Quaternion. More...
 
GAZEBO_VISIBLE math::Pose Convert (const msgs::Pose &_p)
 Convert a msgs::Pose to a math::Pose. More...
 
GAZEBO_VISIBLE common::Color Convert (const msgs::Color &_c)
 Convert a msgs::Color to a common::Color. More...
 
GAZEBO_VISIBLE common::Time Convert (const msgs::Time &_t)
 Convert a msgs::Time to a common::Time. More...
 
GAZEBO_VISIBLE math::Plane Convert (const msgs::PlaneGeom &_p)
 Convert a msgs::PlaneGeom to a common::Plane. More...
 
GAZEBO_VISIBLE msgs::Joint::Type ConvertJointType (const std::string &_str)
 Convert a string to a msgs::Joint::Type enum. More...
 
GAZEBO_VISIBLE std::string ConvertJointType (const msgs::Joint::Type _type)
 Convert a msgs::Joint::Type to a string. More...
 
GAZEBO_VISIBLE msgs::Request * CreateRequest (const std::string &_request, const std::string &_data="")
 Create a request message. More...
 
GAZEBO_VISIBLE msgs::Fog FogFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Fog from a fog SDF element. More...
 
GAZEBO_VISIBLE msgs::Geometry GeometryFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Geometry from a geometry SDF element. More...
 
GAZEBO_VISIBLE sdf::ElementPtr GeometryToSDF (const msgs::Geometry &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
 Create an SDF element from a msgs::Geometry. More...
 
GAZEBO_VISIBLE msgs::Header * GetHeader (google::protobuf::Message &_message)
 Get the header from a protobuf message. More...
 
GAZEBO_VISIBLE msgs::GUI GUIFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::GUI from a GUI SDF element. More...
 
GAZEBO_VISIBLE sdf::ElementPtr InertialToSDF (const msgs::Inertial &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
 Create an SDF element from a msgs::Inertial. More...
 
GAZEBO_VISIBLE void Init (google::protobuf::Message &_message, const std::string &_id="")
 Initialize a message. More...
 
GAZEBO_VISIBLE msgs::Light LightFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Light from a light SDF element. More...
 
GAZEBO_VISIBLE sdf::ElementPtr LightToSDF (const msgs::Light &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
 Create an SDF element from a msgs::Light. More...
 
GAZEBO_VISIBLE sdf::ElementPtr LinkToSDF (const msgs::Link &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
 
GAZEBO_VISIBLE msgs::MeshGeom MeshFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::MeshGeom from a mesh SDF element. More...
 
GAZEBO_VISIBLE sdf::ElementPtr MeshToSDF (const msgs::MeshGeom &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
 Create an SDF element from a msgs::Mesh. More...
 
GAZEBO_VISIBLE sdf::ElementPtr PluginToSDF (const msgs::Plugin &_plugin, sdf::ElementPtr _sdf=sdf::ElementPtr())
 Create an SDF element from a msgs::Plugin. More...
 
GAZEBO_VISIBLE msgs::Scene SceneFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Scene from a scene SDF element. More...
 
GAZEBO_VISIBLE void Set (common::Image &_img, const msgs::Image &_msg)
 Convert a msgs::Image to a common::Image. More...
 
GAZEBO_VISIBLE void Set (msgs::Image *_msg, const common::Image &_i)
 Set a msgs::Image from a common::Image. More...
 
GAZEBO_VISIBLE void Set (msgs::Vector3d *_pt, const math::Vector3 &_v)
 Set a msgs::Vector3d from a math::Vector3. More...
 
GAZEBO_VISIBLE void Set (msgs::Vector2d *_pt, const math::Vector2d &_v)
 Set a msgs::Vector2d from a math::Vector3. More...
 
GAZEBO_VISIBLE void Set (msgs::Quaternion *_q, const math::Quaternion &_v)
 Set a msgs::Quaternion from a math::Quaternion. More...
 
GAZEBO_VISIBLE void Set (msgs::Pose *_p, const math::Pose &_v)
 Set a msgs::Pose from a math::Pose. More...
 
GAZEBO_VISIBLE void Set (msgs::Color *_c, const common::Color &_v)
 Set a msgs::Color from a common::Color. More...
 
GAZEBO_VISIBLE void Set (msgs::Time *_t, const common::Time &_v)
 Set a msgs::Time from a common::Time. More...
 
GAZEBO_VISIBLE void Set (msgs::SphericalCoordinates *_s, const common::SphericalCoordinates &_v)
 Set a msgs::SphericalCoordinates from a common::SphericalCoordinates object. More...
 
GAZEBO_VISIBLE void Set (msgs::PlaneGeom *_p, const math::Plane &_v)
 Set a msgs::Plane from a math::Plane. More...
 
GAZEBO_VISIBLE void Stamp (msgs::Header *_header)
 Time stamp a header. More...
 
GAZEBO_VISIBLE void Stamp (msgs::Time *_time)
 Set the time in a time message. More...
 
GAZEBO_VISIBLE sdf::ElementPtr SurfaceToSDF (const msgs::Surface &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
 Create an SDF element from a msgs::Surface. More...
 
GAZEBO_VISIBLE msgs::TrackVisual TrackVisualFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::TrackVisual from a track visual SDF element. More...
 
GAZEBO_VISIBLE msgs::Visual VisualFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Visual from a visual SDF element. More...
 

Detailed Description

Messages namespace.

Typedef Documentation

typedef boost::shared_ptr<google::protobuf::Message>(* gazebo::msgs::MsgFactoryFn)()