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