Go to the documentation of this file.00001
00002 #ifndef COVERAGE_3D_TOOLS_SERVICE_TABLEDETECTIONSERV_H
00003 #define COVERAGE_3D_TOOLS_SERVICE_TABLEDETECTIONSERV_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 "coverage_3d_msgs/TableDetection.h"
00022
00023 namespace coverage_3d_tools
00024 {
00025 template <class ContainerAllocator>
00026 struct TableDetectionServRequest_ {
00027 typedef TableDetectionServRequest_<ContainerAllocator> Type;
00028
00029 TableDetectionServRequest_()
00030 : type(0)
00031 , redetect(0)
00032 {
00033 }
00034
00035 TableDetectionServRequest_(const ContainerAllocator& _alloc)
00036 : type(0)
00037 , redetect(0)
00038 {
00039 }
00040
00041 typedef int64_t _type_type;
00042 int64_t type;
00043
00044 typedef int64_t _redetect_type;
00045 int64_t redetect;
00046
00047
00048 typedef boost::shared_ptr< ::coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> > Ptr;
00049 typedef boost::shared_ptr< ::coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> const> ConstPtr;
00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 };
00052 typedef ::coverage_3d_tools::TableDetectionServRequest_<std::allocator<void> > TableDetectionServRequest;
00053
00054 typedef boost::shared_ptr< ::coverage_3d_tools::TableDetectionServRequest> TableDetectionServRequestPtr;
00055 typedef boost::shared_ptr< ::coverage_3d_tools::TableDetectionServRequest const> TableDetectionServRequestConstPtr;
00056
00057
00058 template <class ContainerAllocator>
00059 struct TableDetectionServResponse_ {
00060 typedef TableDetectionServResponse_<ContainerAllocator> Type;
00061
00062 TableDetectionServResponse_()
00063 : table()
00064 {
00065 }
00066
00067 TableDetectionServResponse_(const ContainerAllocator& _alloc)
00068 : table(_alloc)
00069 {
00070 }
00071
00072 typedef ::coverage_3d_msgs::TableDetection_<ContainerAllocator> _table_type;
00073 ::coverage_3d_msgs::TableDetection_<ContainerAllocator> table;
00074
00075
00076 typedef boost::shared_ptr< ::coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> > Ptr;
00077 typedef boost::shared_ptr< ::coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> const> ConstPtr;
00078 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00079 };
00080 typedef ::coverage_3d_tools::TableDetectionServResponse_<std::allocator<void> > TableDetectionServResponse;
00081
00082 typedef boost::shared_ptr< ::coverage_3d_tools::TableDetectionServResponse> TableDetectionServResponsePtr;
00083 typedef boost::shared_ptr< ::coverage_3d_tools::TableDetectionServResponse const> TableDetectionServResponseConstPtr;
00084
00085 struct TableDetectionServ
00086 {
00087
00088 typedef TableDetectionServRequest Request;
00089 typedef TableDetectionServResponse Response;
00090 Request request;
00091 Response response;
00092
00093 typedef Request RequestType;
00094 typedef Response ResponseType;
00095 };
00096 }
00097
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> > : public TrueType {};
00103 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> const> : public TrueType {};
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "de103e18d4860fc762bd5a4178b3a259";
00109 }
00110
00111 static const char* value(const ::coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> &) { return value(); }
00112 static const uint64_t static_value1 = 0xde103e18d4860fc7ULL;
00113 static const uint64_t static_value2 = 0x62bd5a4178b3a259ULL;
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct DataType< ::coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "coverage_3d_tools/TableDetectionServRequest";
00121 }
00122
00123 static const char* value(const ::coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 template<class ContainerAllocator>
00127 struct Definition< ::coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> > {
00128 static const char* value()
00129 {
00130 return "int64 type\n\
00131 int64 redetect\n\
00132 \n\
00133 ";
00134 }
00135
00136 static const char* value(const ::coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> &) { return value(); }
00137 };
00138
00139 template<class ContainerAllocator> struct IsFixedSize< ::coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> > : public TrueType {};
00140 }
00141 }
00142
00143
00144 namespace ros
00145 {
00146 namespace message_traits
00147 {
00148 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> > : public TrueType {};
00149 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> const> : public TrueType {};
00150 template<class ContainerAllocator>
00151 struct MD5Sum< ::coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> > {
00152 static const char* value()
00153 {
00154 return "838ce8f0cb28b1afff051bc28d6c3d87";
00155 }
00156
00157 static const char* value(const ::coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> &) { return value(); }
00158 static const uint64_t static_value1 = 0x838ce8f0cb28b1afULL;
00159 static const uint64_t static_value2 = 0xff051bc28d6c3d87ULL;
00160 };
00161
00162 template<class ContainerAllocator>
00163 struct DataType< ::coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> > {
00164 static const char* value()
00165 {
00166 return "coverage_3d_tools/TableDetectionServResponse";
00167 }
00168
00169 static const char* value(const ::coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> &) { return value(); }
00170 };
00171
00172 template<class ContainerAllocator>
00173 struct Definition< ::coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> > {
00174 static const char* value()
00175 {
00176 return "coverage_3d_msgs/TableDetection table\n\
00177 \n\
00178 \n\
00179 ================================================================================\n\
00180 MSG: coverage_3d_msgs/TableDetection\n\
00181 #This message holds a collection of 3d points, plus optional additional information about each point.\n\
00182 #Each Point32 should be interpreted as a 3d point in the frame given in the header\n\
00183 \n\
00184 Header header\n\
00185 int32 type #0: rectangle, 1:convex hull, 2:concave hull\n\
00186 geometry_msgs/Pose center\n\
00187 geometry_msgs/Point scale # not used for the convex hull\n\
00188 geometry_msgs/Point[] points #Array of 3d points on the outline of the table where spanning vectors intersect table boundary\n\
00189 geometry_msgs/Point[] hull #Array containing convex or concave hull, this was requested\n\
00190 \n\
00191 ================================================================================\n\
00192 MSG: std_msgs/Header\n\
00193 # Standard metadata for higher-level stamped data types.\n\
00194 # This is generally used to communicate timestamped data \n\
00195 # in a particular coordinate frame.\n\
00196 # \n\
00197 # sequence ID: consecutively increasing ID \n\
00198 uint32 seq\n\
00199 #Two-integer timestamp that is expressed as:\n\
00200 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00201 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00202 # time-handling sugar is provided by the client library\n\
00203 time stamp\n\
00204 #Frame this data is associated with\n\
00205 # 0: no frame\n\
00206 # 1: global frame\n\
00207 string frame_id\n\
00208 \n\
00209 ================================================================================\n\
00210 MSG: geometry_msgs/Pose\n\
00211 # A representation of pose in free space, composed of postion and orientation. \n\
00212 Point position\n\
00213 Quaternion orientation\n\
00214 \n\
00215 ================================================================================\n\
00216 MSG: geometry_msgs/Point\n\
00217 # This contains the position of a point in free space\n\
00218 float64 x\n\
00219 float64 y\n\
00220 float64 z\n\
00221 \n\
00222 ================================================================================\n\
00223 MSG: geometry_msgs/Quaternion\n\
00224 # This represents an orientation in free space in quaternion form.\n\
00225 \n\
00226 float64 x\n\
00227 float64 y\n\
00228 float64 z\n\
00229 float64 w\n\
00230 \n\
00231 ";
00232 }
00233
00234 static const char* value(const ::coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> &) { return value(); }
00235 };
00236
00237 }
00238 }
00239
00240 namespace ros
00241 {
00242 namespace serialization
00243 {
00244
00245 template<class ContainerAllocator> struct Serializer< ::coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> >
00246 {
00247 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00248 {
00249 stream.next(m.type);
00250 stream.next(m.redetect);
00251 }
00252
00253 ROS_DECLARE_ALLINONE_SERIALIZER;
00254 };
00255 }
00256 }
00257
00258
00259 namespace ros
00260 {
00261 namespace serialization
00262 {
00263
00264 template<class ContainerAllocator> struct Serializer< ::coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> >
00265 {
00266 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00267 {
00268 stream.next(m.table);
00269 }
00270
00271 ROS_DECLARE_ALLINONE_SERIALIZER;
00272 };
00273 }
00274 }
00275
00276 namespace ros
00277 {
00278 namespace service_traits
00279 {
00280 template<>
00281 struct MD5Sum<coverage_3d_tools::TableDetectionServ> {
00282 static const char* value()
00283 {
00284 return "1b87d54b73884f88fe67b2ddff4e7675";
00285 }
00286
00287 static const char* value(const coverage_3d_tools::TableDetectionServ&) { return value(); }
00288 };
00289
00290 template<>
00291 struct DataType<coverage_3d_tools::TableDetectionServ> {
00292 static const char* value()
00293 {
00294 return "coverage_3d_tools/TableDetectionServ";
00295 }
00296
00297 static const char* value(const coverage_3d_tools::TableDetectionServ&) { return value(); }
00298 };
00299
00300 template<class ContainerAllocator>
00301 struct MD5Sum<coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> > {
00302 static const char* value()
00303 {
00304 return "1b87d54b73884f88fe67b2ddff4e7675";
00305 }
00306
00307 static const char* value(const coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> &) { return value(); }
00308 };
00309
00310 template<class ContainerAllocator>
00311 struct DataType<coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> > {
00312 static const char* value()
00313 {
00314 return "coverage_3d_tools/TableDetectionServ";
00315 }
00316
00317 static const char* value(const coverage_3d_tools::TableDetectionServRequest_<ContainerAllocator> &) { return value(); }
00318 };
00319
00320 template<class ContainerAllocator>
00321 struct MD5Sum<coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> > {
00322 static const char* value()
00323 {
00324 return "1b87d54b73884f88fe67b2ddff4e7675";
00325 }
00326
00327 static const char* value(const coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> &) { return value(); }
00328 };
00329
00330 template<class ContainerAllocator>
00331 struct DataType<coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> > {
00332 static const char* value()
00333 {
00334 return "coverage_3d_tools/TableDetectionServ";
00335 }
00336
00337 static const char* value(const coverage_3d_tools::TableDetectionServResponse_<ContainerAllocator> &) { return value(); }
00338 };
00339
00340 }
00341 }
00342
00343 #endif // COVERAGE_3D_TOOLS_SERVICE_TABLEDETECTIONSERV_H
00344