Go to the documentation of this file.00001
00002 #ifndef COVERAGE_3D_SRVS_SERVICE_CLEANSPOT_H
00003 #define COVERAGE_3D_SRVS_SERVICE_CLEANSPOT_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/PointStamped.h"
00020
00021
00022
00023 namespace coverage_3d_srvs
00024 {
00025 template <class ContainerAllocator>
00026 struct CleanSpotRequest_ {
00027 typedef CleanSpotRequest_<ContainerAllocator> Type;
00028
00029 CleanSpotRequest_()
00030 : box_size(0.0)
00031 , spot()
00032 {
00033 }
00034
00035 CleanSpotRequest_(const ContainerAllocator& _alloc)
00036 : box_size(0.0)
00037 , spot(_alloc)
00038 {
00039 }
00040
00041 typedef double _box_size_type;
00042 double box_size;
00043
00044 typedef ::geometry_msgs::PointStamped_<ContainerAllocator> _spot_type;
00045 ::geometry_msgs::PointStamped_<ContainerAllocator> spot;
00046
00047
00048 typedef boost::shared_ptr< ::coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> > Ptr;
00049 typedef boost::shared_ptr< ::coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> const> ConstPtr;
00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 };
00052 typedef ::coverage_3d_srvs::CleanSpotRequest_<std::allocator<void> > CleanSpotRequest;
00053
00054 typedef boost::shared_ptr< ::coverage_3d_srvs::CleanSpotRequest> CleanSpotRequestPtr;
00055 typedef boost::shared_ptr< ::coverage_3d_srvs::CleanSpotRequest const> CleanSpotRequestConstPtr;
00056
00057
00058 template <class ContainerAllocator>
00059 struct CleanSpotResponse_ {
00060 typedef CleanSpotResponse_<ContainerAllocator> Type;
00061
00062 CleanSpotResponse_()
00063 {
00064 }
00065
00066 CleanSpotResponse_(const ContainerAllocator& _alloc)
00067 {
00068 }
00069
00070
00071 typedef boost::shared_ptr< ::coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> > Ptr;
00072 typedef boost::shared_ptr< ::coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> const> ConstPtr;
00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 };
00075 typedef ::coverage_3d_srvs::CleanSpotResponse_<std::allocator<void> > CleanSpotResponse;
00076
00077 typedef boost::shared_ptr< ::coverage_3d_srvs::CleanSpotResponse> CleanSpotResponsePtr;
00078 typedef boost::shared_ptr< ::coverage_3d_srvs::CleanSpotResponse const> CleanSpotResponseConstPtr;
00079
00080 struct CleanSpot
00081 {
00082
00083 typedef CleanSpotRequest Request;
00084 typedef CleanSpotResponse Response;
00085 Request request;
00086 Response response;
00087
00088 typedef Request RequestType;
00089 typedef Response ResponseType;
00090 };
00091 }
00092
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "6e25ab72a22f6074807bfe0a8785b5a9";
00104 }
00105
00106 static const char* value(const ::coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> &) { return value(); }
00107 static const uint64_t static_value1 = 0x6e25ab72a22f6074ULL;
00108 static const uint64_t static_value2 = 0x807bfe0a8785b5a9ULL;
00109 };
00110
00111 template<class ContainerAllocator>
00112 struct DataType< ::coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> > {
00113 static const char* value()
00114 {
00115 return "coverage_3d_srvs/CleanSpotRequest";
00116 }
00117
00118 static const char* value(const ::coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> &) { return value(); }
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct Definition< ::coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "float64 box_size\n\
00126 geometry_msgs/PointStamped spot\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: geometry_msgs/PointStamped\n\
00130 # This represents a Point with reference coordinate frame and timestamp\n\
00131 Header header\n\
00132 Point point\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: std_msgs/Header\n\
00136 # Standard metadata for higher-level stamped data types.\n\
00137 # This is generally used to communicate timestamped data \n\
00138 # in a particular coordinate frame.\n\
00139 # \n\
00140 # sequence ID: consecutively increasing ID \n\
00141 uint32 seq\n\
00142 #Two-integer timestamp that is expressed as:\n\
00143 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00144 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00145 # time-handling sugar is provided by the client library\n\
00146 time stamp\n\
00147 #Frame this data is associated with\n\
00148 # 0: no frame\n\
00149 # 1: global frame\n\
00150 string frame_id\n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: geometry_msgs/Point\n\
00154 # This contains the position of a point in free space\n\
00155 float64 x\n\
00156 float64 y\n\
00157 float64 z\n\
00158 \n\
00159 ";
00160 }
00161
00162 static const char* value(const ::coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> &) { return value(); }
00163 };
00164
00165 }
00166 }
00167
00168
00169 namespace ros
00170 {
00171 namespace message_traits
00172 {
00173 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> > : public TrueType {};
00174 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> const> : public TrueType {};
00175 template<class ContainerAllocator>
00176 struct MD5Sum< ::coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> > {
00177 static const char* value()
00178 {
00179 return "d41d8cd98f00b204e9800998ecf8427e";
00180 }
00181
00182 static const char* value(const ::coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> &) { return value(); }
00183 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00184 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00185 };
00186
00187 template<class ContainerAllocator>
00188 struct DataType< ::coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> > {
00189 static const char* value()
00190 {
00191 return "coverage_3d_srvs/CleanSpotResponse";
00192 }
00193
00194 static const char* value(const ::coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> &) { return value(); }
00195 };
00196
00197 template<class ContainerAllocator>
00198 struct Definition< ::coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> > {
00199 static const char* value()
00200 {
00201 return "\n\
00202 \n\
00203 ";
00204 }
00205
00206 static const char* value(const ::coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> &) { return value(); }
00207 };
00208
00209 template<class ContainerAllocator> struct IsFixedSize< ::coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> > : public TrueType {};
00210 }
00211 }
00212
00213 namespace ros
00214 {
00215 namespace serialization
00216 {
00217
00218 template<class ContainerAllocator> struct Serializer< ::coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> >
00219 {
00220 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00221 {
00222 stream.next(m.box_size);
00223 stream.next(m.spot);
00224 }
00225
00226 ROS_DECLARE_ALLINONE_SERIALIZER;
00227 };
00228 }
00229 }
00230
00231
00232 namespace ros
00233 {
00234 namespace serialization
00235 {
00236
00237 template<class ContainerAllocator> struct Serializer< ::coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> >
00238 {
00239 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00240 {
00241 }
00242
00243 ROS_DECLARE_ALLINONE_SERIALIZER;
00244 };
00245 }
00246 }
00247
00248 namespace ros
00249 {
00250 namespace service_traits
00251 {
00252 template<>
00253 struct MD5Sum<coverage_3d_srvs::CleanSpot> {
00254 static const char* value()
00255 {
00256 return "6e25ab72a22f6074807bfe0a8785b5a9";
00257 }
00258
00259 static const char* value(const coverage_3d_srvs::CleanSpot&) { return value(); }
00260 };
00261
00262 template<>
00263 struct DataType<coverage_3d_srvs::CleanSpot> {
00264 static const char* value()
00265 {
00266 return "coverage_3d_srvs/CleanSpot";
00267 }
00268
00269 static const char* value(const coverage_3d_srvs::CleanSpot&) { return value(); }
00270 };
00271
00272 template<class ContainerAllocator>
00273 struct MD5Sum<coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> > {
00274 static const char* value()
00275 {
00276 return "6e25ab72a22f6074807bfe0a8785b5a9";
00277 }
00278
00279 static const char* value(const coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> &) { return value(); }
00280 };
00281
00282 template<class ContainerAllocator>
00283 struct DataType<coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> > {
00284 static const char* value()
00285 {
00286 return "coverage_3d_srvs/CleanSpot";
00287 }
00288
00289 static const char* value(const coverage_3d_srvs::CleanSpotRequest_<ContainerAllocator> &) { return value(); }
00290 };
00291
00292 template<class ContainerAllocator>
00293 struct MD5Sum<coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> > {
00294 static const char* value()
00295 {
00296 return "6e25ab72a22f6074807bfe0a8785b5a9";
00297 }
00298
00299 static const char* value(const coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> &) { return value(); }
00300 };
00301
00302 template<class ContainerAllocator>
00303 struct DataType<coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> > {
00304 static const char* value()
00305 {
00306 return "coverage_3d_srvs/CleanSpot";
00307 }
00308
00309 static const char* value(const coverage_3d_srvs::CleanSpotResponse_<ContainerAllocator> &) { return value(); }
00310 };
00311
00312 }
00313 }
00314
00315 #endif // COVERAGE_3D_SRVS_SERVICE_CLEANSPOT_H
00316