All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
msgs.hh File Reference
#include <string>
#include <sdf/sdf.hh>
#include "gazebo/msgs/MessageTypes.hh"
#include "gazebo/math/MathTypes.hh"
#include "gazebo/math/Vector3.hh"
#include "gazebo/math/Pose.hh"
#include "gazebo/math/Plane.hh"
#include "gazebo/math/Box.hh"
#include "gazebo/common/Color.hh"
#include "gazebo/common/Time.hh"
Include dependency graph for msgs.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  gazebo
 Forward declarations for the common classes.
namespace  gazebo::msgs
 Messages namespace.


msgs::Vector3d gazebo::msgs::Convert (const math::Vector3 &_v)
 Convert a math::Vector3 to a msgs::Vector3d.
msgs::Quaternion gazebo::msgs::Convert (const math::Quaternion &_q)
 Convert a math::Quaternion to a msgs::Quaternion.
msgs::Pose gazebo::msgs::Convert (const math::Pose &_p)
 Convert a math::Pose to a msgs::Pose.
msgs::Color gazebo::msgs::Convert (const common::Color &_c)
 Convert a common::Color to a msgs::Color.
msgs::Time gazebo::msgs::Convert (const common::Time &_t)
 Convert a common::Time to a msgs::Time.
msgs::PlaneGeom gazebo::msgs::Convert (const math::Plane &_p)
 Convert a math::Plane to a msgs::PlaneGeom.
math::Vector3 gazebo::msgs::Convert (const msgs::Vector3d &_v)
 Convert a msgs::Vector3d to a math::Vector.
math::Quaternion gazebo::msgs::Convert (const msgs::Quaternion &_q)
 Convert a msgs::Quaternion to a math::Quaternion.
math::Pose gazebo::msgs::Convert (const msgs::Pose &_p)
 Convert a msgs::Pose to a math::Pose.
common::Color gazebo::msgs::Convert (const msgs::Color &_c)
 Convert a msgs::Color to a common::Color.
common::Time gazebo::msgs::Convert (const msgs::Time &_t)
 Convert a msgs::Time to a common::Time.
math::Plane gazebo::msgs::Convert (const msgs::PlaneGeom &_p)
 Convert a msgs::PlaneGeom to a common::Plane.
msgs::Request * gazebo::msgs::CreateRequest (const std::string &_request, const std::string &_data="")
 Create a request message.
msgs::Fog gazebo::msgs::FogFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Fog from a fog SDF element.
msgs::Geometry gazebo::msgs::GeometryFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Geometry from a geometry SDF element.
msgs::Header * gazebo::msgs::GetHeader (google::protobuf::Message &_message)
 Get the header from a protobuf message.
msgs::GUI gazebo::msgs::GUIFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::GUI from a GUI SDF element.
void gazebo::msgs::Init (google::protobuf::Message &_message, const std::string &_id="")
 Initialize a message.
msgs::Light gazebo::msgs::LightFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Light from a light SDF element.
msgs::MeshGeom gazebo::msgs::MeshFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::MeshGeom from a mesh SDF element.
msgs::Scene gazebo::msgs::SceneFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Scene from a scene SDF element.
void gazebo::msgs::Set (common::Image &_img, const msgs::Image &_msg)
 Convert a msgs::Image to a common::Image.
void gazebo::msgs::Set (msgs::Image *_msg, const common::Image &_i)
 Set a msgs::Image from a common::Image.
void gazebo::msgs::Set (msgs::Vector3d *_pt, const math::Vector3 &_v)
 Set a msgs::Vector3d from a math::Vector3.
void gazebo::msgs::Set (msgs::Vector2d *_pt, const math::Vector2d &_v)
 Set a msgs::Vector2d from a math::Vector3.
void gazebo::msgs::Set (msgs::Quaternion *_q, const math::Quaternion &_v)
 Set a msgs::Quaternion from a math::Quaternion.
void gazebo::msgs::Set (msgs::Pose *_p, const math::Pose &_v)
 Set a msgs::Pose from a math::Pose.
void gazebo::msgs::Set (msgs::Color *_c, const common::Color &_v)
 Set a msgs::Color from a common::Color.
void gazebo::msgs::Set (msgs::Time *_t, const common::Time &_v)
 Set a msgs::Time from a common::Time.
void gazebo::msgs::Set (msgs::PlaneGeom *_p, const math::Plane &_v)
 Set a msgs::Plane from a math::Plane.
void gazebo::msgs::Stamp (msgs::Header *_header)
 Time stamp a header.
void gazebo::msgs::Stamp (msgs::Time *_time)
 Set the time in a time message.
msgs::TrackVisual gazebo::msgs::TrackVisualFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::TrackVisual from a track visual SDF element.
msgs::Visual gazebo::msgs::VisualFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Visual from a visual SDF element.