Go to the documentation of this file.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 <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "ros/service_traits.h"
00018
00019
00020
00021
00022 namespace pr2_self_test_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct ConfirmConfRequest_ {
00026 typedef ConfirmConfRequest_<ContainerAllocator> Type;
00027
00028 ConfirmConfRequest_()
00029 : message()
00030 , details()
00031 {
00032 }
00033
00034 ConfirmConfRequest_(const ContainerAllocator& _alloc)
00035 : message(_alloc)
00036 , details(_alloc)
00037 {
00038 }
00039
00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _message_type;
00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > message;
00042
00043 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _details_type;
00044 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > details;
00045
00046
00047 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> > Ptr;
00048 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> const> ConstPtr;
00049 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 };
00051 typedef ::pr2_self_test_msgs::ConfirmConfRequest_<std::allocator<void> > ConfirmConfRequest;
00052
00053 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfRequest> ConfirmConfRequestPtr;
00054 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfRequest const> ConfirmConfRequestConstPtr;
00055
00056
00057
00058 template <class ContainerAllocator>
00059 struct ConfirmConfResponse_ {
00060 typedef ConfirmConfResponse_<ContainerAllocator> Type;
00061
00062 ConfirmConfResponse_()
00063 : retry(0)
00064 {
00065 }
00066
00067 ConfirmConfResponse_(const ContainerAllocator& _alloc)
00068 : retry(0)
00069 {
00070 }
00071
00072 typedef int8_t _retry_type;
00073 int8_t retry;
00074
00075 enum { RETRY = 0 };
00076 enum { FAIL = 1 };
00077
00078 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > Ptr;
00079 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> const> ConstPtr;
00080 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00081 };
00082 typedef ::pr2_self_test_msgs::ConfirmConfResponse_<std::allocator<void> > ConfirmConfResponse;
00083
00084 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfResponse> ConfirmConfResponsePtr;
00085 typedef boost::shared_ptr< ::pr2_self_test_msgs::ConfirmConfResponse const> ConfirmConfResponseConstPtr;
00086
00087
00088 struct ConfirmConf
00089 {
00090
00091 typedef ConfirmConfRequest Request;
00092 typedef ConfirmConfResponse Response;
00093 Request request;
00094 Response response;
00095
00096 typedef Request RequestType;
00097 typedef Response ResponseType;
00098 };
00099 }
00100
00101 namespace ros
00102 {
00103 namespace message_traits
00104 {
00105 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> > : public TrueType {};
00106 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> const> : public TrueType {};
00107 template<class ContainerAllocator>
00108 struct MD5Sum< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> > {
00109 static const char* value()
00110 {
00111 return "ab7d78a02a011c0bafd39410f9f234b3";
00112 }
00113
00114 static const char* value(const ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> &) { return value(); }
00115 static const uint64_t static_value1 = 0xab7d78a02a011c0bULL;
00116 static const uint64_t static_value2 = 0xafd39410f9f234b3ULL;
00117 };
00118
00119 template<class ContainerAllocator>
00120 struct DataType< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> > {
00121 static const char* value()
00122 {
00123 return "pr2_self_test_msgs/ConfirmConfRequest";
00124 }
00125
00126 static const char* value(const ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> &) { return value(); }
00127 };
00128
00129 template<class ContainerAllocator>
00130 struct Definition< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> > {
00131 static const char* value()
00132 {
00133 return "string message\n\
00134 string details\n\
00135 \n\
00136 ";
00137 }
00138
00139 static const char* value(const ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> &) { return value(); }
00140 };
00141
00142 }
00143 }
00144
00145
00146 namespace ros
00147 {
00148 namespace message_traits
00149 {
00150 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > : public TrueType {};
00151 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> const> : public TrueType {};
00152 template<class ContainerAllocator>
00153 struct MD5Sum< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > {
00154 static const char* value()
00155 {
00156 return "07d0ea23359e60111f462db0c7458414";
00157 }
00158
00159 static const char* value(const ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> &) { return value(); }
00160 static const uint64_t static_value1 = 0x07d0ea23359e6011ULL;
00161 static const uint64_t static_value2 = 0x1f462db0c7458414ULL;
00162 };
00163
00164 template<class ContainerAllocator>
00165 struct DataType< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > {
00166 static const char* value()
00167 {
00168 return "pr2_self_test_msgs/ConfirmConfResponse";
00169 }
00170
00171 static const char* value(const ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> &) { return value(); }
00172 };
00173
00174 template<class ContainerAllocator>
00175 struct Definition< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > {
00176 static const char* value()
00177 {
00178 return "byte RETRY = 0\n\
00179 byte FAIL = 1\n\
00180 \n\
00181 byte retry\n\
00182 \n\
00183 ";
00184 }
00185
00186 static const char* value(const ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> &) { return value(); }
00187 };
00188
00189 template<class ContainerAllocator> struct IsFixedSize< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > : public TrueType {};
00190 }
00191 }
00192
00193 namespace ros
00194 {
00195 namespace serialization
00196 {
00197
00198 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> >
00199 {
00200 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00201 {
00202 stream.next(m.message);
00203 stream.next(m.details);
00204 }
00205
00206 ROS_DECLARE_ALLINONE_SERIALIZER;
00207 };
00208 }
00209 }
00210
00211
00212 namespace ros
00213 {
00214 namespace serialization
00215 {
00216
00217 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> >
00218 {
00219 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00220 {
00221 stream.next(m.retry);
00222 }
00223
00224 ROS_DECLARE_ALLINONE_SERIALIZER;
00225 };
00226 }
00227 }
00228
00229 namespace ros
00230 {
00231 namespace service_traits
00232 {
00233 template<>
00234 struct MD5Sum<pr2_self_test_msgs::ConfirmConf> {
00235 static const char* value()
00236 {
00237 return "442889679903251e2b796370dada2b07";
00238 }
00239
00240 static const char* value(const pr2_self_test_msgs::ConfirmConf&) { return value(); }
00241 };
00242
00243 template<>
00244 struct DataType<pr2_self_test_msgs::ConfirmConf> {
00245 static const char* value()
00246 {
00247 return "pr2_self_test_msgs/ConfirmConf";
00248 }
00249
00250 static const char* value(const pr2_self_test_msgs::ConfirmConf&) { return value(); }
00251 };
00252
00253 template<class ContainerAllocator>
00254 struct MD5Sum<pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> > {
00255 static const char* value()
00256 {
00257 return "442889679903251e2b796370dada2b07";
00258 }
00259
00260 static const char* value(const pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> &) { return value(); }
00261 };
00262
00263 template<class ContainerAllocator>
00264 struct DataType<pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> > {
00265 static const char* value()
00266 {
00267 return "pr2_self_test_msgs/ConfirmConf";
00268 }
00269
00270 static const char* value(const pr2_self_test_msgs::ConfirmConfRequest_<ContainerAllocator> &) { return value(); }
00271 };
00272
00273 template<class ContainerAllocator>
00274 struct MD5Sum<pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > {
00275 static const char* value()
00276 {
00277 return "442889679903251e2b796370dada2b07";
00278 }
00279
00280 static const char* value(const pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> &) { return value(); }
00281 };
00282
00283 template<class ContainerAllocator>
00284 struct DataType<pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> > {
00285 static const char* value()
00286 {
00287 return "pr2_self_test_msgs/ConfirmConf";
00288 }
00289
00290 static const char* value(const pr2_self_test_msgs::ConfirmConfResponse_<ContainerAllocator> &) { return value(); }
00291 };
00292
00293 }
00294 }
00295
00296 #endif // PR2_SELF_TEST_MSGS_SERVICE_CONFIRMCONF_H
00297