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