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