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