Go to the documentation of this file.00001
00002 #ifndef PR2_SELF_TEST_MSGS_SERVICE_SCRIPTDONE_H
00003 #define PR2_SELF_TEST_MSGS_SERVICE_SCRIPTDONE_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 ScriptDoneRequest_ {
00026 typedef ScriptDoneRequest_<ContainerAllocator> Type;
00027
00028 ScriptDoneRequest_()
00029 : result(0)
00030 , failure_msg()
00031 {
00032 }
00033
00034 ScriptDoneRequest_(const ContainerAllocator& _alloc)
00035 : result(0)
00036 , failure_msg(_alloc)
00037 {
00038 }
00039
00040 typedef int8_t _result_type;
00041 int8_t result;
00042
00043 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _failure_msg_type;
00044 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > failure_msg;
00045
00046 enum { RESULT_OK = 0 };
00047 enum { RESULT_FAIL = 1 };
00048 enum { RESULT_ERROR = 2 };
00049
00050 typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > Ptr;
00051 typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> const> ConstPtr;
00052 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 };
00054 typedef ::pr2_self_test_msgs::ScriptDoneRequest_<std::allocator<void> > ScriptDoneRequest;
00055
00056 typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneRequest> ScriptDoneRequestPtr;
00057 typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneRequest const> ScriptDoneRequestConstPtr;
00058
00059
00060
00061 template <class ContainerAllocator>
00062 struct ScriptDoneResponse_ {
00063 typedef ScriptDoneResponse_<ContainerAllocator> Type;
00064
00065 ScriptDoneResponse_()
00066 {
00067 }
00068
00069 ScriptDoneResponse_(const ContainerAllocator& _alloc)
00070 {
00071 }
00072
00073
00074 typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > Ptr;
00075 typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> const> ConstPtr;
00076 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00077 };
00078 typedef ::pr2_self_test_msgs::ScriptDoneResponse_<std::allocator<void> > ScriptDoneResponse;
00079
00080 typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneResponse> ScriptDoneResponsePtr;
00081 typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneResponse const> ScriptDoneResponseConstPtr;
00082
00083
00084 struct ScriptDone
00085 {
00086
00087 typedef ScriptDoneRequest Request;
00088 typedef ScriptDoneResponse Response;
00089 Request request;
00090 Response response;
00091
00092 typedef Request RequestType;
00093 typedef Response ResponseType;
00094 };
00095 }
00096
00097 namespace ros
00098 {
00099 namespace message_traits
00100 {
00101 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > : public TrueType {};
00102 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> const> : public TrueType {};
00103 template<class ContainerAllocator>
00104 struct MD5Sum< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "5ba149050d1d4dafdca40945725022b3";
00108 }
00109
00110 static const char* value(const ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> &) { return value(); }
00111 static const uint64_t static_value1 = 0x5ba149050d1d4dafULL;
00112 static const uint64_t static_value2 = 0xdca40945725022b3ULL;
00113 };
00114
00115 template<class ContainerAllocator>
00116 struct DataType< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > {
00117 static const char* value()
00118 {
00119 return "pr2_self_test_msgs/ScriptDoneRequest";
00120 }
00121
00122 static const char* value(const ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> &) { return value(); }
00123 };
00124
00125 template<class ContainerAllocator>
00126 struct Definition< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "byte RESULT_OK = 0\n\
00130 byte RESULT_FAIL = 1\n\
00131 byte RESULT_ERROR = 2\n\
00132 \n\
00133 byte result\n\
00134 string failure_msg\n\
00135 \n\
00136 ";
00137 }
00138
00139 static const char* value(const ::pr2_self_test_msgs::ScriptDoneRequest_<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::ScriptDoneResponse_<ContainerAllocator> > : public TrueType {};
00151 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> const> : public TrueType {};
00152 template<class ContainerAllocator>
00153 struct MD5Sum< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > {
00154 static const char* value()
00155 {
00156 return "d41d8cd98f00b204e9800998ecf8427e";
00157 }
00158
00159 static const char* value(const ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> &) { return value(); }
00160 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00161 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00162 };
00163
00164 template<class ContainerAllocator>
00165 struct DataType< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > {
00166 static const char* value()
00167 {
00168 return "pr2_self_test_msgs/ScriptDoneResponse";
00169 }
00170
00171 static const char* value(const ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> &) { return value(); }
00172 };
00173
00174 template<class ContainerAllocator>
00175 struct Definition< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > {
00176 static const char* value()
00177 {
00178 return "\n\
00179 ";
00180 }
00181
00182 static const char* value(const ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> &) { return value(); }
00183 };
00184
00185 template<class ContainerAllocator> struct IsFixedSize< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > : public TrueType {};
00186 }
00187 }
00188
00189 namespace ros
00190 {
00191 namespace serialization
00192 {
00193
00194 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> >
00195 {
00196 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00197 {
00198 stream.next(m.result);
00199 stream.next(m.failure_msg);
00200 }
00201
00202 ROS_DECLARE_ALLINONE_SERIALIZER;
00203 };
00204 }
00205 }
00206
00207
00208 namespace ros
00209 {
00210 namespace serialization
00211 {
00212
00213 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> >
00214 {
00215 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00216 {
00217 }
00218
00219 ROS_DECLARE_ALLINONE_SERIALIZER;
00220 };
00221 }
00222 }
00223
00224 namespace ros
00225 {
00226 namespace service_traits
00227 {
00228 template<>
00229 struct MD5Sum<pr2_self_test_msgs::ScriptDone> {
00230 static const char* value()
00231 {
00232 return "5ba149050d1d4dafdca40945725022b3";
00233 }
00234
00235 static const char* value(const pr2_self_test_msgs::ScriptDone&) { return value(); }
00236 };
00237
00238 template<>
00239 struct DataType<pr2_self_test_msgs::ScriptDone> {
00240 static const char* value()
00241 {
00242 return "pr2_self_test_msgs/ScriptDone";
00243 }
00244
00245 static const char* value(const pr2_self_test_msgs::ScriptDone&) { return value(); }
00246 };
00247
00248 template<class ContainerAllocator>
00249 struct MD5Sum<pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > {
00250 static const char* value()
00251 {
00252 return "5ba149050d1d4dafdca40945725022b3";
00253 }
00254
00255 static const char* value(const pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> &) { return value(); }
00256 };
00257
00258 template<class ContainerAllocator>
00259 struct DataType<pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > {
00260 static const char* value()
00261 {
00262 return "pr2_self_test_msgs/ScriptDone";
00263 }
00264
00265 static const char* value(const pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> &) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct MD5Sum<pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "5ba149050d1d4dafdca40945725022b3";
00273 }
00274
00275 static const char* value(const pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> &) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct DataType<pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "pr2_self_test_msgs/ScriptDone";
00283 }
00284
00285 static const char* value(const pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 }
00289 }
00290
00291 #endif // PR2_SELF_TEST_MSGS_SERVICE_SCRIPTDONE_H
00292