$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-octomap_mapping/doc_stacks/2013-03-05_12-03-36.446252/octomap_mapping/octomap_ros/msg/MoveMap.msg */ 00002 #ifndef OCTOMAP_ROS_MESSAGE_MOVEMAP_H 00003 #define OCTOMAP_ROS_MESSAGE_MOVEMAP_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 "std_msgs/Header.h" 00018 #include "geometry_msgs/Pose.h" 00019 00020 namespace octomap_ros 00021 { 00022 template <class ContainerAllocator> 00023 struct MoveMap_ { 00024 typedef MoveMap_<ContainerAllocator> Type; 00025 00026 MoveMap_() 00027 : header() 00028 , id(0) 00029 , transform() 00030 , absolute(false) 00031 { 00032 } 00033 00034 MoveMap_(const ContainerAllocator& _alloc) 00035 : header(_alloc) 00036 , id(0) 00037 , transform(_alloc) 00038 , absolute(false) 00039 { 00040 } 00041 00042 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00043 ::std_msgs::Header_<ContainerAllocator> header; 00044 00045 typedef int32_t _id_type; 00046 int32_t id; 00047 00048 typedef ::geometry_msgs::Pose_<ContainerAllocator> _transform_type; 00049 ::geometry_msgs::Pose_<ContainerAllocator> transform; 00050 00051 typedef uint8_t _absolute_type; 00052 uint8_t absolute; 00053 00054 00055 private: 00056 static const char* __s_getDataType_() { return "octomap_ros/MoveMap"; } 00057 public: 00058 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00059 00060 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00061 00062 private: 00063 static const char* __s_getMD5Sum_() { return "84410d37158df014272b36410da4920b"; } 00064 public: 00065 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00066 00067 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00068 00069 private: 00070 static const char* __s_getMessageDefinition_() { return "# update a map node in an o/h hierarchy\n\ 00071 Header header\n\ 00072 int32 id\n\ 00073 geometry_msgs/Pose transform\n\ 00074 bool absolute\n\ 00075 ================================================================================\n\ 00076 MSG: std_msgs/Header\n\ 00077 # Standard metadata for higher-level stamped data types.\n\ 00078 # This is generally used to communicate timestamped data \n\ 00079 # in a particular coordinate frame.\n\ 00080 # \n\ 00081 # sequence ID: consecutively increasing ID \n\ 00082 uint32 seq\n\ 00083 #Two-integer timestamp that is expressed as:\n\ 00084 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00085 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00086 # time-handling sugar is provided by the client library\n\ 00087 time stamp\n\ 00088 #Frame this data is associated with\n\ 00089 # 0: no frame\n\ 00090 # 1: global frame\n\ 00091 string frame_id\n\ 00092 \n\ 00093 ================================================================================\n\ 00094 MSG: geometry_msgs/Pose\n\ 00095 # A representation of pose in free space, composed of postion and orientation. \n\ 00096 Point position\n\ 00097 Quaternion orientation\n\ 00098 \n\ 00099 ================================================================================\n\ 00100 MSG: geometry_msgs/Point\n\ 00101 # This contains the position of a point in free space\n\ 00102 float64 x\n\ 00103 float64 y\n\ 00104 float64 z\n\ 00105 \n\ 00106 ================================================================================\n\ 00107 MSG: geometry_msgs/Quaternion\n\ 00108 # This represents an orientation in free space in quaternion form.\n\ 00109 \n\ 00110 float64 x\n\ 00111 float64 y\n\ 00112 float64 z\n\ 00113 float64 w\n\ 00114 \n\ 00115 "; } 00116 public: 00117 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00118 00119 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00120 00121 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00122 { 00123 ros::serialization::OStream stream(write_ptr, 1000000000); 00124 ros::serialization::serialize(stream, header); 00125 ros::serialization::serialize(stream, id); 00126 ros::serialization::serialize(stream, transform); 00127 ros::serialization::serialize(stream, absolute); 00128 return stream.getData(); 00129 } 00130 00131 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00132 { 00133 ros::serialization::IStream stream(read_ptr, 1000000000); 00134 ros::serialization::deserialize(stream, header); 00135 ros::serialization::deserialize(stream, id); 00136 ros::serialization::deserialize(stream, transform); 00137 ros::serialization::deserialize(stream, absolute); 00138 return stream.getData(); 00139 } 00140 00141 ROS_DEPRECATED virtual uint32_t serializationLength() const 00142 { 00143 uint32_t size = 0; 00144 size += ros::serialization::serializationLength(header); 00145 size += ros::serialization::serializationLength(id); 00146 size += ros::serialization::serializationLength(transform); 00147 size += ros::serialization::serializationLength(absolute); 00148 return size; 00149 } 00150 00151 typedef boost::shared_ptr< ::octomap_ros::MoveMap_<ContainerAllocator> > Ptr; 00152 typedef boost::shared_ptr< ::octomap_ros::MoveMap_<ContainerAllocator> const> ConstPtr; 00153 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00154 }; // struct MoveMap 00155 typedef ::octomap_ros::MoveMap_<std::allocator<void> > MoveMap; 00156 00157 typedef boost::shared_ptr< ::octomap_ros::MoveMap> MoveMapPtr; 00158 typedef boost::shared_ptr< ::octomap_ros::MoveMap const> MoveMapConstPtr; 00159 00160 00161 template<typename ContainerAllocator> 00162 std::ostream& operator<<(std::ostream& s, const ::octomap_ros::MoveMap_<ContainerAllocator> & v) 00163 { 00164 ros::message_operations::Printer< ::octomap_ros::MoveMap_<ContainerAllocator> >::stream(s, "", v); 00165 return s;} 00166 00167 } // namespace octomap_ros 00168 00169 namespace ros 00170 { 00171 namespace message_traits 00172 { 00173 template<class ContainerAllocator> struct IsMessage< ::octomap_ros::MoveMap_<ContainerAllocator> > : public TrueType {}; 00174 template<class ContainerAllocator> struct IsMessage< ::octomap_ros::MoveMap_<ContainerAllocator> const> : public TrueType {}; 00175 template<class ContainerAllocator> 00176 struct MD5Sum< ::octomap_ros::MoveMap_<ContainerAllocator> > { 00177 static const char* value() 00178 { 00179 return "84410d37158df014272b36410da4920b"; 00180 } 00181 00182 static const char* value(const ::octomap_ros::MoveMap_<ContainerAllocator> &) { return value(); } 00183 static const uint64_t static_value1 = 0x84410d37158df014ULL; 00184 static const uint64_t static_value2 = 0x272b36410da4920bULL; 00185 }; 00186 00187 template<class ContainerAllocator> 00188 struct DataType< ::octomap_ros::MoveMap_<ContainerAllocator> > { 00189 static const char* value() 00190 { 00191 return "octomap_ros/MoveMap"; 00192 } 00193 00194 static const char* value(const ::octomap_ros::MoveMap_<ContainerAllocator> &) { return value(); } 00195 }; 00196 00197 template<class ContainerAllocator> 00198 struct Definition< ::octomap_ros::MoveMap_<ContainerAllocator> > { 00199 static const char* value() 00200 { 00201 return "# update a map node in an o/h hierarchy\n\ 00202 Header header\n\ 00203 int32 id\n\ 00204 geometry_msgs/Pose transform\n\ 00205 bool absolute\n\ 00206 ================================================================================\n\ 00207 MSG: std_msgs/Header\n\ 00208 # Standard metadata for higher-level stamped data types.\n\ 00209 # This is generally used to communicate timestamped data \n\ 00210 # in a particular coordinate frame.\n\ 00211 # \n\ 00212 # sequence ID: consecutively increasing ID \n\ 00213 uint32 seq\n\ 00214 #Two-integer timestamp that is expressed as:\n\ 00215 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00216 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00217 # time-handling sugar is provided by the client library\n\ 00218 time stamp\n\ 00219 #Frame this data is associated with\n\ 00220 # 0: no frame\n\ 00221 # 1: global frame\n\ 00222 string frame_id\n\ 00223 \n\ 00224 ================================================================================\n\ 00225 MSG: geometry_msgs/Pose\n\ 00226 # A representation of pose in free space, composed of postion and orientation. \n\ 00227 Point position\n\ 00228 Quaternion orientation\n\ 00229 \n\ 00230 ================================================================================\n\ 00231 MSG: geometry_msgs/Point\n\ 00232 # This contains the position of a point in free space\n\ 00233 float64 x\n\ 00234 float64 y\n\ 00235 float64 z\n\ 00236 \n\ 00237 ================================================================================\n\ 00238 MSG: geometry_msgs/Quaternion\n\ 00239 # This represents an orientation in free space in quaternion form.\n\ 00240 \n\ 00241 float64 x\n\ 00242 float64 y\n\ 00243 float64 z\n\ 00244 float64 w\n\ 00245 \n\ 00246 "; 00247 } 00248 00249 static const char* value(const ::octomap_ros::MoveMap_<ContainerAllocator> &) { return value(); } 00250 }; 00251 00252 template<class ContainerAllocator> struct HasHeader< ::octomap_ros::MoveMap_<ContainerAllocator> > : public TrueType {}; 00253 template<class ContainerAllocator> struct HasHeader< const ::octomap_ros::MoveMap_<ContainerAllocator> > : public TrueType {}; 00254 } // namespace message_traits 00255 } // namespace ros 00256 00257 namespace ros 00258 { 00259 namespace serialization 00260 { 00261 00262 template<class ContainerAllocator> struct Serializer< ::octomap_ros::MoveMap_<ContainerAllocator> > 00263 { 00264 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00265 { 00266 stream.next(m.header); 00267 stream.next(m.id); 00268 stream.next(m.transform); 00269 stream.next(m.absolute); 00270 } 00271 00272 ROS_DECLARE_ALLINONE_SERIALIZER; 00273 }; // struct MoveMap_ 00274 } // namespace serialization 00275 } // namespace ros 00276 00277 namespace ros 00278 { 00279 namespace message_operations 00280 { 00281 00282 template<class ContainerAllocator> 00283 struct Printer< ::octomap_ros::MoveMap_<ContainerAllocator> > 00284 { 00285 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::octomap_ros::MoveMap_<ContainerAllocator> & v) 00286 { 00287 s << indent << "header: "; 00288 s << std::endl; 00289 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00290 s << indent << "id: "; 00291 Printer<int32_t>::stream(s, indent + " ", v.id); 00292 s << indent << "transform: "; 00293 s << std::endl; 00294 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.transform); 00295 s << indent << "absolute: "; 00296 Printer<uint8_t>::stream(s, indent + " ", v.absolute); 00297 } 00298 }; 00299 00300 00301 } // namespace message_operations 00302 } // namespace ros 00303 00304 #endif // OCTOMAP_ROS_MESSAGE_MOVEMAP_H 00305