00001
00002 #ifndef PR2_SELF_TEST_MSGS_SERVICE_CONFIRMCONF_H
00003 #define PR2_SELF_TEST_MSGS_SERVICE_CONFIRMCONF_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 pr2_self_test_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct ConfirmConfRequest_ : public ros::Message
00022 {
00023 typedef ConfirmConfRequest_<ContainerAllocator> Type;
00024
00025 ConfirmConfRequest_()
00026 : message()
00027 , details()
00028 {
00029 }
00030
00031 ConfirmConfRequest_(const ContainerAllocator& _alloc)
00032 : message(_alloc)
00033 , details(_alloc)
00034 {
00035 }
00036
00037 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _message_type;
00038 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > message;
00039
00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _details_type;
00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > details;
00042
00043
00044 private:
00045 static const char* __s_getDataType_() { return "pr2_self_test_msgs/ConfirmConfRequest"; }
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 "ab7d78a02a011c0bafd39410f9f234b3"; }
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 "442889679903251e2b796370dada2b07"; }
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 message\n\
00067 string details\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, message);
00079 ros::serialization::serialize(stream, details);
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, message);
00087 ros::serialization::deserialize(stream, details);
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(message);
00095 size += ros::serialization::serializationLength(details);
00096 return size;
00097 }
00098
00099 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> > Ptr;
00100 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> const> ConstPtr;
00101 };
00102 typedef ::pr2_self_test_msgs::ConfirmConfRequest_<std::allocator<void> > ConfirmConfRequest;
00103
00104 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfRequest> ConfirmConfRequestPtr;
00105 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfRequest const> ConfirmConfRequestConstPtr;
00106
00107
00108 template <class ContainerAllocator>
00109 struct ConfirmConfResponse_ : public ros::Message
00110 {
00111 typedef ConfirmConfResponse_<ContainerAllocator> Type;
00112
00113 ConfirmConfResponse_()
00114 : retry(0)
00115 {
00116 }
00117
00118 ConfirmConfResponse_(const ContainerAllocator& _alloc)
00119 : retry(0)
00120 {
00121 }
00122
00123 typedef int8_t _retry_type;
00124 int8_t retry;
00125
00126 enum { RETRY = 0 };
00127 enum { FAIL = 1 };
00128
00129 private:
00130 static const char* __s_getDataType_() { return "pr2_self_test_msgs/ConfirmConfResponse"; }
00131 public:
00132 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00133
00134 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00135
00136 private:
00137 static const char* __s_getMD5Sum_() { return "07d0ea23359e60111f462db0c7458414"; }
00138 public:
00139 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00140
00141 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00142
00143 private:
00144 static const char* __s_getServerMD5Sum_() { return "442889679903251e2b796370dada2b07"; }
00145 public:
00146 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00147
00148 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00149
00150 private:
00151 static const char* __s_getMessageDefinition_() { return "byte RETRY = 0\n\
00152 byte FAIL = 1\n\
00153 \n\
00154 byte retry\n\
00155 \n\
00156 "; }
00157 public:
00158 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00159
00160 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00161
00162 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00163 {
00164 ros::serialization::OStream stream(write_ptr, 1000000000);
00165 ros::serialization::serialize(stream, retry);
00166 return stream.getData();
00167 }
00168
00169 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00170 {
00171 ros::serialization::IStream stream(read_ptr, 1000000000);
00172 ros::serialization::deserialize(stream, retry);
00173 return stream.getData();
00174 }
00175
00176 ROS_DEPRECATED virtual uint32_t serializationLength() const
00177 {
00178 uint32_t size = 0;
00179 size += ros::serialization::serializationLength(retry);
00180 return size;
00181 }
00182
00183 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > Ptr;
00184 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> const> ConstPtr;
00185 };
00186 typedef ::pr2_self_test_msgs::ConfirmConfResponse_<std::allocator<void> > ConfirmConfResponse;
00187
00188 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfResponse> ConfirmConfResponsePtr;
00189 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfResponse const> ConfirmConfResponseConstPtr;
00190
00191 struct ConfirmConf
00192 {
00193
00194 typedef ConfirmConfRequest Request;
00195 typedef ConfirmConfResponse Response;
00196 Request request;
00197 Response response;
00198
00199 typedef Request RequestType;
00200 typedef Response ResponseType;
00201 };
00202 }
00203
00204 namespace ros
00205 {
00206 namespace message_traits
00207 {
00208 template<class ContainerAllocator>
00209 struct MD5Sum< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> > {
00210 static const char* value()
00211 {
00212 return "ab7d78a02a011c0bafd39410f9f234b3";
00213 }
00214
00215 static const char* value(const ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> &) { return value(); }
00216 static const uint64_t static_value1 = 0xab7d78a02a011c0bULL;
00217 static const uint64_t static_value2 = 0xafd39410f9f234b3ULL;
00218 };
00219
00220 template<class ContainerAllocator>
00221 struct DataType< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> > {
00222 static const char* value()
00223 {
00224 return "pr2_self_test_msgs/ConfirmConfRequest";
00225 }
00226
00227 static const char* value(const ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> &) { return value(); }
00228 };
00229
00230 template<class ContainerAllocator>
00231 struct Definition< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> > {
00232 static const char* value()
00233 {
00234 return "string message\n\
00235 string details\n\
00236 \n\
00237 ";
00238 }
00239
00240 static const char* value(const ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> &) { return value(); }
00241 };
00242
00243 }
00244 }
00245
00246
00247 namespace ros
00248 {
00249 namespace message_traits
00250 {
00251 template<class ContainerAllocator>
00252 struct MD5Sum< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > {
00253 static const char* value()
00254 {
00255 return "07d0ea23359e60111f462db0c7458414";
00256 }
00257
00258 static const char* value(const ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> &) { return value(); }
00259 static const uint64_t static_value1 = 0x07d0ea23359e6011ULL;
00260 static const uint64_t static_value2 = 0x1f462db0c7458414ULL;
00261 };
00262
00263 template<class ContainerAllocator>
00264 struct DataType< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > {
00265 static const char* value()
00266 {
00267 return "pr2_self_test_msgs/ConfirmConfResponse";
00268 }
00269
00270 static const char* value(const ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> &) { return value(); }
00271 };
00272
00273 template<class ContainerAllocator>
00274 struct Definition< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > {
00275 static const char* value()
00276 {
00277 return "byte RETRY = 0\n\
00278 byte FAIL = 1\n\
00279 \n\
00280 byte retry\n\
00281 \n\
00282 ";
00283 }
00284
00285 static const char* value(const ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 template<class ContainerAllocator> struct IsFixedSize< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > : public TrueType {};
00289 }
00290 }
00291
00292 namespace ros
00293 {
00294 namespace serialization
00295 {
00296
00297 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> >
00298 {
00299 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00300 {
00301 stream.next(m.message);
00302 stream.next(m.details);
00303 }
00304
00305 ROS_DECLARE_ALLINONE_SERIALIZER;
00306 };
00307 }
00308 }
00309
00310
00311 namespace ros
00312 {
00313 namespace serialization
00314 {
00315
00316 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> >
00317 {
00318 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00319 {
00320 stream.next(m.retry);
00321 }
00322
00323 ROS_DECLARE_ALLINONE_SERIALIZER;
00324 };
00325 }
00326 }
00327
00328 namespace ros
00329 {
00330 namespace service_traits
00331 {
00332 template<>
00333 struct MD5Sum<pr2_self_test_msgs::ConfirmConf> {
00334 static const char* value()
00335 {
00336 return "442889679903251e2b796370dada2b07";
00337 }
00338
00339 static const char* value(const pr2_self_test_msgs::ConfirmConf&) { return value(); }
00340 };
00341
00342 template<>
00343 struct DataType<pr2_self_test_msgs::ConfirmConf> {
00344 static const char* value()
00345 {
00346 return "pr2_self_test_msgs/ConfirmConf";
00347 }
00348
00349 static const char* value(const pr2_self_test_msgs::ConfirmConf&) { return value(); }
00350 };
00351
00352 template<class ContainerAllocator>
00353 struct MD5Sum<pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> > {
00354 static const char* value()
00355 {
00356 return "442889679903251e2b796370dada2b07";
00357 }
00358
00359 static const char* value(const pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> &) { return value(); }
00360 };
00361
00362 template<class ContainerAllocator>
00363 struct DataType<pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> > {
00364 static const char* value()
00365 {
00366 return "pr2_self_test_msgs/ConfirmConf";
00367 }
00368
00369 static const char* value(const pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> &) { return value(); }
00370 };
00371
00372 template<class ContainerAllocator>
00373 struct MD5Sum<pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > {
00374 static const char* value()
00375 {
00376 return "442889679903251e2b796370dada2b07";
00377 }
00378
00379 static const char* value(const pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> &) { return value(); }
00380 };
00381
00382 template<class ContainerAllocator>
00383 struct DataType<pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > {
00384 static const char* value()
00385 {
00386 return "pr2_self_test_msgs/ConfirmConf";
00387 }
00388
00389 static const char* value(const pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> &) { return value(); }
00390 };
00391
00392 }
00393 }
00394
00395 #endif // PR2_SELF_TEST_MSGS_SERVICE_CONFIRMCONF_H
00396