$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-camera_pose/doc_stacks/2013-03-01_14-27-38.801509/camera_pose/kinect_depth_calibration/srv/GetCheckerboardCenter.srv */ 00002 #ifndef KINECT_DEPTH_CALIBRATION_SERVICE_GETCHECKERBOARDCENTER_H 00003 #define KINECT_DEPTH_CALIBRATION_SERVICE_GETCHECKERBOARDCENTER_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 00020 00021 00022 namespace kinect_depth_calibration 00023 { 00024 template <class ContainerAllocator> 00025 struct GetCheckerboardCenterRequest_ { 00026 typedef GetCheckerboardCenterRequest_<ContainerAllocator> Type; 00027 00028 GetCheckerboardCenterRequest_() 00029 : min_x(0.0) 00030 , max_x(0.0) 00031 , min_y(0.0) 00032 , max_y(0.0) 00033 , depth_prior(0.0) 00034 { 00035 } 00036 00037 GetCheckerboardCenterRequest_(const ContainerAllocator& _alloc) 00038 : min_x(0.0) 00039 , max_x(0.0) 00040 , min_y(0.0) 00041 , max_y(0.0) 00042 , depth_prior(0.0) 00043 { 00044 } 00045 00046 typedef float _min_x_type; 00047 float min_x; 00048 00049 typedef float _max_x_type; 00050 float max_x; 00051 00052 typedef float _min_y_type; 00053 float min_y; 00054 00055 typedef float _max_y_type; 00056 float max_y; 00057 00058 typedef float _depth_prior_type; 00059 float depth_prior; 00060 00061 00062 private: 00063 static const char* __s_getDataType_() { return "kinect_depth_calibration/GetCheckerboardCenterRequest"; } 00064 public: 00065 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00066 00067 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00068 00069 private: 00070 static const char* __s_getMD5Sum_() { return "cb32cbfa86e51d8153cc69cc05343fdf"; } 00071 public: 00072 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00073 00074 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00075 00076 private: 00077 static const char* __s_getServerMD5Sum_() { return "1f713d495aa6446fb95738e3ba579737"; } 00078 public: 00079 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00080 00081 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00082 00083 private: 00084 static const char* __s_getMessageDefinition_() { return "float32 min_x\n\ 00085 float32 max_x\n\ 00086 float32 min_y\n\ 00087 float32 max_y\n\ 00088 float32 depth_prior\n\ 00089 \n\ 00090 "; } 00091 public: 00092 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00093 00094 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00095 00096 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00097 { 00098 ros::serialization::OStream stream(write_ptr, 1000000000); 00099 ros::serialization::serialize(stream, min_x); 00100 ros::serialization::serialize(stream, max_x); 00101 ros::serialization::serialize(stream, min_y); 00102 ros::serialization::serialize(stream, max_y); 00103 ros::serialization::serialize(stream, depth_prior); 00104 return stream.getData(); 00105 } 00106 00107 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00108 { 00109 ros::serialization::IStream stream(read_ptr, 1000000000); 00110 ros::serialization::deserialize(stream, min_x); 00111 ros::serialization::deserialize(stream, max_x); 00112 ros::serialization::deserialize(stream, min_y); 00113 ros::serialization::deserialize(stream, max_y); 00114 ros::serialization::deserialize(stream, depth_prior); 00115 return stream.getData(); 00116 } 00117 00118 ROS_DEPRECATED virtual uint32_t serializationLength() const 00119 { 00120 uint32_t size = 0; 00121 size += ros::serialization::serializationLength(min_x); 00122 size += ros::serialization::serializationLength(max_x); 00123 size += ros::serialization::serializationLength(min_y); 00124 size += ros::serialization::serializationLength(max_y); 00125 size += ros::serialization::serializationLength(depth_prior); 00126 return size; 00127 } 00128 00129 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > Ptr; 00130 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> const> ConstPtr; 00131 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00132 }; // struct GetCheckerboardCenterRequest 00133 typedef ::kinect_depth_calibration::GetCheckerboardCenterRequest_<std::allocator<void> > GetCheckerboardCenterRequest; 00134 00135 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterRequest> GetCheckerboardCenterRequestPtr; 00136 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterRequest const> GetCheckerboardCenterRequestConstPtr; 00137 00138 00139 template <class ContainerAllocator> 00140 struct GetCheckerboardCenterResponse_ { 00141 typedef GetCheckerboardCenterResponse_<ContainerAllocator> Type; 00142 00143 GetCheckerboardCenterResponse_() 00144 : depth(0.0) 00145 { 00146 } 00147 00148 GetCheckerboardCenterResponse_(const ContainerAllocator& _alloc) 00149 : depth(0.0) 00150 { 00151 } 00152 00153 typedef float _depth_type; 00154 float depth; 00155 00156 00157 private: 00158 static const char* __s_getDataType_() { return "kinect_depth_calibration/GetCheckerboardCenterResponse"; } 00159 public: 00160 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00161 00162 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00163 00164 private: 00165 static const char* __s_getMD5Sum_() { return "6deb06b7b7183f5581b3362a0cb413b7"; } 00166 public: 00167 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00168 00169 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00170 00171 private: 00172 static const char* __s_getServerMD5Sum_() { return "1f713d495aa6446fb95738e3ba579737"; } 00173 public: 00174 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00175 00176 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00177 00178 private: 00179 static const char* __s_getMessageDefinition_() { return "float32 depth\n\ 00180 \n\ 00181 \n\ 00182 \n\ 00183 "; } 00184 public: 00185 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00186 00187 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00188 00189 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00190 { 00191 ros::serialization::OStream stream(write_ptr, 1000000000); 00192 ros::serialization::serialize(stream, depth); 00193 return stream.getData(); 00194 } 00195 00196 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00197 { 00198 ros::serialization::IStream stream(read_ptr, 1000000000); 00199 ros::serialization::deserialize(stream, depth); 00200 return stream.getData(); 00201 } 00202 00203 ROS_DEPRECATED virtual uint32_t serializationLength() const 00204 { 00205 uint32_t size = 0; 00206 size += ros::serialization::serializationLength(depth); 00207 return size; 00208 } 00209 00210 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > Ptr; 00211 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> const> ConstPtr; 00212 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00213 }; // struct GetCheckerboardCenterResponse 00214 typedef ::kinect_depth_calibration::GetCheckerboardCenterResponse_<std::allocator<void> > GetCheckerboardCenterResponse; 00215 00216 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterResponse> GetCheckerboardCenterResponsePtr; 00217 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterResponse const> GetCheckerboardCenterResponseConstPtr; 00218 00219 struct GetCheckerboardCenter 00220 { 00221 00222 typedef GetCheckerboardCenterRequest Request; 00223 typedef GetCheckerboardCenterResponse Response; 00224 Request request; 00225 Response response; 00226 00227 typedef Request RequestType; 00228 typedef Response ResponseType; 00229 }; // struct GetCheckerboardCenter 00230 } // namespace kinect_depth_calibration 00231 00232 namespace ros 00233 { 00234 namespace message_traits 00235 { 00236 template<class ContainerAllocator> struct IsMessage< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > : public TrueType {}; 00237 template<class ContainerAllocator> struct IsMessage< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> const> : public TrueType {}; 00238 template<class ContainerAllocator> 00239 struct MD5Sum< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > { 00240 static const char* value() 00241 { 00242 return "cb32cbfa86e51d8153cc69cc05343fdf"; 00243 } 00244 00245 static const char* value(const ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> &) { return value(); } 00246 static const uint64_t static_value1 = 0xcb32cbfa86e51d81ULL; 00247 static const uint64_t static_value2 = 0x53cc69cc05343fdfULL; 00248 }; 00249 00250 template<class ContainerAllocator> 00251 struct DataType< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > { 00252 static const char* value() 00253 { 00254 return "kinect_depth_calibration/GetCheckerboardCenterRequest"; 00255 } 00256 00257 static const char* value(const ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> &) { return value(); } 00258 }; 00259 00260 template<class ContainerAllocator> 00261 struct Definition< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > { 00262 static const char* value() 00263 { 00264 return "float32 min_x\n\ 00265 float32 max_x\n\ 00266 float32 min_y\n\ 00267 float32 max_y\n\ 00268 float32 depth_prior\n\ 00269 \n\ 00270 "; 00271 } 00272 00273 static const char* value(const ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> &) { return value(); } 00274 }; 00275 00276 template<class ContainerAllocator> struct IsFixedSize< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > : public TrueType {}; 00277 } // namespace message_traits 00278 } // namespace ros 00279 00280 00281 namespace ros 00282 { 00283 namespace message_traits 00284 { 00285 template<class ContainerAllocator> struct IsMessage< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > : public TrueType {}; 00286 template<class ContainerAllocator> struct IsMessage< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> const> : public TrueType {}; 00287 template<class ContainerAllocator> 00288 struct MD5Sum< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > { 00289 static const char* value() 00290 { 00291 return "6deb06b7b7183f5581b3362a0cb413b7"; 00292 } 00293 00294 static const char* value(const ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> &) { return value(); } 00295 static const uint64_t static_value1 = 0x6deb06b7b7183f55ULL; 00296 static const uint64_t static_value2 = 0x81b3362a0cb413b7ULL; 00297 }; 00298 00299 template<class ContainerAllocator> 00300 struct DataType< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > { 00301 static const char* value() 00302 { 00303 return "kinect_depth_calibration/GetCheckerboardCenterResponse"; 00304 } 00305 00306 static const char* value(const ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> &) { return value(); } 00307 }; 00308 00309 template<class ContainerAllocator> 00310 struct Definition< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > { 00311 static const char* value() 00312 { 00313 return "float32 depth\n\ 00314 \n\ 00315 \n\ 00316 \n\ 00317 "; 00318 } 00319 00320 static const char* value(const ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> &) { return value(); } 00321 }; 00322 00323 template<class ContainerAllocator> struct IsFixedSize< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > : public TrueType {}; 00324 } // namespace message_traits 00325 } // namespace ros 00326 00327 namespace ros 00328 { 00329 namespace serialization 00330 { 00331 00332 template<class ContainerAllocator> struct Serializer< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > 00333 { 00334 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00335 { 00336 stream.next(m.min_x); 00337 stream.next(m.max_x); 00338 stream.next(m.min_y); 00339 stream.next(m.max_y); 00340 stream.next(m.depth_prior); 00341 } 00342 00343 ROS_DECLARE_ALLINONE_SERIALIZER; 00344 }; // struct GetCheckerboardCenterRequest_ 00345 } // namespace serialization 00346 } // namespace ros 00347 00348 00349 namespace ros 00350 { 00351 namespace serialization 00352 { 00353 00354 template<class ContainerAllocator> struct Serializer< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > 00355 { 00356 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00357 { 00358 stream.next(m.depth); 00359 } 00360 00361 ROS_DECLARE_ALLINONE_SERIALIZER; 00362 }; // struct GetCheckerboardCenterResponse_ 00363 } // namespace serialization 00364 } // namespace ros 00365 00366 namespace ros 00367 { 00368 namespace service_traits 00369 { 00370 template<> 00371 struct MD5Sum<kinect_depth_calibration::GetCheckerboardCenter> { 00372 static const char* value() 00373 { 00374 return "1f713d495aa6446fb95738e3ba579737"; 00375 } 00376 00377 static const char* value(const kinect_depth_calibration::GetCheckerboardCenter&) { return value(); } 00378 }; 00379 00380 template<> 00381 struct DataType<kinect_depth_calibration::GetCheckerboardCenter> { 00382 static const char* value() 00383 { 00384 return "kinect_depth_calibration/GetCheckerboardCenter"; 00385 } 00386 00387 static const char* value(const kinect_depth_calibration::GetCheckerboardCenter&) { return value(); } 00388 }; 00389 00390 template<class ContainerAllocator> 00391 struct MD5Sum<kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > { 00392 static const char* value() 00393 { 00394 return "1f713d495aa6446fb95738e3ba579737"; 00395 } 00396 00397 static const char* value(const kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> &) { return value(); } 00398 }; 00399 00400 template<class ContainerAllocator> 00401 struct DataType<kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > { 00402 static const char* value() 00403 { 00404 return "kinect_depth_calibration/GetCheckerboardCenter"; 00405 } 00406 00407 static const char* value(const kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> &) { return value(); } 00408 }; 00409 00410 template<class ContainerAllocator> 00411 struct MD5Sum<kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > { 00412 static const char* value() 00413 { 00414 return "1f713d495aa6446fb95738e3ba579737"; 00415 } 00416 00417 static const char* value(const kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> &) { return value(); } 00418 }; 00419 00420 template<class ContainerAllocator> 00421 struct DataType<kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > { 00422 static const char* value() 00423 { 00424 return "kinect_depth_calibration/GetCheckerboardCenter"; 00425 } 00426 00427 static const char* value(const kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> &) { return value(); } 00428 }; 00429 00430 } // namespace service_traits 00431 } // namespace ros 00432 00433 #endif // KINECT_DEPTH_CALIBRATION_SERVICE_GETCHECKERBOARDCENTER_H 00434