$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-ias_common/doc_stacks/2013-03-01_15-41-55.252100/ias_common/annotation_srvs/srv/TriangleMeshToName.srv */ 00002 #ifndef ANNOTATION_SRVS_SERVICE_TRIANGLEMESHTONAME_H 00003 #define ANNOTATION_SRVS_SERVICE_TRIANGLEMESHTONAME_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 #include "triangle_mesh_msgs/TriangleMesh.h" 00020 00021 00022 00023 namespace annotation_srvs 00024 { 00025 template <class ContainerAllocator> 00026 struct TriangleMeshToNameRequest_ { 00027 typedef TriangleMeshToNameRequest_<ContainerAllocator> Type; 00028 00029 TriangleMeshToNameRequest_() 00030 : mesh() 00031 { 00032 } 00033 00034 TriangleMeshToNameRequest_(const ContainerAllocator& _alloc) 00035 : mesh(_alloc) 00036 { 00037 } 00038 00039 typedef ::triangle_mesh_msgs::TriangleMesh_<ContainerAllocator> _mesh_type; 00040 ::triangle_mesh_msgs::TriangleMesh_<ContainerAllocator> mesh; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "annotation_srvs/TriangleMeshToNameRequest"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "c9fa2982cc45237506b1b8c8a4d4623c"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getServerMD5Sum_() { return "962f6681d8f3f343ad5f5edeffbd3870"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00061 00062 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00063 00064 private: 00065 static const char* __s_getMessageDefinition_() { return "\n\ 00066 \n\ 00067 triangle_mesh_msgs/TriangleMesh mesh\n\ 00068 \n\ 00069 ================================================================================\n\ 00070 MSG: triangle_mesh_msgs/TriangleMesh\n\ 00071 Header header\n\ 00072 geometry_msgs/Point32[] points\n\ 00073 geometry_msgs/Point32[] normals\n\ 00074 float32[] intensities\n\ 00075 triangle_mesh_msgs/Triangle[] triangles\n\ 00076 string sending_node\n\ 00077 \n\ 00078 ================================================================================\n\ 00079 MSG: std_msgs/Header\n\ 00080 # Standard metadata for higher-level stamped data types.\n\ 00081 # This is generally used to communicate timestamped data \n\ 00082 # in a particular coordinate frame.\n\ 00083 # \n\ 00084 # sequence ID: consecutively increasing ID \n\ 00085 uint32 seq\n\ 00086 #Two-integer timestamp that is expressed as:\n\ 00087 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00088 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00089 # time-handling sugar is provided by the client library\n\ 00090 time stamp\n\ 00091 #Frame this data is associated with\n\ 00092 # 0: no frame\n\ 00093 # 1: global frame\n\ 00094 string frame_id\n\ 00095 \n\ 00096 ================================================================================\n\ 00097 MSG: geometry_msgs/Point32\n\ 00098 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00099 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00100 # \n\ 00101 # This recommendation is to promote interoperability. \n\ 00102 #\n\ 00103 # This message is designed to take up less space when sending\n\ 00104 # lots of points at once, as in the case of a PointCloud. \n\ 00105 \n\ 00106 float32 x\n\ 00107 float32 y\n\ 00108 float32 z\n\ 00109 ================================================================================\n\ 00110 MSG: triangle_mesh_msgs/Triangle\n\ 00111 int32 i\n\ 00112 int32 j\n\ 00113 int32 k\n\ 00114 \n\ 00115 \n\ 00116 \n\ 00117 "; } 00118 public: 00119 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00120 00121 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00122 00123 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00124 { 00125 ros::serialization::OStream stream(write_ptr, 1000000000); 00126 ros::serialization::serialize(stream, mesh); 00127 return stream.getData(); 00128 } 00129 00130 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00131 { 00132 ros::serialization::IStream stream(read_ptr, 1000000000); 00133 ros::serialization::deserialize(stream, mesh); 00134 return stream.getData(); 00135 } 00136 00137 ROS_DEPRECATED virtual uint32_t serializationLength() const 00138 { 00139 uint32_t size = 0; 00140 size += ros::serialization::serializationLength(mesh); 00141 return size; 00142 } 00143 00144 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > Ptr; 00145 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> const> ConstPtr; 00146 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00147 }; // struct TriangleMeshToNameRequest 00148 typedef ::annotation_srvs::TriangleMeshToNameRequest_<std::allocator<void> > TriangleMeshToNameRequest; 00149 00150 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameRequest> TriangleMeshToNameRequestPtr; 00151 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameRequest const> TriangleMeshToNameRequestConstPtr; 00152 00153 00154 template <class ContainerAllocator> 00155 struct TriangleMeshToNameResponse_ { 00156 typedef TriangleMeshToNameResponse_<ContainerAllocator> Type; 00157 00158 TriangleMeshToNameResponse_() 00159 : name() 00160 { 00161 } 00162 00163 TriangleMeshToNameResponse_(const ContainerAllocator& _alloc) 00164 : name(_alloc) 00165 { 00166 } 00167 00168 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type; 00169 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name; 00170 00171 00172 private: 00173 static const char* __s_getDataType_() { return "annotation_srvs/TriangleMeshToNameResponse"; } 00174 public: 00175 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00176 00177 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00178 00179 private: 00180 static const char* __s_getMD5Sum_() { return "c1f3d28f1b044c871e6eff2e9fc3c667"; } 00181 public: 00182 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00183 00184 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00185 00186 private: 00187 static const char* __s_getServerMD5Sum_() { return "962f6681d8f3f343ad5f5edeffbd3870"; } 00188 public: 00189 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00190 00191 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00192 00193 private: 00194 static const char* __s_getMessageDefinition_() { return "string name\n\ 00195 \n\ 00196 "; } 00197 public: 00198 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00199 00200 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00201 00202 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00203 { 00204 ros::serialization::OStream stream(write_ptr, 1000000000); 00205 ros::serialization::serialize(stream, name); 00206 return stream.getData(); 00207 } 00208 00209 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00210 { 00211 ros::serialization::IStream stream(read_ptr, 1000000000); 00212 ros::serialization::deserialize(stream, name); 00213 return stream.getData(); 00214 } 00215 00216 ROS_DEPRECATED virtual uint32_t serializationLength() const 00217 { 00218 uint32_t size = 0; 00219 size += ros::serialization::serializationLength(name); 00220 return size; 00221 } 00222 00223 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > Ptr; 00224 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> const> ConstPtr; 00225 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00226 }; // struct TriangleMeshToNameResponse 00227 typedef ::annotation_srvs::TriangleMeshToNameResponse_<std::allocator<void> > TriangleMeshToNameResponse; 00228 00229 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameResponse> TriangleMeshToNameResponsePtr; 00230 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameResponse const> TriangleMeshToNameResponseConstPtr; 00231 00232 struct TriangleMeshToName 00233 { 00234 00235 typedef TriangleMeshToNameRequest Request; 00236 typedef TriangleMeshToNameResponse Response; 00237 Request request; 00238 Response response; 00239 00240 typedef Request RequestType; 00241 typedef Response ResponseType; 00242 }; // struct TriangleMeshToName 00243 } // namespace annotation_srvs 00244 00245 namespace ros 00246 { 00247 namespace message_traits 00248 { 00249 template<class ContainerAllocator> struct IsMessage< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > : public TrueType {}; 00250 template<class ContainerAllocator> struct IsMessage< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> const> : public TrueType {}; 00251 template<class ContainerAllocator> 00252 struct MD5Sum< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > { 00253 static const char* value() 00254 { 00255 return "c9fa2982cc45237506b1b8c8a4d4623c"; 00256 } 00257 00258 static const char* value(const ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> &) { return value(); } 00259 static const uint64_t static_value1 = 0xc9fa2982cc452375ULL; 00260 static const uint64_t static_value2 = 0x06b1b8c8a4d4623cULL; 00261 }; 00262 00263 template<class ContainerAllocator> 00264 struct DataType< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > { 00265 static const char* value() 00266 { 00267 return "annotation_srvs/TriangleMeshToNameRequest"; 00268 } 00269 00270 static const char* value(const ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> &) { return value(); } 00271 }; 00272 00273 template<class ContainerAllocator> 00274 struct Definition< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > { 00275 static const char* value() 00276 { 00277 return "\n\ 00278 \n\ 00279 triangle_mesh_msgs/TriangleMesh mesh\n\ 00280 \n\ 00281 ================================================================================\n\ 00282 MSG: triangle_mesh_msgs/TriangleMesh\n\ 00283 Header header\n\ 00284 geometry_msgs/Point32[] points\n\ 00285 geometry_msgs/Point32[] normals\n\ 00286 float32[] intensities\n\ 00287 triangle_mesh_msgs/Triangle[] triangles\n\ 00288 string sending_node\n\ 00289 \n\ 00290 ================================================================================\n\ 00291 MSG: std_msgs/Header\n\ 00292 # Standard metadata for higher-level stamped data types.\n\ 00293 # This is generally used to communicate timestamped data \n\ 00294 # in a particular coordinate frame.\n\ 00295 # \n\ 00296 # sequence ID: consecutively increasing ID \n\ 00297 uint32 seq\n\ 00298 #Two-integer timestamp that is expressed as:\n\ 00299 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00300 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00301 # time-handling sugar is provided by the client library\n\ 00302 time stamp\n\ 00303 #Frame this data is associated with\n\ 00304 # 0: no frame\n\ 00305 # 1: global frame\n\ 00306 string frame_id\n\ 00307 \n\ 00308 ================================================================================\n\ 00309 MSG: geometry_msgs/Point32\n\ 00310 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00311 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00312 # \n\ 00313 # This recommendation is to promote interoperability. \n\ 00314 #\n\ 00315 # This message is designed to take up less space when sending\n\ 00316 # lots of points at once, as in the case of a PointCloud. \n\ 00317 \n\ 00318 float32 x\n\ 00319 float32 y\n\ 00320 float32 z\n\ 00321 ================================================================================\n\ 00322 MSG: triangle_mesh_msgs/Triangle\n\ 00323 int32 i\n\ 00324 int32 j\n\ 00325 int32 k\n\ 00326 \n\ 00327 \n\ 00328 \n\ 00329 "; 00330 } 00331 00332 static const char* value(const ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> &) { return value(); } 00333 }; 00334 00335 } // namespace message_traits 00336 } // namespace ros 00337 00338 00339 namespace ros 00340 { 00341 namespace message_traits 00342 { 00343 template<class ContainerAllocator> struct IsMessage< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > : public TrueType {}; 00344 template<class ContainerAllocator> struct IsMessage< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> const> : public TrueType {}; 00345 template<class ContainerAllocator> 00346 struct MD5Sum< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > { 00347 static const char* value() 00348 { 00349 return "c1f3d28f1b044c871e6eff2e9fc3c667"; 00350 } 00351 00352 static const char* value(const ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> &) { return value(); } 00353 static const uint64_t static_value1 = 0xc1f3d28f1b044c87ULL; 00354 static const uint64_t static_value2 = 0x1e6eff2e9fc3c667ULL; 00355 }; 00356 00357 template<class ContainerAllocator> 00358 struct DataType< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > { 00359 static const char* value() 00360 { 00361 return "annotation_srvs/TriangleMeshToNameResponse"; 00362 } 00363 00364 static const char* value(const ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> &) { return value(); } 00365 }; 00366 00367 template<class ContainerAllocator> 00368 struct Definition< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > { 00369 static const char* value() 00370 { 00371 return "string name\n\ 00372 \n\ 00373 "; 00374 } 00375 00376 static const char* value(const ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> &) { return value(); } 00377 }; 00378 00379 } // namespace message_traits 00380 } // namespace ros 00381 00382 namespace ros 00383 { 00384 namespace serialization 00385 { 00386 00387 template<class ContainerAllocator> struct Serializer< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > 00388 { 00389 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00390 { 00391 stream.next(m.mesh); 00392 } 00393 00394 ROS_DECLARE_ALLINONE_SERIALIZER; 00395 }; // struct TriangleMeshToNameRequest_ 00396 } // namespace serialization 00397 } // namespace ros 00398 00399 00400 namespace ros 00401 { 00402 namespace serialization 00403 { 00404 00405 template<class ContainerAllocator> struct Serializer< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > 00406 { 00407 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00408 { 00409 stream.next(m.name); 00410 } 00411 00412 ROS_DECLARE_ALLINONE_SERIALIZER; 00413 }; // struct TriangleMeshToNameResponse_ 00414 } // namespace serialization 00415 } // namespace ros 00416 00417 namespace ros 00418 { 00419 namespace service_traits 00420 { 00421 template<> 00422 struct MD5Sum<annotation_srvs::TriangleMeshToName> { 00423 static const char* value() 00424 { 00425 return "962f6681d8f3f343ad5f5edeffbd3870"; 00426 } 00427 00428 static const char* value(const annotation_srvs::TriangleMeshToName&) { return value(); } 00429 }; 00430 00431 template<> 00432 struct DataType<annotation_srvs::TriangleMeshToName> { 00433 static const char* value() 00434 { 00435 return "annotation_srvs/TriangleMeshToName"; 00436 } 00437 00438 static const char* value(const annotation_srvs::TriangleMeshToName&) { return value(); } 00439 }; 00440 00441 template<class ContainerAllocator> 00442 struct MD5Sum<annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > { 00443 static const char* value() 00444 { 00445 return "962f6681d8f3f343ad5f5edeffbd3870"; 00446 } 00447 00448 static const char* value(const annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> &) { return value(); } 00449 }; 00450 00451 template<class ContainerAllocator> 00452 struct DataType<annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > { 00453 static const char* value() 00454 { 00455 return "annotation_srvs/TriangleMeshToName"; 00456 } 00457 00458 static const char* value(const annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> &) { return value(); } 00459 }; 00460 00461 template<class ContainerAllocator> 00462 struct MD5Sum<annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > { 00463 static const char* value() 00464 { 00465 return "962f6681d8f3f343ad5f5edeffbd3870"; 00466 } 00467 00468 static const char* value(const annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> &) { return value(); } 00469 }; 00470 00471 template<class ContainerAllocator> 00472 struct DataType<annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > { 00473 static const char* value() 00474 { 00475 return "annotation_srvs/TriangleMeshToName"; 00476 } 00477 00478 static const char* value(const annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> &) { return value(); } 00479 }; 00480 00481 } // namespace service_traits 00482 } // namespace ros 00483 00484 #endif // ANNOTATION_SRVS_SERVICE_TRIANGLEMESHTONAME_H 00485