$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_calibration/doc_stacks/2013-03-01_14-35-30.713658/cob_calibration/cob_calibration_srvs/srv/Capture.srv */ 00002 #ifndef COB_CALIBRATION_SRVS_SERVICE_CAPTURE_H 00003 #define COB_CALIBRATION_SRVS_SERVICE_CAPTURE_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 cob_calibration_srvs 00023 { 00024 template <class ContainerAllocator> 00025 struct CaptureRequest_ { 00026 typedef CaptureRequest_<ContainerAllocator> Type; 00027 00028 CaptureRequest_() 00029 { 00030 } 00031 00032 CaptureRequest_(const ContainerAllocator& _alloc) 00033 { 00034 } 00035 00036 00037 private: 00038 static const char* __s_getDataType_() { return "cob_calibration_srvs/CaptureRequest"; } 00039 public: 00040 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00041 00042 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00043 00044 private: 00045 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00048 00049 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00050 00051 private: 00052 static const char* __s_getServerMD5Sum_() { return "358e233cde0c8a8bcfea4ce193f8fc15"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "\n\ 00060 "; } 00061 public: 00062 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00063 00064 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00065 00066 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00067 { 00068 ros::serialization::OStream stream(write_ptr, 1000000000); 00069 return stream.getData(); 00070 } 00071 00072 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00073 { 00074 ros::serialization::IStream stream(read_ptr, 1000000000); 00075 return stream.getData(); 00076 } 00077 00078 ROS_DEPRECATED virtual uint32_t serializationLength() const 00079 { 00080 uint32_t size = 0; 00081 return size; 00082 } 00083 00084 typedef boost::shared_ptr< ::cob_calibration_srvs::CaptureRequest_<ContainerAllocator> > Ptr; 00085 typedef boost::shared_ptr< ::cob_calibration_srvs::CaptureRequest_<ContainerAllocator> const> ConstPtr; 00086 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00087 }; // struct CaptureRequest 00088 typedef ::cob_calibration_srvs::CaptureRequest_<std::allocator<void> > CaptureRequest; 00089 00090 typedef boost::shared_ptr< ::cob_calibration_srvs::CaptureRequest> CaptureRequestPtr; 00091 typedef boost::shared_ptr< ::cob_calibration_srvs::CaptureRequest const> CaptureRequestConstPtr; 00092 00093 00094 template <class ContainerAllocator> 00095 struct CaptureResponse_ { 00096 typedef CaptureResponse_<ContainerAllocator> Type; 00097 00098 CaptureResponse_() 00099 : success(false) 00100 { 00101 } 00102 00103 CaptureResponse_(const ContainerAllocator& _alloc) 00104 : success(false) 00105 { 00106 } 00107 00108 typedef uint8_t _success_type; 00109 uint8_t success; 00110 00111 00112 private: 00113 static const char* __s_getDataType_() { return "cob_calibration_srvs/CaptureResponse"; } 00114 public: 00115 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00116 00117 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00118 00119 private: 00120 static const char* __s_getMD5Sum_() { return "358e233cde0c8a8bcfea4ce193f8fc15"; } 00121 public: 00122 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00123 00124 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00125 00126 private: 00127 static const char* __s_getServerMD5Sum_() { return "358e233cde0c8a8bcfea4ce193f8fc15"; } 00128 public: 00129 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00130 00131 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00132 00133 private: 00134 static const char* __s_getMessageDefinition_() { return "bool success\n\ 00135 \n\ 00136 \n\ 00137 "; } 00138 public: 00139 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00140 00141 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00142 00143 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00144 { 00145 ros::serialization::OStream stream(write_ptr, 1000000000); 00146 ros::serialization::serialize(stream, success); 00147 return stream.getData(); 00148 } 00149 00150 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00151 { 00152 ros::serialization::IStream stream(read_ptr, 1000000000); 00153 ros::serialization::deserialize(stream, success); 00154 return stream.getData(); 00155 } 00156 00157 ROS_DEPRECATED virtual uint32_t serializationLength() const 00158 { 00159 uint32_t size = 0; 00160 size += ros::serialization::serializationLength(success); 00161 return size; 00162 } 00163 00164 typedef boost::shared_ptr< ::cob_calibration_srvs::CaptureResponse_<ContainerAllocator> > Ptr; 00165 typedef boost::shared_ptr< ::cob_calibration_srvs::CaptureResponse_<ContainerAllocator> const> ConstPtr; 00166 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00167 }; // struct CaptureResponse 00168 typedef ::cob_calibration_srvs::CaptureResponse_<std::allocator<void> > CaptureResponse; 00169 00170 typedef boost::shared_ptr< ::cob_calibration_srvs::CaptureResponse> CaptureResponsePtr; 00171 typedef boost::shared_ptr< ::cob_calibration_srvs::CaptureResponse const> CaptureResponseConstPtr; 00172 00173 struct Capture 00174 { 00175 00176 typedef CaptureRequest Request; 00177 typedef CaptureResponse Response; 00178 Request request; 00179 Response response; 00180 00181 typedef Request RequestType; 00182 typedef Response ResponseType; 00183 }; // struct Capture 00184 } // namespace cob_calibration_srvs 00185 00186 namespace ros 00187 { 00188 namespace message_traits 00189 { 00190 template<class ContainerAllocator> struct IsMessage< ::cob_calibration_srvs::CaptureRequest_<ContainerAllocator> > : public TrueType {}; 00191 template<class ContainerAllocator> struct IsMessage< ::cob_calibration_srvs::CaptureRequest_<ContainerAllocator> const> : public TrueType {}; 00192 template<class ContainerAllocator> 00193 struct MD5Sum< ::cob_calibration_srvs::CaptureRequest_<ContainerAllocator> > { 00194 static const char* value() 00195 { 00196 return "d41d8cd98f00b204e9800998ecf8427e"; 00197 } 00198 00199 static const char* value(const ::cob_calibration_srvs::CaptureRequest_<ContainerAllocator> &) { return value(); } 00200 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00201 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00202 }; 00203 00204 template<class ContainerAllocator> 00205 struct DataType< ::cob_calibration_srvs::CaptureRequest_<ContainerAllocator> > { 00206 static const char* value() 00207 { 00208 return "cob_calibration_srvs/CaptureRequest"; 00209 } 00210 00211 static const char* value(const ::cob_calibration_srvs::CaptureRequest_<ContainerAllocator> &) { return value(); } 00212 }; 00213 00214 template<class ContainerAllocator> 00215 struct Definition< ::cob_calibration_srvs::CaptureRequest_<ContainerAllocator> > { 00216 static const char* value() 00217 { 00218 return "\n\ 00219 "; 00220 } 00221 00222 static const char* value(const ::cob_calibration_srvs::CaptureRequest_<ContainerAllocator> &) { return value(); } 00223 }; 00224 00225 template<class ContainerAllocator> struct IsFixedSize< ::cob_calibration_srvs::CaptureRequest_<ContainerAllocator> > : public TrueType {}; 00226 } // namespace message_traits 00227 } // namespace ros 00228 00229 00230 namespace ros 00231 { 00232 namespace message_traits 00233 { 00234 template<class ContainerAllocator> struct IsMessage< ::cob_calibration_srvs::CaptureResponse_<ContainerAllocator> > : public TrueType {}; 00235 template<class ContainerAllocator> struct IsMessage< ::cob_calibration_srvs::CaptureResponse_<ContainerAllocator> const> : public TrueType {}; 00236 template<class ContainerAllocator> 00237 struct MD5Sum< ::cob_calibration_srvs::CaptureResponse_<ContainerAllocator> > { 00238 static const char* value() 00239 { 00240 return "358e233cde0c8a8bcfea4ce193f8fc15"; 00241 } 00242 00243 static const char* value(const ::cob_calibration_srvs::CaptureResponse_<ContainerAllocator> &) { return value(); } 00244 static const uint64_t static_value1 = 0x358e233cde0c8a8bULL; 00245 static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL; 00246 }; 00247 00248 template<class ContainerAllocator> 00249 struct DataType< ::cob_calibration_srvs::CaptureResponse_<ContainerAllocator> > { 00250 static const char* value() 00251 { 00252 return "cob_calibration_srvs/CaptureResponse"; 00253 } 00254 00255 static const char* value(const ::cob_calibration_srvs::CaptureResponse_<ContainerAllocator> &) { return value(); } 00256 }; 00257 00258 template<class ContainerAllocator> 00259 struct Definition< ::cob_calibration_srvs::CaptureResponse_<ContainerAllocator> > { 00260 static const char* value() 00261 { 00262 return "bool success\n\ 00263 \n\ 00264 \n\ 00265 "; 00266 } 00267 00268 static const char* value(const ::cob_calibration_srvs::CaptureResponse_<ContainerAllocator> &) { return value(); } 00269 }; 00270 00271 template<class ContainerAllocator> struct IsFixedSize< ::cob_calibration_srvs::CaptureResponse_<ContainerAllocator> > : public TrueType {}; 00272 } // namespace message_traits 00273 } // namespace ros 00274 00275 namespace ros 00276 { 00277 namespace serialization 00278 { 00279 00280 template<class ContainerAllocator> struct Serializer< ::cob_calibration_srvs::CaptureRequest_<ContainerAllocator> > 00281 { 00282 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00283 { 00284 } 00285 00286 ROS_DECLARE_ALLINONE_SERIALIZER; 00287 }; // struct CaptureRequest_ 00288 } // namespace serialization 00289 } // namespace ros 00290 00291 00292 namespace ros 00293 { 00294 namespace serialization 00295 { 00296 00297 template<class ContainerAllocator> struct Serializer< ::cob_calibration_srvs::CaptureResponse_<ContainerAllocator> > 00298 { 00299 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00300 { 00301 stream.next(m.success); 00302 } 00303 00304 ROS_DECLARE_ALLINONE_SERIALIZER; 00305 }; // struct CaptureResponse_ 00306 } // namespace serialization 00307 } // namespace ros 00308 00309 namespace ros 00310 { 00311 namespace service_traits 00312 { 00313 template<> 00314 struct MD5Sum<cob_calibration_srvs::Capture> { 00315 static const char* value() 00316 { 00317 return "358e233cde0c8a8bcfea4ce193f8fc15"; 00318 } 00319 00320 static const char* value(const cob_calibration_srvs::Capture&) { return value(); } 00321 }; 00322 00323 template<> 00324 struct DataType<cob_calibration_srvs::Capture> { 00325 static const char* value() 00326 { 00327 return "cob_calibration_srvs/Capture"; 00328 } 00329 00330 static const char* value(const cob_calibration_srvs::Capture&) { return value(); } 00331 }; 00332 00333 template<class ContainerAllocator> 00334 struct MD5Sum<cob_calibration_srvs::CaptureRequest_<ContainerAllocator> > { 00335 static const char* value() 00336 { 00337 return "358e233cde0c8a8bcfea4ce193f8fc15"; 00338 } 00339 00340 static const char* value(const cob_calibration_srvs::CaptureRequest_<ContainerAllocator> &) { return value(); } 00341 }; 00342 00343 template<class ContainerAllocator> 00344 struct DataType<cob_calibration_srvs::CaptureRequest_<ContainerAllocator> > { 00345 static const char* value() 00346 { 00347 return "cob_calibration_srvs/Capture"; 00348 } 00349 00350 static const char* value(const cob_calibration_srvs::CaptureRequest_<ContainerAllocator> &) { return value(); } 00351 }; 00352 00353 template<class ContainerAllocator> 00354 struct MD5Sum<cob_calibration_srvs::CaptureResponse_<ContainerAllocator> > { 00355 static const char* value() 00356 { 00357 return "358e233cde0c8a8bcfea4ce193f8fc15"; 00358 } 00359 00360 static const char* value(const cob_calibration_srvs::CaptureResponse_<ContainerAllocator> &) { return value(); } 00361 }; 00362 00363 template<class ContainerAllocator> 00364 struct DataType<cob_calibration_srvs::CaptureResponse_<ContainerAllocator> > { 00365 static const char* value() 00366 { 00367 return "cob_calibration_srvs/Capture"; 00368 } 00369 00370 static const char* value(const cob_calibration_srvs::CaptureResponse_<ContainerAllocator> &) { return value(); } 00371 }; 00372 00373 } // namespace service_traits 00374 } // namespace ros 00375 00376 #endif // COB_CALIBRATION_SRVS_SERVICE_CAPTURE_H 00377