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