Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::annotation_srvs::TriangleMeshToNameRequest_<std::allocator<void> > TriangleMeshToNameRequest;
00048
00049 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameRequest> TriangleMeshToNameRequestPtr;
00050 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameRequest const> TriangleMeshToNameRequestConstPtr;
00051
00052
00053
00054 template <class ContainerAllocator>
00055 struct TriangleMeshToNameResponse_ {
00056 typedef TriangleMeshToNameResponse_<ContainerAllocator> Type;
00057
00058 TriangleMeshToNameResponse_()
00059 : name()
00060 {
00061 }
00062
00063 TriangleMeshToNameResponse_(const ContainerAllocator& _alloc)
00064 : name(_alloc)
00065 {
00066 }
00067
00068 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00069 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00070
00071
00072 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > Ptr;
00073 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> const> ConstPtr;
00074 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 };
00076 typedef ::annotation_srvs::TriangleMeshToNameResponse_<std::allocator<void> > TriangleMeshToNameResponse;
00077
00078 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameResponse> TriangleMeshToNameResponsePtr;
00079 typedef boost::shared_ptr< ::annotation_srvs::TriangleMeshToNameResponse const> TriangleMeshToNameResponseConstPtr;
00080
00081
00082 struct TriangleMeshToName
00083 {
00084
00085 typedef TriangleMeshToNameRequest Request;
00086 typedef TriangleMeshToNameResponse Response;
00087 Request request;
00088 Response response;
00089
00090 typedef Request RequestType;
00091 typedef Response ResponseType;
00092 };
00093 }
00094
00095 namespace ros
00096 {
00097 namespace message_traits
00098 {
00099 template<class ContainerAllocator> struct IsMessage< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > : public TrueType {};
00100 template<class ContainerAllocator> struct IsMessage< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> const> : public TrueType {};
00101 template<class ContainerAllocator>
00102 struct MD5Sum< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > {
00103 static const char* value()
00104 {
00105 return "c9fa2982cc45237506b1b8c8a4d4623c";
00106 }
00107
00108 static const char* value(const ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> &) { return value(); }
00109 static const uint64_t static_value1 = 0xc9fa2982cc452375ULL;
00110 static const uint64_t static_value2 = 0x06b1b8c8a4d4623cULL;
00111 };
00112
00113 template<class ContainerAllocator>
00114 struct DataType< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "annotation_srvs/TriangleMeshToNameRequest";
00118 }
00119
00120 static const char* value(const ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> &) { return value(); }
00121 };
00122
00123 template<class ContainerAllocator>
00124 struct Definition< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > {
00125 static const char* value()
00126 {
00127 return "\n\
00128 \n\
00129 triangle_mesh_msgs/TriangleMesh mesh\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: triangle_mesh_msgs/TriangleMesh\n\
00133 Header header\n\
00134 geometry_msgs/Point32[] points\n\
00135 geometry_msgs/Point32[] normals\n\
00136 float32[] intensities\n\
00137 triangle_mesh_msgs/Triangle[] triangles\n\
00138 string sending_node\n\
00139 \n\
00140 ================================================================================\n\
00141 MSG: std_msgs/Header\n\
00142 # Standard metadata for higher-level stamped data types.\n\
00143 # This is generally used to communicate timestamped data \n\
00144 # in a particular coordinate frame.\n\
00145 # \n\
00146 # sequence ID: consecutively increasing ID \n\
00147 uint32 seq\n\
00148 #Two-integer timestamp that is expressed as:\n\
00149 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00150 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00151 # time-handling sugar is provided by the client library\n\
00152 time stamp\n\
00153 #Frame this data is associated with\n\
00154 # 0: no frame\n\
00155 # 1: global frame\n\
00156 string frame_id\n\
00157 \n\
00158 ================================================================================\n\
00159 MSG: geometry_msgs/Point32\n\
00160 # This contains the position of a point in free space(with 32 bits of precision).\n\
00161 # It is recommeded to use Point wherever possible instead of Point32. \n\
00162 # \n\
00163 # This recommendation is to promote interoperability. \n\
00164 #\n\
00165 # This message is designed to take up less space when sending\n\
00166 # lots of points at once, as in the case of a PointCloud. \n\
00167 \n\
00168 float32 x\n\
00169 float32 y\n\
00170 float32 z\n\
00171 ================================================================================\n\
00172 MSG: triangle_mesh_msgs/Triangle\n\
00173 int32 i\n\
00174 int32 j\n\
00175 int32 k\n\
00176 \n\
00177 \n\
00178 \n\
00179 ";
00180 }
00181
00182 static const char* value(const ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> &) { return value(); }
00183 };
00184
00185 }
00186 }
00187
00188
00189 namespace ros
00190 {
00191 namespace message_traits
00192 {
00193 template<class ContainerAllocator> struct IsMessage< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > : public TrueType {};
00194 template<class ContainerAllocator> struct IsMessage< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> const> : public TrueType {};
00195 template<class ContainerAllocator>
00196 struct MD5Sum< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > {
00197 static const char* value()
00198 {
00199 return "c1f3d28f1b044c871e6eff2e9fc3c667";
00200 }
00201
00202 static const char* value(const ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> &) { return value(); }
00203 static const uint64_t static_value1 = 0xc1f3d28f1b044c87ULL;
00204 static const uint64_t static_value2 = 0x1e6eff2e9fc3c667ULL;
00205 };
00206
00207 template<class ContainerAllocator>
00208 struct DataType< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > {
00209 static const char* value()
00210 {
00211 return "annotation_srvs/TriangleMeshToNameResponse";
00212 }
00213
00214 static const char* value(const ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> &) { return value(); }
00215 };
00216
00217 template<class ContainerAllocator>
00218 struct Definition< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > {
00219 static const char* value()
00220 {
00221 return "string name\n\
00222 \n\
00223 ";
00224 }
00225
00226 static const char* value(const ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> &) { return value(); }
00227 };
00228
00229 }
00230 }
00231
00232 namespace ros
00233 {
00234 namespace serialization
00235 {
00236
00237 template<class ContainerAllocator> struct Serializer< ::annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> >
00238 {
00239 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00240 {
00241 stream.next(m.mesh);
00242 }
00243
00244 ROS_DECLARE_ALLINONE_SERIALIZER;
00245 };
00246 }
00247 }
00248
00249
00250 namespace ros
00251 {
00252 namespace serialization
00253 {
00254
00255 template<class ContainerAllocator> struct Serializer< ::annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> >
00256 {
00257 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00258 {
00259 stream.next(m.name);
00260 }
00261
00262 ROS_DECLARE_ALLINONE_SERIALIZER;
00263 };
00264 }
00265 }
00266
00267 namespace ros
00268 {
00269 namespace service_traits
00270 {
00271 template<>
00272 struct MD5Sum<annotation_srvs::TriangleMeshToName> {
00273 static const char* value()
00274 {
00275 return "962f6681d8f3f343ad5f5edeffbd3870";
00276 }
00277
00278 static const char* value(const annotation_srvs::TriangleMeshToName&) { return value(); }
00279 };
00280
00281 template<>
00282 struct DataType<annotation_srvs::TriangleMeshToName> {
00283 static const char* value()
00284 {
00285 return "annotation_srvs/TriangleMeshToName";
00286 }
00287
00288 static const char* value(const annotation_srvs::TriangleMeshToName&) { return value(); }
00289 };
00290
00291 template<class ContainerAllocator>
00292 struct MD5Sum<annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > {
00293 static const char* value()
00294 {
00295 return "962f6681d8f3f343ad5f5edeffbd3870";
00296 }
00297
00298 static const char* value(const annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> &) { return value(); }
00299 };
00300
00301 template<class ContainerAllocator>
00302 struct DataType<annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> > {
00303 static const char* value()
00304 {
00305 return "annotation_srvs/TriangleMeshToName";
00306 }
00307
00308 static const char* value(const annotation_srvs::TriangleMeshToNameRequest_<ContainerAllocator> &) { return value(); }
00309 };
00310
00311 template<class ContainerAllocator>
00312 struct MD5Sum<annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > {
00313 static const char* value()
00314 {
00315 return "962f6681d8f3f343ad5f5edeffbd3870";
00316 }
00317
00318 static const char* value(const annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> &) { return value(); }
00319 };
00320
00321 template<class ContainerAllocator>
00322 struct DataType<annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> > {
00323 static const char* value()
00324 {
00325 return "annotation_srvs/TriangleMeshToName";
00326 }
00327
00328 static const char* value(const annotation_srvs::TriangleMeshToNameResponse_<ContainerAllocator> &) { return value(); }
00329 };
00330
00331 }
00332 }
00333
00334 #endif // ANNOTATION_SRVS_SERVICE_TRIANGLEMESHTONAME_H
00335