00001
00002 #ifndef TEST_ROSCPP_SERVICE_BADTESTSTRINGSTRING_H
00003 #define TEST_ROSCPP_SERVICE_BADTESTSTRINGSTRING_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 test_roscpp
00019 {
00020 template <class ContainerAllocator>
00021 struct BadTestStringStringRequest_ : public ros::Message
00022 {
00023 typedef BadTestStringStringRequest_<ContainerAllocator> Type;
00024
00025 BadTestStringStringRequest_()
00026 : strbad()
00027 {
00028 }
00029
00030 BadTestStringStringRequest_(const ContainerAllocator& _alloc)
00031 : strbad(_alloc)
00032 {
00033 }
00034
00035 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _strbad_type;
00036 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > strbad;
00037
00038
00039 private:
00040 static const char* __s_getDataType_() { return "test_roscpp/BadTestStringStringRequest"; }
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 "0eb2dbe383c40e9fd573702d3024aa21"; }
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 "6b193467bc2d41be616d6b0e985e2a63"; }
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 "\n\
00062 string strbad\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, strbad);
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, strbad);
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(strbad);
00088 return size;
00089 }
00090
00091 typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> > Ptr;
00092 typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> const> ConstPtr;
00093 };
00094 typedef ::test_roscpp::BadTestStringStringRequest_<std::allocator<void> > BadTestStringStringRequest;
00095
00096 typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringRequest> BadTestStringStringRequestPtr;
00097 typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringRequest const> BadTestStringStringRequestConstPtr;
00098
00099
00100 template <class ContainerAllocator>
00101 struct BadTestStringStringResponse_ : public ros::Message
00102 {
00103 typedef BadTestStringStringResponse_<ContainerAllocator> Type;
00104
00105 BadTestStringStringResponse_()
00106 : str()
00107 {
00108 }
00109
00110 BadTestStringStringResponse_(const ContainerAllocator& _alloc)
00111 : str(_alloc)
00112 {
00113 }
00114
00115 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _str_type;
00116 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > str;
00117
00118
00119 private:
00120 static const char* __s_getDataType_() { return "test_roscpp/BadTestStringStringResponse"; }
00121 public:
00122 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00123
00124 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00125
00126 private:
00127 static const char* __s_getMD5Sum_() { return "994972b6e03928b2476860ce6c4c8e17"; }
00128 public:
00129 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00130
00131 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00132
00133 private:
00134 static const char* __s_getServerMD5Sum_() { return "6b193467bc2d41be616d6b0e985e2a63"; }
00135 public:
00136 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00137
00138 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00139
00140 private:
00141 static const char* __s_getMessageDefinition_() { return "string str\n\
00142 \n\
00143 \n\
00144 "; }
00145 public:
00146 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00147
00148 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00149
00150 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00151 {
00152 ros::serialization::OStream stream(write_ptr, 1000000000);
00153 ros::serialization::serialize(stream, str);
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 ros::serialization::deserialize(stream, str);
00161 return stream.getData();
00162 }
00163
00164 ROS_DEPRECATED virtual uint32_t serializationLength() const
00165 {
00166 uint32_t size = 0;
00167 size += ros::serialization::serializationLength(str);
00168 return size;
00169 }
00170
00171 typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> > Ptr;
00172 typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> const> ConstPtr;
00173 };
00174 typedef ::test_roscpp::BadTestStringStringResponse_<std::allocator<void> > BadTestStringStringResponse;
00175
00176 typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringResponse> BadTestStringStringResponsePtr;
00177 typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringResponse const> BadTestStringStringResponseConstPtr;
00178
00179 struct BadTestStringString
00180 {
00181
00182 typedef BadTestStringStringRequest Request;
00183 typedef BadTestStringStringResponse Response;
00184 Request request;
00185 Response response;
00186
00187 typedef Request RequestType;
00188 typedef Response ResponseType;
00189 };
00190 }
00191
00192 namespace ros
00193 {
00194 namespace message_traits
00195 {
00196 template<class ContainerAllocator>
00197 struct MD5Sum< ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> > {
00198 static const char* value()
00199 {
00200 return "0eb2dbe383c40e9fd573702d3024aa21";
00201 }
00202
00203 static const char* value(const ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> &) { return value(); }
00204 static const uint64_t static_value1 = 0x0eb2dbe383c40e9fULL;
00205 static const uint64_t static_value2 = 0xd573702d3024aa21ULL;
00206 };
00207
00208 template<class ContainerAllocator>
00209 struct DataType< ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> > {
00210 static const char* value()
00211 {
00212 return "test_roscpp/BadTestStringStringRequest";
00213 }
00214
00215 static const char* value(const ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> &) { return value(); }
00216 };
00217
00218 template<class ContainerAllocator>
00219 struct Definition< ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> > {
00220 static const char* value()
00221 {
00222 return "\n\
00223 string strbad\n\
00224 \n\
00225 ";
00226 }
00227
00228 static const char* value(const ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> &) { return value(); }
00229 };
00230
00231 }
00232 }
00233
00234
00235 namespace ros
00236 {
00237 namespace message_traits
00238 {
00239 template<class ContainerAllocator>
00240 struct MD5Sum< ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> > {
00241 static const char* value()
00242 {
00243 return "994972b6e03928b2476860ce6c4c8e17";
00244 }
00245
00246 static const char* value(const ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> &) { return value(); }
00247 static const uint64_t static_value1 = 0x994972b6e03928b2ULL;
00248 static const uint64_t static_value2 = 0x476860ce6c4c8e17ULL;
00249 };
00250
00251 template<class ContainerAllocator>
00252 struct DataType< ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> > {
00253 static const char* value()
00254 {
00255 return "test_roscpp/BadTestStringStringResponse";
00256 }
00257
00258 static const char* value(const ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> &) { return value(); }
00259 };
00260
00261 template<class ContainerAllocator>
00262 struct Definition< ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> > {
00263 static const char* value()
00264 {
00265 return "string str\n\
00266 \n\
00267 \n\
00268 ";
00269 }
00270
00271 static const char* value(const ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> &) { return value(); }
00272 };
00273
00274 }
00275 }
00276
00277 namespace ros
00278 {
00279 namespace serialization
00280 {
00281
00282 template<class ContainerAllocator> struct Serializer< ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> >
00283 {
00284 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00285 {
00286 stream.next(m.strbad);
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< ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> >
00301 {
00302 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00303 {
00304 stream.next(m.str);
00305 }
00306
00307 ROS_DECLARE_ALLINONE_SERIALIZER;
00308 };
00309 }
00310 }
00311
00312 namespace ros
00313 {
00314 namespace service_traits
00315 {
00316 template<>
00317 struct MD5Sum<test_roscpp::BadTestStringString> {
00318 static const char* value()
00319 {
00320 return "6b193467bc2d41be616d6b0e985e2a63";
00321 }
00322
00323 static const char* value(const test_roscpp::BadTestStringString&) { return value(); }
00324 };
00325
00326 template<>
00327 struct DataType<test_roscpp::BadTestStringString> {
00328 static const char* value()
00329 {
00330 return "test_roscpp/BadTestStringString";
00331 }
00332
00333 static const char* value(const test_roscpp::BadTestStringString&) { return value(); }
00334 };
00335
00336 template<class ContainerAllocator>
00337 struct MD5Sum<test_roscpp::BadTestStringStringRequest_<ContainerAllocator> > {
00338 static const char* value()
00339 {
00340 return "6b193467bc2d41be616d6b0e985e2a63";
00341 }
00342
00343 static const char* value(const test_roscpp::BadTestStringStringRequest_<ContainerAllocator> &) { return value(); }
00344 };
00345
00346 template<class ContainerAllocator>
00347 struct DataType<test_roscpp::BadTestStringStringRequest_<ContainerAllocator> > {
00348 static const char* value()
00349 {
00350 return "test_roscpp/BadTestStringString";
00351 }
00352
00353 static const char* value(const test_roscpp::BadTestStringStringRequest_<ContainerAllocator> &) { return value(); }
00354 };
00355
00356 template<class ContainerAllocator>
00357 struct MD5Sum<test_roscpp::BadTestStringStringResponse_<ContainerAllocator> > {
00358 static const char* value()
00359 {
00360 return "6b193467bc2d41be616d6b0e985e2a63";
00361 }
00362
00363 static const char* value(const test_roscpp::BadTestStringStringResponse_<ContainerAllocator> &) { return value(); }
00364 };
00365
00366 template<class ContainerAllocator>
00367 struct DataType<test_roscpp::BadTestStringStringResponse_<ContainerAllocator> > {
00368 static const char* value()
00369 {
00370 return "test_roscpp/BadTestStringString";
00371 }
00372
00373 static const char* value(const test_roscpp::BadTestStringStringResponse_<ContainerAllocator> &) { return value(); }
00374 };
00375
00376 }
00377 }
00378
00379 #endif // TEST_ROSCPP_SERVICE_BADTESTSTRINGSTRING_H
00380