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