$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/srv/GetOctomap.srv */ 00002 #ifndef OCTOMAP_ROS_SERVICE_GETOCTOMAP_H 00003 #define OCTOMAP_ROS_SERVICE_GETOCTOMAP_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 "ros/service_traits.h" 00018 00019 00020 00021 #include "octomap_ros/OctomapBinary.h" 00022 00023 namespace octomap_ros 00024 { 00025 template <class ContainerAllocator> 00026 struct GetOctomapRequest_ { 00027 typedef GetOctomapRequest_<ContainerAllocator> Type; 00028 00029 GetOctomapRequest_() 00030 { 00031 } 00032 00033 GetOctomapRequest_(const ContainerAllocator& _alloc) 00034 { 00035 } 00036 00037 00038 private: 00039 static const char* __s_getDataType_() { return "octomap_ros/GetOctomapRequest"; } 00040 public: 00041 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00042 00043 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00044 00045 private: 00046 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00047 public: 00048 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00049 00050 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00051 00052 private: 00053 static const char* __s_getServerMD5Sum_() { return "c74335a6bc30ba3766f4f6bcc2364be3"; } 00054 public: 00055 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00056 00057 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00058 00059 private: 00060 static const char* __s_getMessageDefinition_() { return "\n\ 00061 \n\ 00062 "; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00065 00066 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00067 00068 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00069 { 00070 ros::serialization::OStream stream(write_ptr, 1000000000); 00071 return stream.getData(); 00072 } 00073 00074 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00075 { 00076 ros::serialization::IStream stream(read_ptr, 1000000000); 00077 return stream.getData(); 00078 } 00079 00080 ROS_DEPRECATED virtual uint32_t serializationLength() const 00081 { 00082 uint32_t size = 0; 00083 return size; 00084 } 00085 00086 typedef boost::shared_ptr< ::octomap_ros::GetOctomapRequest_<ContainerAllocator> > Ptr; 00087 typedef boost::shared_ptr< ::octomap_ros::GetOctomapRequest_<ContainerAllocator> const> ConstPtr; 00088 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00089 }; // struct GetOctomapRequest 00090 typedef ::octomap_ros::GetOctomapRequest_<std::allocator<void> > GetOctomapRequest; 00091 00092 typedef boost::shared_ptr< ::octomap_ros::GetOctomapRequest> GetOctomapRequestPtr; 00093 typedef boost::shared_ptr< ::octomap_ros::GetOctomapRequest const> GetOctomapRequestConstPtr; 00094 00095 00096 template <class ContainerAllocator> 00097 struct GetOctomapResponse_ { 00098 typedef GetOctomapResponse_<ContainerAllocator> Type; 00099 00100 GetOctomapResponse_() 00101 : map() 00102 { 00103 } 00104 00105 GetOctomapResponse_(const ContainerAllocator& _alloc) 00106 : map(_alloc) 00107 { 00108 } 00109 00110 typedef ::octomap_ros::OctomapBinary_<ContainerAllocator> _map_type; 00111 ::octomap_ros::OctomapBinary_<ContainerAllocator> map; 00112 00113 00114 private: 00115 static const char* __s_getDataType_() { return "octomap_ros/GetOctomapResponse"; } 00116 public: 00117 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00118 00119 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00120 00121 private: 00122 static const char* __s_getMD5Sum_() { return "c74335a6bc30ba3766f4f6bcc2364be3"; } 00123 public: 00124 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00125 00126 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00127 00128 private: 00129 static const char* __s_getServerMD5Sum_() { return "c74335a6bc30ba3766f4f6bcc2364be3"; } 00130 public: 00131 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00132 00133 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00134 00135 private: 00136 static const char* __s_getMessageDefinition_() { return "octomap_ros/OctomapBinary map\n\ 00137 \n\ 00138 \n\ 00139 ================================================================================\n\ 00140 MSG: octomap_ros/OctomapBinary\n\ 00141 # A 3D map in binary format, as Octree\n\ 00142 Header header\n\ 00143 int8[] data\n\ 00144 ================================================================================\n\ 00145 MSG: std_msgs/Header\n\ 00146 # Standard metadata for higher-level stamped data types.\n\ 00147 # This is generally used to communicate timestamped data \n\ 00148 # in a particular coordinate frame.\n\ 00149 # \n\ 00150 # sequence ID: consecutively increasing ID \n\ 00151 uint32 seq\n\ 00152 #Two-integer timestamp that is expressed as:\n\ 00153 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00154 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00155 # time-handling sugar is provided by the client library\n\ 00156 time stamp\n\ 00157 #Frame this data is associated with\n\ 00158 # 0: no frame\n\ 00159 # 1: global frame\n\ 00160 string frame_id\n\ 00161 \n\ 00162 "; } 00163 public: 00164 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00165 00166 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00167 00168 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00169 { 00170 ros::serialization::OStream stream(write_ptr, 1000000000); 00171 ros::serialization::serialize(stream, map); 00172 return stream.getData(); 00173 } 00174 00175 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00176 { 00177 ros::serialization::IStream stream(read_ptr, 1000000000); 00178 ros::serialization::deserialize(stream, map); 00179 return stream.getData(); 00180 } 00181 00182 ROS_DEPRECATED virtual uint32_t serializationLength() const 00183 { 00184 uint32_t size = 0; 00185 size += ros::serialization::serializationLength(map); 00186 return size; 00187 } 00188 00189 typedef boost::shared_ptr< ::octomap_ros::GetOctomapResponse_<ContainerAllocator> > Ptr; 00190 typedef boost::shared_ptr< ::octomap_ros::GetOctomapResponse_<ContainerAllocator> const> ConstPtr; 00191 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00192 }; // struct GetOctomapResponse 00193 typedef ::octomap_ros::GetOctomapResponse_<std::allocator<void> > GetOctomapResponse; 00194 00195 typedef boost::shared_ptr< ::octomap_ros::GetOctomapResponse> GetOctomapResponsePtr; 00196 typedef boost::shared_ptr< ::octomap_ros::GetOctomapResponse const> GetOctomapResponseConstPtr; 00197 00198 struct GetOctomap 00199 { 00200 00201 typedef GetOctomapRequest Request; 00202 typedef GetOctomapResponse Response; 00203 Request request; 00204 Response response; 00205 00206 typedef Request RequestType; 00207 typedef Response ResponseType; 00208 }; // struct GetOctomap 00209 } // namespace octomap_ros 00210 00211 namespace ros 00212 { 00213 namespace message_traits 00214 { 00215 template<class ContainerAllocator> struct IsMessage< ::octomap_ros::GetOctomapRequest_<ContainerAllocator> > : public TrueType {}; 00216 template<class ContainerAllocator> struct IsMessage< ::octomap_ros::GetOctomapRequest_<ContainerAllocator> const> : public TrueType {}; 00217 template<class ContainerAllocator> 00218 struct MD5Sum< ::octomap_ros::GetOctomapRequest_<ContainerAllocator> > { 00219 static const char* value() 00220 { 00221 return "d41d8cd98f00b204e9800998ecf8427e"; 00222 } 00223 00224 static const char* value(const ::octomap_ros::GetOctomapRequest_<ContainerAllocator> &) { return value(); } 00225 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00226 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00227 }; 00228 00229 template<class ContainerAllocator> 00230 struct DataType< ::octomap_ros::GetOctomapRequest_<ContainerAllocator> > { 00231 static const char* value() 00232 { 00233 return "octomap_ros/GetOctomapRequest"; 00234 } 00235 00236 static const char* value(const ::octomap_ros::GetOctomapRequest_<ContainerAllocator> &) { return value(); } 00237 }; 00238 00239 template<class ContainerAllocator> 00240 struct Definition< ::octomap_ros::GetOctomapRequest_<ContainerAllocator> > { 00241 static const char* value() 00242 { 00243 return "\n\ 00244 \n\ 00245 "; 00246 } 00247 00248 static const char* value(const ::octomap_ros::GetOctomapRequest_<ContainerAllocator> &) { return value(); } 00249 }; 00250 00251 template<class ContainerAllocator> struct IsFixedSize< ::octomap_ros::GetOctomapRequest_<ContainerAllocator> > : public TrueType {}; 00252 } // namespace message_traits 00253 } // namespace ros 00254 00255 00256 namespace ros 00257 { 00258 namespace message_traits 00259 { 00260 template<class ContainerAllocator> struct IsMessage< ::octomap_ros::GetOctomapResponse_<ContainerAllocator> > : public TrueType {}; 00261 template<class ContainerAllocator> struct IsMessage< ::octomap_ros::GetOctomapResponse_<ContainerAllocator> const> : public TrueType {}; 00262 template<class ContainerAllocator> 00263 struct MD5Sum< ::octomap_ros::GetOctomapResponse_<ContainerAllocator> > { 00264 static const char* value() 00265 { 00266 return "c74335a6bc30ba3766f4f6bcc2364be3"; 00267 } 00268 00269 static const char* value(const ::octomap_ros::GetOctomapResponse_<ContainerAllocator> &) { return value(); } 00270 static const uint64_t static_value1 = 0xc74335a6bc30ba37ULL; 00271 static const uint64_t static_value2 = 0x66f4f6bcc2364be3ULL; 00272 }; 00273 00274 template<class ContainerAllocator> 00275 struct DataType< ::octomap_ros::GetOctomapResponse_<ContainerAllocator> > { 00276 static const char* value() 00277 { 00278 return "octomap_ros/GetOctomapResponse"; 00279 } 00280 00281 static const char* value(const ::octomap_ros::GetOctomapResponse_<ContainerAllocator> &) { return value(); } 00282 }; 00283 00284 template<class ContainerAllocator> 00285 struct Definition< ::octomap_ros::GetOctomapResponse_<ContainerAllocator> > { 00286 static const char* value() 00287 { 00288 return "octomap_ros/OctomapBinary map\n\ 00289 \n\ 00290 \n\ 00291 ================================================================================\n\ 00292 MSG: octomap_ros/OctomapBinary\n\ 00293 # A 3D map in binary format, as Octree\n\ 00294 Header header\n\ 00295 int8[] data\n\ 00296 ================================================================================\n\ 00297 MSG: std_msgs/Header\n\ 00298 # Standard metadata for higher-level stamped data types.\n\ 00299 # This is generally used to communicate timestamped data \n\ 00300 # in a particular coordinate frame.\n\ 00301 # \n\ 00302 # sequence ID: consecutively increasing ID \n\ 00303 uint32 seq\n\ 00304 #Two-integer timestamp that is expressed as:\n\ 00305 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00306 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00307 # time-handling sugar is provided by the client library\n\ 00308 time stamp\n\ 00309 #Frame this data is associated with\n\ 00310 # 0: no frame\n\ 00311 # 1: global frame\n\ 00312 string frame_id\n\ 00313 \n\ 00314 "; 00315 } 00316 00317 static const char* value(const ::octomap_ros::GetOctomapResponse_<ContainerAllocator> &) { return value(); } 00318 }; 00319 00320 } // namespace message_traits 00321 } // namespace ros 00322 00323 namespace ros 00324 { 00325 namespace serialization 00326 { 00327 00328 template<class ContainerAllocator> struct Serializer< ::octomap_ros::GetOctomapRequest_<ContainerAllocator> > 00329 { 00330 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00331 { 00332 } 00333 00334 ROS_DECLARE_ALLINONE_SERIALIZER; 00335 }; // struct GetOctomapRequest_ 00336 } // namespace serialization 00337 } // namespace ros 00338 00339 00340 namespace ros 00341 { 00342 namespace serialization 00343 { 00344 00345 template<class ContainerAllocator> struct Serializer< ::octomap_ros::GetOctomapResponse_<ContainerAllocator> > 00346 { 00347 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00348 { 00349 stream.next(m.map); 00350 } 00351 00352 ROS_DECLARE_ALLINONE_SERIALIZER; 00353 }; // struct GetOctomapResponse_ 00354 } // namespace serialization 00355 } // namespace ros 00356 00357 namespace ros 00358 { 00359 namespace service_traits 00360 { 00361 template<> 00362 struct MD5Sum<octomap_ros::GetOctomap> { 00363 static const char* value() 00364 { 00365 return "c74335a6bc30ba3766f4f6bcc2364be3"; 00366 } 00367 00368 static const char* value(const octomap_ros::GetOctomap&) { return value(); } 00369 }; 00370 00371 template<> 00372 struct DataType<octomap_ros::GetOctomap> { 00373 static const char* value() 00374 { 00375 return "octomap_ros/GetOctomap"; 00376 } 00377 00378 static const char* value(const octomap_ros::GetOctomap&) { return value(); } 00379 }; 00380 00381 template<class ContainerAllocator> 00382 struct MD5Sum<octomap_ros::GetOctomapRequest_<ContainerAllocator> > { 00383 static const char* value() 00384 { 00385 return "c74335a6bc30ba3766f4f6bcc2364be3"; 00386 } 00387 00388 static const char* value(const octomap_ros::GetOctomapRequest_<ContainerAllocator> &) { return value(); } 00389 }; 00390 00391 template<class ContainerAllocator> 00392 struct DataType<octomap_ros::GetOctomapRequest_<ContainerAllocator> > { 00393 static const char* value() 00394 { 00395 return "octomap_ros/GetOctomap"; 00396 } 00397 00398 static const char* value(const octomap_ros::GetOctomapRequest_<ContainerAllocator> &) { return value(); } 00399 }; 00400 00401 template<class ContainerAllocator> 00402 struct MD5Sum<octomap_ros::GetOctomapResponse_<ContainerAllocator> > { 00403 static const char* value() 00404 { 00405 return "c74335a6bc30ba3766f4f6bcc2364be3"; 00406 } 00407 00408 static const char* value(const octomap_ros::GetOctomapResponse_<ContainerAllocator> &) { return value(); } 00409 }; 00410 00411 template<class ContainerAllocator> 00412 struct DataType<octomap_ros::GetOctomapResponse_<ContainerAllocator> > { 00413 static const char* value() 00414 { 00415 return "octomap_ros/GetOctomap"; 00416 } 00417 00418 static const char* value(const octomap_ros::GetOctomapResponse_<ContainerAllocator> &) { return value(); } 00419 }; 00420 00421 } // namespace service_traits 00422 } // namespace ros 00423 00424 #endif // OCTOMAP_ROS_SERVICE_GETOCTOMAP_H 00425