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