00001
00002 #ifndef ROSCPP_SERVICE_SETLOGGERLEVEL_H
00003 #define ROSCPP_SERVICE_SETLOGGERLEVEL_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 roscpp
00019 {
00020 template <class ContainerAllocator>
00021 struct SetLoggerLevelRequest_ : public ros::Message
00022 {
00023 typedef SetLoggerLevelRequest_<ContainerAllocator> Type;
00024
00025 SetLoggerLevelRequest_()
00026 : logger()
00027 , level()
00028 {
00029 }
00030
00031 SetLoggerLevelRequest_(const ContainerAllocator& _alloc)
00032 : logger(_alloc)
00033 , level(_alloc)
00034 {
00035 }
00036
00037 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _logger_type;
00038 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > logger;
00039
00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _level_type;
00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > level;
00042
00043
00044 private:
00045 static const char* __s_getDataType_() { return "roscpp/SetLoggerLevelRequest"; }
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 "51da076440d78ca1684d36c868df61ea"; }
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 "51da076440d78ca1684d36c868df61ea"; }
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 logger\n\
00067 string level\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, logger);
00079 ros::serialization::serialize(stream, level);
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, logger);
00087 ros::serialization::deserialize(stream, level);
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(logger);
00095 size += ros::serialization::serializationLength(level);
00096 return size;
00097 }
00098
00099 typedef boost::shared_ptr< ::roscpp::SetLoggerLevelRequest_<ContainerAllocator> > Ptr;
00100 typedef boost::shared_ptr< ::roscpp::SetLoggerLevelRequest_<ContainerAllocator> const> ConstPtr;
00101 };
00102 typedef ::roscpp::SetLoggerLevelRequest_<std::allocator<void> > SetLoggerLevelRequest;
00103
00104 typedef boost::shared_ptr< ::roscpp::SetLoggerLevelRequest> SetLoggerLevelRequestPtr;
00105 typedef boost::shared_ptr< ::roscpp::SetLoggerLevelRequest const> SetLoggerLevelRequestConstPtr;
00106
00107
00108 template <class ContainerAllocator>
00109 struct SetLoggerLevelResponse_ : public ros::Message
00110 {
00111 typedef SetLoggerLevelResponse_<ContainerAllocator> Type;
00112
00113 SetLoggerLevelResponse_()
00114 {
00115 }
00116
00117 SetLoggerLevelResponse_(const ContainerAllocator& _alloc)
00118 {
00119 }
00120
00121
00122 private:
00123 static const char* __s_getDataType_() { return "roscpp/SetLoggerLevelResponse"; }
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 "51da076440d78ca1684d36c868df61ea"; }
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 "; }
00146 public:
00147 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00148
00149 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00150
00151 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00152 {
00153 ros::serialization::OStream stream(write_ptr, 1000000000);
00154 return stream.getData();
00155 }
00156
00157 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00158 {
00159 ros::serialization::IStream stream(read_ptr, 1000000000);
00160 return stream.getData();
00161 }
00162
00163 ROS_DEPRECATED virtual uint32_t serializationLength() const
00164 {
00165 uint32_t size = 0;
00166 return size;
00167 }
00168
00169 typedef boost::shared_ptr< ::roscpp::SetLoggerLevelResponse_<ContainerAllocator> > Ptr;
00170 typedef boost::shared_ptr< ::roscpp::SetLoggerLevelResponse_<ContainerAllocator> const> ConstPtr;
00171 };
00172 typedef ::roscpp::SetLoggerLevelResponse_<std::allocator<void> > SetLoggerLevelResponse;
00173
00174 typedef boost::shared_ptr< ::roscpp::SetLoggerLevelResponse> SetLoggerLevelResponsePtr;
00175 typedef boost::shared_ptr< ::roscpp::SetLoggerLevelResponse const> SetLoggerLevelResponseConstPtr;
00176
00177 struct SetLoggerLevel
00178 {
00179
00180 typedef SetLoggerLevelRequest Request;
00181 typedef SetLoggerLevelResponse 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< ::roscpp::SetLoggerLevelRequest_<ContainerAllocator> > {
00196 static const char* value()
00197 {
00198 return "51da076440d78ca1684d36c868df61ea";
00199 }
00200
00201 static const char* value(const ::roscpp::SetLoggerLevelRequest_<ContainerAllocator> &) { return value(); }
00202 static const uint64_t static_value1 = 0x51da076440d78ca1ULL;
00203 static const uint64_t static_value2 = 0x684d36c868df61eaULL;
00204 };
00205
00206 template<class ContainerAllocator>
00207 struct DataType< ::roscpp::SetLoggerLevelRequest_<ContainerAllocator> > {
00208 static const char* value()
00209 {
00210 return "roscpp/SetLoggerLevelRequest";
00211 }
00212
00213 static const char* value(const ::roscpp::SetLoggerLevelRequest_<ContainerAllocator> &) { return value(); }
00214 };
00215
00216 template<class ContainerAllocator>
00217 struct Definition< ::roscpp::SetLoggerLevelRequest_<ContainerAllocator> > {
00218 static const char* value()
00219 {
00220 return "string logger\n\
00221 string level\n\
00222 \n\
00223 ";
00224 }
00225
00226 static const char* value(const ::roscpp::SetLoggerLevelRequest_<ContainerAllocator> &) { return value(); }
00227 };
00228
00229 }
00230 }
00231
00232
00233 namespace ros
00234 {
00235 namespace message_traits
00236 {
00237 template<class ContainerAllocator>
00238 struct MD5Sum< ::roscpp::SetLoggerLevelResponse_<ContainerAllocator> > {
00239 static const char* value()
00240 {
00241 return "d41d8cd98f00b204e9800998ecf8427e";
00242 }
00243
00244 static const char* value(const ::roscpp::SetLoggerLevelResponse_<ContainerAllocator> &) { return value(); }
00245 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00246 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00247 };
00248
00249 template<class ContainerAllocator>
00250 struct DataType< ::roscpp::SetLoggerLevelResponse_<ContainerAllocator> > {
00251 static const char* value()
00252 {
00253 return "roscpp/SetLoggerLevelResponse";
00254 }
00255
00256 static const char* value(const ::roscpp::SetLoggerLevelResponse_<ContainerAllocator> &) { return value(); }
00257 };
00258
00259 template<class ContainerAllocator>
00260 struct Definition< ::roscpp::SetLoggerLevelResponse_<ContainerAllocator> > {
00261 static const char* value()
00262 {
00263 return "\n\
00264 ";
00265 }
00266
00267 static const char* value(const ::roscpp::SetLoggerLevelResponse_<ContainerAllocator> &) { return value(); }
00268 };
00269
00270 template<class ContainerAllocator> struct IsFixedSize< ::roscpp::SetLoggerLevelResponse_<ContainerAllocator> > : public TrueType {};
00271 }
00272 }
00273
00274 namespace ros
00275 {
00276 namespace serialization
00277 {
00278
00279 template<class ContainerAllocator> struct Serializer< ::roscpp::SetLoggerLevelRequest_<ContainerAllocator> >
00280 {
00281 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00282 {
00283 stream.next(m.logger);
00284 stream.next(m.level);
00285 }
00286
00287 ROS_DECLARE_ALLINONE_SERIALIZER;
00288 };
00289 }
00290 }
00291
00292
00293 namespace ros
00294 {
00295 namespace serialization
00296 {
00297
00298 template<class ContainerAllocator> struct Serializer< ::roscpp::SetLoggerLevelResponse_<ContainerAllocator> >
00299 {
00300 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00301 {
00302 }
00303
00304 ROS_DECLARE_ALLINONE_SERIALIZER;
00305 };
00306 }
00307 }
00308
00309 namespace ros
00310 {
00311 namespace service_traits
00312 {
00313 template<>
00314 struct MD5Sum<roscpp::SetLoggerLevel> {
00315 static const char* value()
00316 {
00317 return "51da076440d78ca1684d36c868df61ea";
00318 }
00319
00320 static const char* value(const roscpp::SetLoggerLevel&) { return value(); }
00321 };
00322
00323 template<>
00324 struct DataType<roscpp::SetLoggerLevel> {
00325 static const char* value()
00326 {
00327 return "roscpp/SetLoggerLevel";
00328 }
00329
00330 static const char* value(const roscpp::SetLoggerLevel&) { return value(); }
00331 };
00332
00333 template<class ContainerAllocator>
00334 struct MD5Sum<roscpp::SetLoggerLevelRequest_<ContainerAllocator> > {
00335 static const char* value()
00336 {
00337 return "51da076440d78ca1684d36c868df61ea";
00338 }
00339
00340 static const char* value(const roscpp::SetLoggerLevelRequest_<ContainerAllocator> &) { return value(); }
00341 };
00342
00343 template<class ContainerAllocator>
00344 struct DataType<roscpp::SetLoggerLevelRequest_<ContainerAllocator> > {
00345 static const char* value()
00346 {
00347 return "roscpp/SetLoggerLevel";
00348 }
00349
00350 static const char* value(const roscpp::SetLoggerLevelRequest_<ContainerAllocator> &) { return value(); }
00351 };
00352
00353 template<class ContainerAllocator>
00354 struct MD5Sum<roscpp::SetLoggerLevelResponse_<ContainerAllocator> > {
00355 static const char* value()
00356 {
00357 return "51da076440d78ca1684d36c868df61ea";
00358 }
00359
00360 static const char* value(const roscpp::SetLoggerLevelResponse_<ContainerAllocator> &) { return value(); }
00361 };
00362
00363 template<class ContainerAllocator>
00364 struct DataType<roscpp::SetLoggerLevelResponse_<ContainerAllocator> > {
00365 static const char* value()
00366 {
00367 return "roscpp/SetLoggerLevel";
00368 }
00369
00370 static const char* value(const roscpp::SetLoggerLevelResponse_<ContainerAllocator> &) { return value(); }
00371 };
00372
00373 }
00374 }
00375
00376 #endif // ROSCPP_SERVICE_SETLOGGERLEVEL_H
00377