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