Go to the documentation of this file.00001
00002 #ifndef COVERAGE_3D_TOOLS_SERVICE_COVERCONVEXPOLYGON_H
00003 #define COVERAGE_3D_TOOLS_SERVICE_COVERCONVEXPOLYGON_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 "geometry_msgs/Point.h"
00020
00021
00022 #include "geometry_msgs/Point.h"
00023
00024 namespace coverage_3d_tools
00025 {
00026 template <class ContainerAllocator>
00027 struct CoverConvexPolygonRequest_ {
00028 typedef CoverConvexPolygonRequest_<ContainerAllocator> Type;
00029
00030 CoverConvexPolygonRequest_()
00031 : polygon()
00032 {
00033 }
00034
00035 CoverConvexPolygonRequest_(const ContainerAllocator& _alloc)
00036 : polygon(_alloc)
00037 {
00038 }
00039
00040 typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > _polygon_type;
00041 std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > polygon;
00042
00043
00044 typedef boost::shared_ptr< ::coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::coverage_3d_tools::CoverConvexPolygonRequest_<std::allocator<void> > CoverConvexPolygonRequest;
00049
00050 typedef boost::shared_ptr< ::coverage_3d_tools::CoverConvexPolygonRequest> CoverConvexPolygonRequestPtr;
00051 typedef boost::shared_ptr< ::coverage_3d_tools::CoverConvexPolygonRequest const> CoverConvexPolygonRequestConstPtr;
00052
00053
00054 template <class ContainerAllocator>
00055 struct CoverConvexPolygonResponse_ {
00056 typedef CoverConvexPolygonResponse_<ContainerAllocator> Type;
00057
00058 CoverConvexPolygonResponse_()
00059 : path()
00060 {
00061 }
00062
00063 CoverConvexPolygonResponse_(const ContainerAllocator& _alloc)
00064 : path(_alloc)
00065 {
00066 }
00067
00068 typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > _path_type;
00069 std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > path;
00070
00071
00072 typedef boost::shared_ptr< ::coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> > Ptr;
00073 typedef boost::shared_ptr< ::coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> const> ConstPtr;
00074 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 };
00076 typedef ::coverage_3d_tools::CoverConvexPolygonResponse_<std::allocator<void> > CoverConvexPolygonResponse;
00077
00078 typedef boost::shared_ptr< ::coverage_3d_tools::CoverConvexPolygonResponse> CoverConvexPolygonResponsePtr;
00079 typedef boost::shared_ptr< ::coverage_3d_tools::CoverConvexPolygonResponse const> CoverConvexPolygonResponseConstPtr;
00080
00081 struct CoverConvexPolygon
00082 {
00083
00084 typedef CoverConvexPolygonRequest Request;
00085 typedef CoverConvexPolygonResponse Response;
00086 Request request;
00087 Response response;
00088
00089 typedef Request RequestType;
00090 typedef Response ResponseType;
00091 };
00092 }
00093
00094 namespace ros
00095 {
00096 namespace message_traits
00097 {
00098 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "7bf410135d48a1dbd9350eb2d7d8d848";
00105 }
00106
00107 static const char* value(const ::coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> &) { return value(); }
00108 static const uint64_t static_value1 = 0x7bf410135d48a1dbULL;
00109 static const uint64_t static_value2 = 0xd9350eb2d7d8d848ULL;
00110 };
00111
00112 template<class ContainerAllocator>
00113 struct DataType< ::coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> > {
00114 static const char* value()
00115 {
00116 return "coverage_3d_tools/CoverConvexPolygonRequest";
00117 }
00118
00119 static const char* value(const ::coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> &) { return value(); }
00120 };
00121
00122 template<class ContainerAllocator>
00123 struct Definition< ::coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> > {
00124 static const char* value()
00125 {
00126 return "geometry_msgs/Point[] polygon\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: geometry_msgs/Point\n\
00130 # This contains the position of a point in free space\n\
00131 float64 x\n\
00132 float64 y\n\
00133 float64 z\n\
00134 \n\
00135 ";
00136 }
00137
00138 static const char* value(const ::coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> &) { return value(); }
00139 };
00140
00141 }
00142 }
00143
00144
00145 namespace ros
00146 {
00147 namespace message_traits
00148 {
00149 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> > : public TrueType {};
00150 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> const> : public TrueType {};
00151 template<class ContainerAllocator>
00152 struct MD5Sum< ::coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> > {
00153 static const char* value()
00154 {
00155 return "b58b29f4d3d5430fc9d5efc2f5262786";
00156 }
00157
00158 static const char* value(const ::coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> &) { return value(); }
00159 static const uint64_t static_value1 = 0xb58b29f4d3d5430fULL;
00160 static const uint64_t static_value2 = 0xc9d5efc2f5262786ULL;
00161 };
00162
00163 template<class ContainerAllocator>
00164 struct DataType< ::coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> > {
00165 static const char* value()
00166 {
00167 return "coverage_3d_tools/CoverConvexPolygonResponse";
00168 }
00169
00170 static const char* value(const ::coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> &) { return value(); }
00171 };
00172
00173 template<class ContainerAllocator>
00174 struct Definition< ::coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> > {
00175 static const char* value()
00176 {
00177 return "geometry_msgs/Point[] path\n\
00178 \n\
00179 \n\
00180 ================================================================================\n\
00181 MSG: geometry_msgs/Point\n\
00182 # This contains the position of a point in free space\n\
00183 float64 x\n\
00184 float64 y\n\
00185 float64 z\n\
00186 \n\
00187 ";
00188 }
00189
00190 static const char* value(const ::coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> &) { return value(); }
00191 };
00192
00193 }
00194 }
00195
00196 namespace ros
00197 {
00198 namespace serialization
00199 {
00200
00201 template<class ContainerAllocator> struct Serializer< ::coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> >
00202 {
00203 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00204 {
00205 stream.next(m.polygon);
00206 }
00207
00208 ROS_DECLARE_ALLINONE_SERIALIZER;
00209 };
00210 }
00211 }
00212
00213
00214 namespace ros
00215 {
00216 namespace serialization
00217 {
00218
00219 template<class ContainerAllocator> struct Serializer< ::coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> >
00220 {
00221 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00222 {
00223 stream.next(m.path);
00224 }
00225
00226 ROS_DECLARE_ALLINONE_SERIALIZER;
00227 };
00228 }
00229 }
00230
00231 namespace ros
00232 {
00233 namespace service_traits
00234 {
00235 template<>
00236 struct MD5Sum<coverage_3d_tools::CoverConvexPolygon> {
00237 static const char* value()
00238 {
00239 return "11fa5a4d6f7b56c333bf5e8efc7b419b";
00240 }
00241
00242 static const char* value(const coverage_3d_tools::CoverConvexPolygon&) { return value(); }
00243 };
00244
00245 template<>
00246 struct DataType<coverage_3d_tools::CoverConvexPolygon> {
00247 static const char* value()
00248 {
00249 return "coverage_3d_tools/CoverConvexPolygon";
00250 }
00251
00252 static const char* value(const coverage_3d_tools::CoverConvexPolygon&) { return value(); }
00253 };
00254
00255 template<class ContainerAllocator>
00256 struct MD5Sum<coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> > {
00257 static const char* value()
00258 {
00259 return "11fa5a4d6f7b56c333bf5e8efc7b419b";
00260 }
00261
00262 static const char* value(const coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> &) { return value(); }
00263 };
00264
00265 template<class ContainerAllocator>
00266 struct DataType<coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> > {
00267 static const char* value()
00268 {
00269 return "coverage_3d_tools/CoverConvexPolygon";
00270 }
00271
00272 static const char* value(const coverage_3d_tools::CoverConvexPolygonRequest_<ContainerAllocator> &) { return value(); }
00273 };
00274
00275 template<class ContainerAllocator>
00276 struct MD5Sum<coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> > {
00277 static const char* value()
00278 {
00279 return "11fa5a4d6f7b56c333bf5e8efc7b419b";
00280 }
00281
00282 static const char* value(const coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> &) { return value(); }
00283 };
00284
00285 template<class ContainerAllocator>
00286 struct DataType<coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> > {
00287 static const char* value()
00288 {
00289 return "coverage_3d_tools/CoverConvexPolygon";
00290 }
00291
00292 static const char* value(const coverage_3d_tools::CoverConvexPolygonResponse_<ContainerAllocator> &) { return value(); }
00293 };
00294
00295 }
00296 }
00297
00298 #endif // COVERAGE_3D_TOOLS_SERVICE_COVERCONVEXPOLYGON_H
00299