00001
00002 #ifndef COLLISION_ENVIRONMENT_MSGS_SERVICE_GETCLOUDSETTINGS_H
00003 #define COLLISION_ENVIRONMENT_MSGS_SERVICE_GETCLOUDSETTINGS_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 #include "collision_environment_msgs/CloudSettings.h"
00018
00019 namespace collision_environment_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct GetCloudSettingsRequest_ : public ros::Message
00023 {
00024 typedef GetCloudSettingsRequest_<ContainerAllocator> Type;
00025
00026 GetCloudSettingsRequest_()
00027 : cloud_name()
00028 {
00029 }
00030
00031 GetCloudSettingsRequest_(const ContainerAllocator& _alloc)
00032 : cloud_name(_alloc)
00033 {
00034 }
00035
00036 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _cloud_name_type;
00037 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > cloud_name;
00038
00039
00040 private:
00041 static const char* __s_getDataType_() { return "collision_environment_msgs/GetCloudSettingsRequest"; }
00042 public:
00043 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00044
00045 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00046
00047 private:
00048 static const char* __s_getMD5Sum_() { return "6ff027dea9c273d94115a43dce38bc1e"; }
00049 public:
00050 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00051
00052 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00053
00054 private:
00055 static const char* __s_getServerMD5Sum_() { return "d758eb69847678c3cf565abe841fee30"; }
00056 public:
00057 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00058
00059 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00060
00061 private:
00062 static const char* __s_getMessageDefinition_() { return "string cloud_name\n\
00063 \n\
00064 "; }
00065 public:
00066 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00067
00068 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00069
00070 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00071 {
00072 ros::serialization::OStream stream(write_ptr, 1000000000);
00073 ros::serialization::serialize(stream, cloud_name);
00074 return stream.getData();
00075 }
00076
00077 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00078 {
00079 ros::serialization::IStream stream(read_ptr, 1000000000);
00080 ros::serialization::deserialize(stream, cloud_name);
00081 return stream.getData();
00082 }
00083
00084 ROS_DEPRECATED virtual uint32_t serializationLength() const
00085 {
00086 uint32_t size = 0;
00087 size += ros::serialization::serializationLength(cloud_name);
00088 return size;
00089 }
00090
00091 typedef boost::shared_ptr< ::collision_environment_msgs::GetCloudSettingsRequest_<ContainerAllocator> > Ptr;
00092 typedef boost::shared_ptr< ::collision_environment_msgs::GetCloudSettingsRequest_<ContainerAllocator> const> ConstPtr;
00093 };
00094 typedef ::collision_environment_msgs::GetCloudSettingsRequest_<std::allocator<void> > GetCloudSettingsRequest;
00095
00096 typedef boost::shared_ptr< ::collision_environment_msgs::GetCloudSettingsRequest> GetCloudSettingsRequestPtr;
00097 typedef boost::shared_ptr< ::collision_environment_msgs::GetCloudSettingsRequest const> GetCloudSettingsRequestConstPtr;
00098
00099
00100 template <class ContainerAllocator>
00101 struct GetCloudSettingsResponse_ : public ros::Message
00102 {
00103 typedef GetCloudSettingsResponse_<ContainerAllocator> Type;
00104
00105 GetCloudSettingsResponse_()
00106 : settings()
00107 , value(0)
00108 {
00109 }
00110
00111 GetCloudSettingsResponse_(const ContainerAllocator& _alloc)
00112 : settings(_alloc)
00113 , value(0)
00114 {
00115 }
00116
00117 typedef ::collision_environment_msgs::CloudSettings_<ContainerAllocator> _settings_type;
00118 ::collision_environment_msgs::CloudSettings_<ContainerAllocator> settings;
00119
00120 typedef int32_t _value_type;
00121 int32_t value;
00122
00123 enum { SUCCESS = 1 };
00124 enum { NAME_NONEXISTANT = -1 };
00125 enum { FAILED = -2 };
00126
00127 private:
00128 static const char* __s_getDataType_() { return "collision_environment_msgs/GetCloudSettingsResponse"; }
00129 public:
00130 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00131
00132 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00133
00134 private:
00135 static const char* __s_getMD5Sum_() { return "9447e7a9df4e95e27a01de754fdcdc46"; }
00136 public:
00137 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00138
00139 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00140
00141 private:
00142 static const char* __s_getServerMD5Sum_() { return "d758eb69847678c3cf565abe841fee30"; }
00143 public:
00144 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00145
00146 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00147
00148 private:
00149 static const char* __s_getMessageDefinition_() { return "collision_environment_msgs/CloudSettings settings\n\
00150 int32 value\n\
00151 int32 SUCCESS=1\n\
00152 int32 NAME_NONEXISTANT=-1\n\
00153 int32 FAILED=-2\n\
00154 \n\
00155 \n\
00156 \n\
00157 \n\
00158 \n\
00159 \n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: collision_environment_msgs/CloudSettings\n\
00163 string cloud_name\n\
00164 int32 static_publish\n\
00165 int32 dynamic_publish\n\
00166 int32 INCLUDE = 1\n\
00167 int32 EXCLUDE = 2\n\
00168 \n\
00169 "; }
00170 public:
00171 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00172
00173 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00174
00175 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00176 {
00177 ros::serialization::OStream stream(write_ptr, 1000000000);
00178 ros::serialization::serialize(stream, settings);
00179 ros::serialization::serialize(stream, value);
00180 return stream.getData();
00181 }
00182
00183 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00184 {
00185 ros::serialization::IStream stream(read_ptr, 1000000000);
00186 ros::serialization::deserialize(stream, settings);
00187 ros::serialization::deserialize(stream, value);
00188 return stream.getData();
00189 }
00190
00191 ROS_DEPRECATED virtual uint32_t serializationLength() const
00192 {
00193 uint32_t size = 0;
00194 size += ros::serialization::serializationLength(settings);
00195 size += ros::serialization::serializationLength(value);
00196 return size;
00197 }
00198
00199 typedef boost::shared_ptr< ::collision_environment_msgs::GetCloudSettingsResponse_<ContainerAllocator> > Ptr;
00200 typedef boost::shared_ptr< ::collision_environment_msgs::GetCloudSettingsResponse_<ContainerAllocator> const> ConstPtr;
00201 };
00202 typedef ::collision_environment_msgs::GetCloudSettingsResponse_<std::allocator<void> > GetCloudSettingsResponse;
00203
00204 typedef boost::shared_ptr< ::collision_environment_msgs::GetCloudSettingsResponse> GetCloudSettingsResponsePtr;
00205 typedef boost::shared_ptr< ::collision_environment_msgs::GetCloudSettingsResponse const> GetCloudSettingsResponseConstPtr;
00206
00207 struct GetCloudSettings
00208 {
00209
00210 typedef GetCloudSettingsRequest Request;
00211 typedef GetCloudSettingsResponse Response;
00212 Request request;
00213 Response response;
00214
00215 typedef Request RequestType;
00216 typedef Response ResponseType;
00217 };
00218 }
00219
00220 namespace ros
00221 {
00222 namespace message_traits
00223 {
00224 template<class ContainerAllocator>
00225 struct MD5Sum< ::collision_environment_msgs::GetCloudSettingsRequest_<ContainerAllocator> > {
00226 static const char* value()
00227 {
00228 return "6ff027dea9c273d94115a43dce38bc1e";
00229 }
00230
00231 static const char* value(const ::collision_environment_msgs::GetCloudSettingsRequest_<ContainerAllocator> &) { return value(); }
00232 static const uint64_t static_value1 = 0x6ff027dea9c273d9ULL;
00233 static const uint64_t static_value2 = 0x4115a43dce38bc1eULL;
00234 };
00235
00236 template<class ContainerAllocator>
00237 struct DataType< ::collision_environment_msgs::GetCloudSettingsRequest_<ContainerAllocator> > {
00238 static const char* value()
00239 {
00240 return "collision_environment_msgs/GetCloudSettingsRequest";
00241 }
00242
00243 static const char* value(const ::collision_environment_msgs::GetCloudSettingsRequest_<ContainerAllocator> &) { return value(); }
00244 };
00245
00246 template<class ContainerAllocator>
00247 struct Definition< ::collision_environment_msgs::GetCloudSettingsRequest_<ContainerAllocator> > {
00248 static const char* value()
00249 {
00250 return "string cloud_name\n\
00251 \n\
00252 ";
00253 }
00254
00255 static const char* value(const ::collision_environment_msgs::GetCloudSettingsRequest_<ContainerAllocator> &) { return value(); }
00256 };
00257
00258 }
00259 }
00260
00261
00262 namespace ros
00263 {
00264 namespace message_traits
00265 {
00266 template<class ContainerAllocator>
00267 struct MD5Sum< ::collision_environment_msgs::GetCloudSettingsResponse_<ContainerAllocator> > {
00268 static const char* value()
00269 {
00270 return "9447e7a9df4e95e27a01de754fdcdc46";
00271 }
00272
00273 static const char* value(const ::collision_environment_msgs::GetCloudSettingsResponse_<ContainerAllocator> &) { return value(); }
00274 static const uint64_t static_value1 = 0x9447e7a9df4e95e2ULL;
00275 static const uint64_t static_value2 = 0x7a01de754fdcdc46ULL;
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct DataType< ::collision_environment_msgs::GetCloudSettingsResponse_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "collision_environment_msgs/GetCloudSettingsResponse";
00283 }
00284
00285 static const char* value(const ::collision_environment_msgs::GetCloudSettingsResponse_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 template<class ContainerAllocator>
00289 struct Definition< ::collision_environment_msgs::GetCloudSettingsResponse_<ContainerAllocator> > {
00290 static const char* value()
00291 {
00292 return "collision_environment_msgs/CloudSettings settings\n\
00293 int32 value\n\
00294 int32 SUCCESS=1\n\
00295 int32 NAME_NONEXISTANT=-1\n\
00296 int32 FAILED=-2\n\
00297 \n\
00298 \n\
00299 \n\
00300 \n\
00301 \n\
00302 \n\
00303 \n\
00304 ================================================================================\n\
00305 MSG: collision_environment_msgs/CloudSettings\n\
00306 string cloud_name\n\
00307 int32 static_publish\n\
00308 int32 dynamic_publish\n\
00309 int32 INCLUDE = 1\n\
00310 int32 EXCLUDE = 2\n\
00311 \n\
00312 ";
00313 }
00314
00315 static const char* value(const ::collision_environment_msgs::GetCloudSettingsResponse_<ContainerAllocator> &) { return value(); }
00316 };
00317
00318 }
00319 }
00320
00321 namespace ros
00322 {
00323 namespace serialization
00324 {
00325
00326 template<class ContainerAllocator> struct Serializer< ::collision_environment_msgs::GetCloudSettingsRequest_<ContainerAllocator> >
00327 {
00328 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00329 {
00330 stream.next(m.cloud_name);
00331 }
00332
00333 ROS_DECLARE_ALLINONE_SERIALIZER;
00334 };
00335 }
00336 }
00337
00338
00339 namespace ros
00340 {
00341 namespace serialization
00342 {
00343
00344 template<class ContainerAllocator> struct Serializer< ::collision_environment_msgs::GetCloudSettingsResponse_<ContainerAllocator> >
00345 {
00346 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00347 {
00348 stream.next(m.settings);
00349 stream.next(m.value);
00350 }
00351
00352 ROS_DECLARE_ALLINONE_SERIALIZER;
00353 };
00354 }
00355 }
00356
00357 namespace ros
00358 {
00359 namespace service_traits
00360 {
00361 template<>
00362 struct MD5Sum<collision_environment_msgs::GetCloudSettings> {
00363 static const char* value()
00364 {
00365 return "d758eb69847678c3cf565abe841fee30";
00366 }
00367
00368 static const char* value(const collision_environment_msgs::GetCloudSettings&) { return value(); }
00369 };
00370
00371 template<>
00372 struct DataType<collision_environment_msgs::GetCloudSettings> {
00373 static const char* value()
00374 {
00375 return "collision_environment_msgs/GetCloudSettings";
00376 }
00377
00378 static const char* value(const collision_environment_msgs::GetCloudSettings&) { return value(); }
00379 };
00380
00381 template<class ContainerAllocator>
00382 struct MD5Sum<collision_environment_msgs::GetCloudSettingsRequest_<ContainerAllocator> > {
00383 static const char* value()
00384 {
00385 return "d758eb69847678c3cf565abe841fee30";
00386 }
00387
00388 static const char* value(const collision_environment_msgs::GetCloudSettingsRequest_<ContainerAllocator> &) { return value(); }
00389 };
00390
00391 template<class ContainerAllocator>
00392 struct DataType<collision_environment_msgs::GetCloudSettingsRequest_<ContainerAllocator> > {
00393 static const char* value()
00394 {
00395 return "collision_environment_msgs/GetCloudSettings";
00396 }
00397
00398 static const char* value(const collision_environment_msgs::GetCloudSettingsRequest_<ContainerAllocator> &) { return value(); }
00399 };
00400
00401 template<class ContainerAllocator>
00402 struct MD5Sum<collision_environment_msgs::GetCloudSettingsResponse_<ContainerAllocator> > {
00403 static const char* value()
00404 {
00405 return "d758eb69847678c3cf565abe841fee30";
00406 }
00407
00408 static const char* value(const collision_environment_msgs::GetCloudSettingsResponse_<ContainerAllocator> &) { return value(); }
00409 };
00410
00411 template<class ContainerAllocator>
00412 struct DataType<collision_environment_msgs::GetCloudSettingsResponse_<ContainerAllocator> > {
00413 static const char* value()
00414 {
00415 return "collision_environment_msgs/GetCloudSettings";
00416 }
00417
00418 static const char* value(const collision_environment_msgs::GetCloudSettingsResponse_<ContainerAllocator> &) { return value(); }
00419 };
00420
00421 }
00422 }
00423
00424 #endif // COLLISION_ENVIRONMENT_MSGS_SERVICE_GETCLOUDSETTINGS_H
00425