Go to the documentation of this file.00001
00002 #ifndef SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVSTEP_H
00003 #define SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVSTEP_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 srs_assisted_arm_navigation_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct ArmNavStepRequest_ {
00026 typedef ArmNavStepRequest_<ContainerAllocator> Type;
00027
00028 ArmNavStepRequest_()
00029 : undo(false)
00030 , redo(false)
00031 {
00032 }
00033
00034 ArmNavStepRequest_(const ContainerAllocator& _alloc)
00035 : undo(false)
00036 , redo(false)
00037 {
00038 }
00039
00040 typedef uint8_t _undo_type;
00041 uint8_t undo;
00042
00043 typedef uint8_t _redo_type;
00044 uint8_t redo;
00045
00046
00047 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > Ptr;
00048 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> const> ConstPtr;
00049 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 };
00051 typedef ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<std::allocator<void> > ArmNavStepRequest;
00052
00053 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest> ArmNavStepRequestPtr;
00054 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest const> ArmNavStepRequestConstPtr;
00055
00056
00057 template <class ContainerAllocator>
00058 struct ArmNavStepResponse_ {
00059 typedef ArmNavStepResponse_<ContainerAllocator> Type;
00060
00061 ArmNavStepResponse_()
00062 : completed(false)
00063 , b_steps_left(0)
00064 , f_steps_left(0)
00065 , msg()
00066 {
00067 }
00068
00069 ArmNavStepResponse_(const ContainerAllocator& _alloc)
00070 : completed(false)
00071 , b_steps_left(0)
00072 , f_steps_left(0)
00073 , msg(_alloc)
00074 {
00075 }
00076
00077 typedef uint8_t _completed_type;
00078 uint8_t completed;
00079
00080 typedef uint8_t _b_steps_left_type;
00081 uint8_t b_steps_left;
00082
00083 typedef uint8_t _f_steps_left_type;
00084 uint8_t f_steps_left;
00085
00086 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _msg_type;
00087 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > msg;
00088
00089
00090 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > Ptr;
00091 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> const> ConstPtr;
00092 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00093 };
00094 typedef ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<std::allocator<void> > ArmNavStepResponse;
00095
00096 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse> ArmNavStepResponsePtr;
00097 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse const> ArmNavStepResponseConstPtr;
00098
00099 struct ArmNavStep
00100 {
00101
00102 typedef ArmNavStepRequest Request;
00103 typedef ArmNavStepResponse Response;
00104 Request request;
00105 Response response;
00106
00107 typedef Request RequestType;
00108 typedef Response ResponseType;
00109 };
00110 }
00111
00112 namespace ros
00113 {
00114 namespace message_traits
00115 {
00116 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > : public TrueType {};
00117 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> const> : public TrueType {};
00118 template<class ContainerAllocator>
00119 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > {
00120 static const char* value()
00121 {
00122 return "74228e411a938091e60a46375ffad28a";
00123 }
00124
00125 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> &) { return value(); }
00126 static const uint64_t static_value1 = 0x74228e411a938091ULL;
00127 static const uint64_t static_value2 = 0xe60a46375ffad28aULL;
00128 };
00129
00130 template<class ContainerAllocator>
00131 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > {
00132 static const char* value()
00133 {
00134 return "srs_assisted_arm_navigation_msgs/ArmNavStepRequest";
00135 }
00136
00137 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> &) { return value(); }
00138 };
00139
00140 template<class ContainerAllocator>
00141 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > {
00142 static const char* value()
00143 {
00144 return "bool undo\n\
00145 bool redo\n\
00146 \n\
00147 ";
00148 }
00149
00150 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> &) { return value(); }
00151 };
00152
00153 template<class ContainerAllocator> struct IsFixedSize< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > : public TrueType {};
00154 }
00155 }
00156
00157
00158 namespace ros
00159 {
00160 namespace message_traits
00161 {
00162 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > : public TrueType {};
00163 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> const> : public TrueType {};
00164 template<class ContainerAllocator>
00165 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > {
00166 static const char* value()
00167 {
00168 return "bfe4638817133e47a49e3af7fe901d90";
00169 }
00170
00171 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> &) { return value(); }
00172 static const uint64_t static_value1 = 0xbfe4638817133e47ULL;
00173 static const uint64_t static_value2 = 0xa49e3af7fe901d90ULL;
00174 };
00175
00176 template<class ContainerAllocator>
00177 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > {
00178 static const char* value()
00179 {
00180 return "srs_assisted_arm_navigation_msgs/ArmNavStepResponse";
00181 }
00182
00183 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> &) { return value(); }
00184 };
00185
00186 template<class ContainerAllocator>
00187 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > {
00188 static const char* value()
00189 {
00190 return "bool completed\n\
00191 uint8 b_steps_left\n\
00192 uint8 f_steps_left\n\
00193 string msg\n\
00194 \n\
00195 ";
00196 }
00197
00198 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> &) { return value(); }
00199 };
00200
00201 }
00202 }
00203
00204 namespace ros
00205 {
00206 namespace serialization
00207 {
00208
00209 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> >
00210 {
00211 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00212 {
00213 stream.next(m.undo);
00214 stream.next(m.redo);
00215 }
00216
00217 ROS_DECLARE_ALLINONE_SERIALIZER;
00218 };
00219 }
00220 }
00221
00222
00223 namespace ros
00224 {
00225 namespace serialization
00226 {
00227
00228 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> >
00229 {
00230 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00231 {
00232 stream.next(m.completed);
00233 stream.next(m.b_steps_left);
00234 stream.next(m.f_steps_left);
00235 stream.next(m.msg);
00236 }
00237
00238 ROS_DECLARE_ALLINONE_SERIALIZER;
00239 };
00240 }
00241 }
00242
00243 namespace ros
00244 {
00245 namespace service_traits
00246 {
00247 template<>
00248 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavStep> {
00249 static const char* value()
00250 {
00251 return "bec5a1f35d686c52d535f9cccfa9ea04";
00252 }
00253
00254 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStep&) { return value(); }
00255 };
00256
00257 template<>
00258 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavStep> {
00259 static const char* value()
00260 {
00261 return "srs_assisted_arm_navigation_msgs/ArmNavStep";
00262 }
00263
00264 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStep&) { return value(); }
00265 };
00266
00267 template<class ContainerAllocator>
00268 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > {
00269 static const char* value()
00270 {
00271 return "bec5a1f35d686c52d535f9cccfa9ea04";
00272 }
00273
00274 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> &) { return value(); }
00275 };
00276
00277 template<class ContainerAllocator>
00278 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > {
00279 static const char* value()
00280 {
00281 return "srs_assisted_arm_navigation_msgs/ArmNavStep";
00282 }
00283
00284 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> &) { return value(); }
00285 };
00286
00287 template<class ContainerAllocator>
00288 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > {
00289 static const char* value()
00290 {
00291 return "bec5a1f35d686c52d535f9cccfa9ea04";
00292 }
00293
00294 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> &) { return value(); }
00295 };
00296
00297 template<class ContainerAllocator>
00298 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > {
00299 static const char* value()
00300 {
00301 return "srs_assisted_arm_navigation_msgs/ArmNavStep";
00302 }
00303
00304 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> &) { return value(); }
00305 };
00306
00307 }
00308 }
00309
00310 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVSTEP_H
00311