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