Go to the documentation of this file.00001
00002 #ifndef VISP_CAMERA_CALIBRATION_SERVICE_CALIBRATE_H
00003 #define VISP_CAMERA_CALIBRATION_SERVICE_CALIBRATE_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 visp_camera_calibration
00023 {
00024 template <class ContainerAllocator>
00025 struct calibrateRequest_ {
00026 typedef calibrateRequest_<ContainerAllocator> Type;
00027
00028 calibrateRequest_()
00029 : method(0)
00030 , sample_width(0)
00031 , sample_height(0)
00032 {
00033 }
00034
00035 calibrateRequest_(const ContainerAllocator& _alloc)
00036 : method(0)
00037 , sample_width(0)
00038 , sample_height(0)
00039 {
00040 }
00041
00042 typedef int32_t _method_type;
00043 int32_t method;
00044
00045 typedef int32_t _sample_width_type;
00046 int32_t sample_width;
00047
00048 typedef int32_t _sample_height_type;
00049 int32_t sample_height;
00050
00051
00052 typedef boost::shared_ptr< ::visp_camera_calibration::calibrateRequest_<ContainerAllocator> > Ptr;
00053 typedef boost::shared_ptr< ::visp_camera_calibration::calibrateRequest_<ContainerAllocator> const> ConstPtr;
00054 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00055 };
00056 typedef ::visp_camera_calibration::calibrateRequest_<std::allocator<void> > calibrateRequest;
00057
00058 typedef boost::shared_ptr< ::visp_camera_calibration::calibrateRequest> calibrateRequestPtr;
00059 typedef boost::shared_ptr< ::visp_camera_calibration::calibrateRequest const> calibrateRequestConstPtr;
00060
00061
00062 template <class ContainerAllocator>
00063 struct calibrateResponse_ {
00064 typedef calibrateResponse_<ContainerAllocator> Type;
00065
00066 calibrateResponse_()
00067 : stdDevErrs()
00068 {
00069 }
00070
00071 calibrateResponse_(const ContainerAllocator& _alloc)
00072 : stdDevErrs(_alloc)
00073 {
00074 }
00075
00076 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _stdDevErrs_type;
00077 std::vector<double, typename ContainerAllocator::template rebind<double>::other > stdDevErrs;
00078
00079
00080 typedef boost::shared_ptr< ::visp_camera_calibration::calibrateResponse_<ContainerAllocator> > Ptr;
00081 typedef boost::shared_ptr< ::visp_camera_calibration::calibrateResponse_<ContainerAllocator> const> ConstPtr;
00082 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00083 };
00084 typedef ::visp_camera_calibration::calibrateResponse_<std::allocator<void> > calibrateResponse;
00085
00086 typedef boost::shared_ptr< ::visp_camera_calibration::calibrateResponse> calibrateResponsePtr;
00087 typedef boost::shared_ptr< ::visp_camera_calibration::calibrateResponse const> calibrateResponseConstPtr;
00088
00089 struct calibrate
00090 {
00091
00092 typedef calibrateRequest Request;
00093 typedef calibrateResponse Response;
00094 Request request;
00095 Response response;
00096
00097 typedef Request RequestType;
00098 typedef Response ResponseType;
00099 };
00100 }
00101
00102 namespace ros
00103 {
00104 namespace message_traits
00105 {
00106 template<class ContainerAllocator> struct IsMessage< ::visp_camera_calibration::calibrateRequest_<ContainerAllocator> > : public TrueType {};
00107 template<class ContainerAllocator> struct IsMessage< ::visp_camera_calibration::calibrateRequest_<ContainerAllocator> const> : public TrueType {};
00108 template<class ContainerAllocator>
00109 struct MD5Sum< ::visp_camera_calibration::calibrateRequest_<ContainerAllocator> > {
00110 static const char* value()
00111 {
00112 return "7b57c459896a8f1f8df45a385acfc123";
00113 }
00114
00115 static const char* value(const ::visp_camera_calibration::calibrateRequest_<ContainerAllocator> &) { return value(); }
00116 static const uint64_t static_value1 = 0x7b57c459896a8f1fULL;
00117 static const uint64_t static_value2 = 0x8df45a385acfc123ULL;
00118 };
00119
00120 template<class ContainerAllocator>
00121 struct DataType< ::visp_camera_calibration::calibrateRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "visp_camera_calibration/calibrateRequest";
00125 }
00126
00127 static const char* value(const ::visp_camera_calibration::calibrateRequest_<ContainerAllocator> &) { return value(); }
00128 };
00129
00130 template<class ContainerAllocator>
00131 struct Definition< ::visp_camera_calibration::calibrateRequest_<ContainerAllocator> > {
00132 static const char* value()
00133 {
00134 return "int32 method\n\
00135 int32 sample_width\n\
00136 int32 sample_height\n\
00137 \n\
00138 ";
00139 }
00140
00141 static const char* value(const ::visp_camera_calibration::calibrateRequest_<ContainerAllocator> &) { return value(); }
00142 };
00143
00144 template<class ContainerAllocator> struct IsFixedSize< ::visp_camera_calibration::calibrateRequest_<ContainerAllocator> > : public TrueType {};
00145 }
00146 }
00147
00148
00149 namespace ros
00150 {
00151 namespace message_traits
00152 {
00153 template<class ContainerAllocator> struct IsMessage< ::visp_camera_calibration::calibrateResponse_<ContainerAllocator> > : public TrueType {};
00154 template<class ContainerAllocator> struct IsMessage< ::visp_camera_calibration::calibrateResponse_<ContainerAllocator> const> : public TrueType {};
00155 template<class ContainerAllocator>
00156 struct MD5Sum< ::visp_camera_calibration::calibrateResponse_<ContainerAllocator> > {
00157 static const char* value()
00158 {
00159 return "cd6d27af348dbd9b7530b010497f18b0";
00160 }
00161
00162 static const char* value(const ::visp_camera_calibration::calibrateResponse_<ContainerAllocator> &) { return value(); }
00163 static const uint64_t static_value1 = 0xcd6d27af348dbd9bULL;
00164 static const uint64_t static_value2 = 0x7530b010497f18b0ULL;
00165 };
00166
00167 template<class ContainerAllocator>
00168 struct DataType< ::visp_camera_calibration::calibrateResponse_<ContainerAllocator> > {
00169 static const char* value()
00170 {
00171 return "visp_camera_calibration/calibrateResponse";
00172 }
00173
00174 static const char* value(const ::visp_camera_calibration::calibrateResponse_<ContainerAllocator> &) { return value(); }
00175 };
00176
00177 template<class ContainerAllocator>
00178 struct Definition< ::visp_camera_calibration::calibrateResponse_<ContainerAllocator> > {
00179 static const char* value()
00180 {
00181 return "float64[] stdDevErrs\n\
00182 \n\
00183 \n\
00184 ";
00185 }
00186
00187 static const char* value(const ::visp_camera_calibration::calibrateResponse_<ContainerAllocator> &) { return value(); }
00188 };
00189
00190 }
00191 }
00192
00193 namespace ros
00194 {
00195 namespace serialization
00196 {
00197
00198 template<class ContainerAllocator> struct Serializer< ::visp_camera_calibration::calibrateRequest_<ContainerAllocator> >
00199 {
00200 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00201 {
00202 stream.next(m.method);
00203 stream.next(m.sample_width);
00204 stream.next(m.sample_height);
00205 }
00206
00207 ROS_DECLARE_ALLINONE_SERIALIZER;
00208 };
00209 }
00210 }
00211
00212
00213 namespace ros
00214 {
00215 namespace serialization
00216 {
00217
00218 template<class ContainerAllocator> struct Serializer< ::visp_camera_calibration::calibrateResponse_<ContainerAllocator> >
00219 {
00220 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00221 {
00222 stream.next(m.stdDevErrs);
00223 }
00224
00225 ROS_DECLARE_ALLINONE_SERIALIZER;
00226 };
00227 }
00228 }
00229
00230 namespace ros
00231 {
00232 namespace service_traits
00233 {
00234 template<>
00235 struct MD5Sum<visp_camera_calibration::calibrate> {
00236 static const char* value()
00237 {
00238 return "30e17d7747033ddb69c9980395e78d44";
00239 }
00240
00241 static const char* value(const visp_camera_calibration::calibrate&) { return value(); }
00242 };
00243
00244 template<>
00245 struct DataType<visp_camera_calibration::calibrate> {
00246 static const char* value()
00247 {
00248 return "visp_camera_calibration/calibrate";
00249 }
00250
00251 static const char* value(const visp_camera_calibration::calibrate&) { return value(); }
00252 };
00253
00254 template<class ContainerAllocator>
00255 struct MD5Sum<visp_camera_calibration::calibrateRequest_<ContainerAllocator> > {
00256 static const char* value()
00257 {
00258 return "30e17d7747033ddb69c9980395e78d44";
00259 }
00260
00261 static const char* value(const visp_camera_calibration::calibrateRequest_<ContainerAllocator> &) { return value(); }
00262 };
00263
00264 template<class ContainerAllocator>
00265 struct DataType<visp_camera_calibration::calibrateRequest_<ContainerAllocator> > {
00266 static const char* value()
00267 {
00268 return "visp_camera_calibration/calibrate";
00269 }
00270
00271 static const char* value(const visp_camera_calibration::calibrateRequest_<ContainerAllocator> &) { return value(); }
00272 };
00273
00274 template<class ContainerAllocator>
00275 struct MD5Sum<visp_camera_calibration::calibrateResponse_<ContainerAllocator> > {
00276 static const char* value()
00277 {
00278 return "30e17d7747033ddb69c9980395e78d44";
00279 }
00280
00281 static const char* value(const visp_camera_calibration::calibrateResponse_<ContainerAllocator> &) { return value(); }
00282 };
00283
00284 template<class ContainerAllocator>
00285 struct DataType<visp_camera_calibration::calibrateResponse_<ContainerAllocator> > {
00286 static const char* value()
00287 {
00288 return "visp_camera_calibration/calibrate";
00289 }
00290
00291 static const char* value(const visp_camera_calibration::calibrateResponse_<ContainerAllocator> &) { return value(); }
00292 };
00293
00294 }
00295 }
00296
00297 #endif // VISP_CAMERA_CALIBRATION_SERVICE_CALIBRATE_H
00298