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