Go to the documentation of this file.00001
00002 #ifndef ARTICULATION_STRUCTURE_MESSAGE_POSESTAMPEDIDMSG_H
00003 #define ARTICULATION_STRUCTURE_MESSAGE_POSESTAMPEDIDMSG_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "geometry_msgs/PoseStamped.h"
00018
00019 namespace articulation_structure
00020 {
00021 template <class ContainerAllocator>
00022 struct PoseStampedIdMsg_ {
00023 typedef PoseStampedIdMsg_<ContainerAllocator> Type;
00024
00025 PoseStampedIdMsg_()
00026 : pose()
00027 , id(0)
00028 {
00029 }
00030
00031 PoseStampedIdMsg_(const ContainerAllocator& _alloc)
00032 : pose(_alloc)
00033 , id(0)
00034 {
00035 }
00036
00037 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_type;
00038 ::geometry_msgs::PoseStamped_<ContainerAllocator> pose;
00039
00040 typedef uint32_t _id_type;
00041 uint32_t id;
00042
00043
00044 typedef boost::shared_ptr< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::articulation_structure::PoseStampedIdMsg_<std::allocator<void> > PoseStampedIdMsg;
00049
00050 typedef boost::shared_ptr< ::articulation_structure::PoseStampedIdMsg> PoseStampedIdMsgPtr;
00051 typedef boost::shared_ptr< ::articulation_structure::PoseStampedIdMsg const> PoseStampedIdMsgConstPtr;
00052
00053
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> & v)
00056 {
00057 ros::message_operations::Printer< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> >::stream(s, "", v);
00058 return s;}
00059
00060 }
00061
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> > {
00070 static const char* value()
00071 {
00072 return "b8aa1da8c5ac88617c490008a96c6564";
00073 }
00074
00075 static const char* value(const ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> &) { return value(); }
00076 static const uint64_t static_value1 = 0xb8aa1da8c5ac8861ULL;
00077 static const uint64_t static_value2 = 0x7c490008a96c6564ULL;
00078 };
00079
00080 template<class ContainerAllocator>
00081 struct DataType< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> > {
00082 static const char* value()
00083 {
00084 return "articulation_structure/PoseStampedIdMsg";
00085 }
00086
00087 static const char* value(const ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> &) { return value(); }
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct Definition< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "geometry_msgs/PoseStamped pose\n\
00095 uint32 id\n\
00096 \n\
00097 ================================================================================\n\
00098 MSG: geometry_msgs/PoseStamped\n\
00099 # A Pose with reference coordinate frame and timestamp\n\
00100 Header header\n\
00101 Pose pose\n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: std_msgs/Header\n\
00105 # Standard metadata for higher-level stamped data types.\n\
00106 # This is generally used to communicate timestamped data \n\
00107 # in a particular coordinate frame.\n\
00108 # \n\
00109 # sequence ID: consecutively increasing ID \n\
00110 uint32 seq\n\
00111 #Two-integer timestamp that is expressed as:\n\
00112 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00113 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00114 # time-handling sugar is provided by the client library\n\
00115 time stamp\n\
00116 #Frame this data is associated with\n\
00117 # 0: no frame\n\
00118 # 1: global frame\n\
00119 string frame_id\n\
00120 \n\
00121 ================================================================================\n\
00122 MSG: geometry_msgs/Pose\n\
00123 # A representation of pose in free space, composed of postion and orientation. \n\
00124 Point position\n\
00125 Quaternion orientation\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: geometry_msgs/Point\n\
00129 # This contains the position of a point in free space\n\
00130 float64 x\n\
00131 float64 y\n\
00132 float64 z\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: geometry_msgs/Quaternion\n\
00136 # This represents an orientation in free space in quaternion form.\n\
00137 \n\
00138 float64 x\n\
00139 float64 y\n\
00140 float64 z\n\
00141 float64 w\n\
00142 \n\
00143 ";
00144 }
00145
00146 static const char* value(const ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> &) { return value(); }
00147 };
00148
00149 }
00150 }
00151
00152 namespace ros
00153 {
00154 namespace serialization
00155 {
00156
00157 template<class ContainerAllocator> struct Serializer< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> >
00158 {
00159 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00160 {
00161 stream.next(m.pose);
00162 stream.next(m.id);
00163 }
00164
00165 ROS_DECLARE_ALLINONE_SERIALIZER;
00166 };
00167 }
00168 }
00169
00170 namespace ros
00171 {
00172 namespace message_operations
00173 {
00174
00175 template<class ContainerAllocator>
00176 struct Printer< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> >
00177 {
00178 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> & v)
00179 {
00180 s << indent << "pose: ";
00181 s << std::endl;
00182 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00183 s << indent << "id: ";
00184 Printer<uint32_t>::stream(s, indent + " ", v.id);
00185 }
00186 };
00187
00188
00189 }
00190 }
00191
00192 #endif // ARTICULATION_STRUCTURE_MESSAGE_POSESTAMPEDIDMSG_H
00193