$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_public/doc_stacks/2013-03-05_12-22-34.333426/srs_public/srs_assisted_arm_navigation_msgs/srv/ArmNavStep.srv */ 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 private: 00048 static const char* __s_getDataType_() { return "srs_assisted_arm_navigation_msgs/ArmNavStepRequest"; } 00049 public: 00050 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00051 00052 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00053 00054 private: 00055 static const char* __s_getMD5Sum_() { return "74228e411a938091e60a46375ffad28a"; } 00056 public: 00057 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00058 00059 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00060 00061 private: 00062 static const char* __s_getServerMD5Sum_() { return "bec5a1f35d686c52d535f9cccfa9ea04"; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00065 00066 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00067 00068 private: 00069 static const char* __s_getMessageDefinition_() { return "bool undo\n\ 00070 bool redo\n\ 00071 \n\ 00072 "; } 00073 public: 00074 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00075 00076 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00077 00078 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00079 { 00080 ros::serialization::OStream stream(write_ptr, 1000000000); 00081 ros::serialization::serialize(stream, undo); 00082 ros::serialization::serialize(stream, redo); 00083 return stream.getData(); 00084 } 00085 00086 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00087 { 00088 ros::serialization::IStream stream(read_ptr, 1000000000); 00089 ros::serialization::deserialize(stream, undo); 00090 ros::serialization::deserialize(stream, redo); 00091 return stream.getData(); 00092 } 00093 00094 ROS_DEPRECATED virtual uint32_t serializationLength() const 00095 { 00096 uint32_t size = 0; 00097 size += ros::serialization::serializationLength(undo); 00098 size += ros::serialization::serializationLength(redo); 00099 return size; 00100 } 00101 00102 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > Ptr; 00103 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> const> ConstPtr; 00104 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00105 }; // struct ArmNavStepRequest 00106 typedef ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<std::allocator<void> > ArmNavStepRequest; 00107 00108 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest> ArmNavStepRequestPtr; 00109 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest const> ArmNavStepRequestConstPtr; 00110 00111 00112 template <class ContainerAllocator> 00113 struct ArmNavStepResponse_ { 00114 typedef ArmNavStepResponse_<ContainerAllocator> Type; 00115 00116 ArmNavStepResponse_() 00117 : completed(false) 00118 , b_steps_left(0) 00119 , f_steps_left(0) 00120 , msg() 00121 { 00122 } 00123 00124 ArmNavStepResponse_(const ContainerAllocator& _alloc) 00125 : completed(false) 00126 , b_steps_left(0) 00127 , f_steps_left(0) 00128 , msg(_alloc) 00129 { 00130 } 00131 00132 typedef uint8_t _completed_type; 00133 uint8_t completed; 00134 00135 typedef uint8_t _b_steps_left_type; 00136 uint8_t b_steps_left; 00137 00138 typedef uint8_t _f_steps_left_type; 00139 uint8_t f_steps_left; 00140 00141 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _msg_type; 00142 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > msg; 00143 00144 00145 private: 00146 static const char* __s_getDataType_() { return "srs_assisted_arm_navigation_msgs/ArmNavStepResponse"; } 00147 public: 00148 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00149 00150 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00151 00152 private: 00153 static const char* __s_getMD5Sum_() { return "bfe4638817133e47a49e3af7fe901d90"; } 00154 public: 00155 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00156 00157 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00158 00159 private: 00160 static const char* __s_getServerMD5Sum_() { return "bec5a1f35d686c52d535f9cccfa9ea04"; } 00161 public: 00162 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00163 00164 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00165 00166 private: 00167 static const char* __s_getMessageDefinition_() { return "bool completed\n\ 00168 uint8 b_steps_left\n\ 00169 uint8 f_steps_left\n\ 00170 string msg\n\ 00171 \n\ 00172 "; } 00173 public: 00174 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00175 00176 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00177 00178 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00179 { 00180 ros::serialization::OStream stream(write_ptr, 1000000000); 00181 ros::serialization::serialize(stream, completed); 00182 ros::serialization::serialize(stream, b_steps_left); 00183 ros::serialization::serialize(stream, f_steps_left); 00184 ros::serialization::serialize(stream, msg); 00185 return stream.getData(); 00186 } 00187 00188 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00189 { 00190 ros::serialization::IStream stream(read_ptr, 1000000000); 00191 ros::serialization::deserialize(stream, completed); 00192 ros::serialization::deserialize(stream, b_steps_left); 00193 ros::serialization::deserialize(stream, f_steps_left); 00194 ros::serialization::deserialize(stream, msg); 00195 return stream.getData(); 00196 } 00197 00198 ROS_DEPRECATED virtual uint32_t serializationLength() const 00199 { 00200 uint32_t size = 0; 00201 size += ros::serialization::serializationLength(completed); 00202 size += ros::serialization::serializationLength(b_steps_left); 00203 size += ros::serialization::serializationLength(f_steps_left); 00204 size += ros::serialization::serializationLength(msg); 00205 return size; 00206 } 00207 00208 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > Ptr; 00209 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> const> ConstPtr; 00210 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00211 }; // struct ArmNavStepResponse 00212 typedef ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<std::allocator<void> > ArmNavStepResponse; 00213 00214 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse> ArmNavStepResponsePtr; 00215 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse const> ArmNavStepResponseConstPtr; 00216 00217 struct ArmNavStep 00218 { 00219 00220 typedef ArmNavStepRequest Request; 00221 typedef ArmNavStepResponse Response; 00222 Request request; 00223 Response response; 00224 00225 typedef Request RequestType; 00226 typedef Response ResponseType; 00227 }; // struct ArmNavStep 00228 } // namespace srs_assisted_arm_navigation_msgs 00229 00230 namespace ros 00231 { 00232 namespace message_traits 00233 { 00234 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > : public TrueType {}; 00235 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> const> : public TrueType {}; 00236 template<class ContainerAllocator> 00237 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > { 00238 static const char* value() 00239 { 00240 return "74228e411a938091e60a46375ffad28a"; 00241 } 00242 00243 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> &) { return value(); } 00244 static const uint64_t static_value1 = 0x74228e411a938091ULL; 00245 static const uint64_t static_value2 = 0xe60a46375ffad28aULL; 00246 }; 00247 00248 template<class ContainerAllocator> 00249 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > { 00250 static const char* value() 00251 { 00252 return "srs_assisted_arm_navigation_msgs/ArmNavStepRequest"; 00253 } 00254 00255 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> &) { return value(); } 00256 }; 00257 00258 template<class ContainerAllocator> 00259 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > { 00260 static const char* value() 00261 { 00262 return "bool undo\n\ 00263 bool redo\n\ 00264 \n\ 00265 "; 00266 } 00267 00268 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> &) { return value(); } 00269 }; 00270 00271 template<class ContainerAllocator> struct IsFixedSize< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > : public TrueType {}; 00272 } // namespace message_traits 00273 } // namespace ros 00274 00275 00276 namespace ros 00277 { 00278 namespace message_traits 00279 { 00280 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > : public TrueType {}; 00281 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> const> : public TrueType {}; 00282 template<class ContainerAllocator> 00283 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > { 00284 static const char* value() 00285 { 00286 return "bfe4638817133e47a49e3af7fe901d90"; 00287 } 00288 00289 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> &) { return value(); } 00290 static const uint64_t static_value1 = 0xbfe4638817133e47ULL; 00291 static const uint64_t static_value2 = 0xa49e3af7fe901d90ULL; 00292 }; 00293 00294 template<class ContainerAllocator> 00295 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > { 00296 static const char* value() 00297 { 00298 return "srs_assisted_arm_navigation_msgs/ArmNavStepResponse"; 00299 } 00300 00301 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> &) { return value(); } 00302 }; 00303 00304 template<class ContainerAllocator> 00305 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > { 00306 static const char* value() 00307 { 00308 return "bool completed\n\ 00309 uint8 b_steps_left\n\ 00310 uint8 f_steps_left\n\ 00311 string msg\n\ 00312 \n\ 00313 "; 00314 } 00315 00316 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> &) { return value(); } 00317 }; 00318 00319 } // namespace message_traits 00320 } // namespace ros 00321 00322 namespace ros 00323 { 00324 namespace serialization 00325 { 00326 00327 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > 00328 { 00329 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00330 { 00331 stream.next(m.undo); 00332 stream.next(m.redo); 00333 } 00334 00335 ROS_DECLARE_ALLINONE_SERIALIZER; 00336 }; // struct ArmNavStepRequest_ 00337 } // namespace serialization 00338 } // namespace ros 00339 00340 00341 namespace ros 00342 { 00343 namespace serialization 00344 { 00345 00346 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > 00347 { 00348 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00349 { 00350 stream.next(m.completed); 00351 stream.next(m.b_steps_left); 00352 stream.next(m.f_steps_left); 00353 stream.next(m.msg); 00354 } 00355 00356 ROS_DECLARE_ALLINONE_SERIALIZER; 00357 }; // struct ArmNavStepResponse_ 00358 } // namespace serialization 00359 } // namespace ros 00360 00361 namespace ros 00362 { 00363 namespace service_traits 00364 { 00365 template<> 00366 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavStep> { 00367 static const char* value() 00368 { 00369 return "bec5a1f35d686c52d535f9cccfa9ea04"; 00370 } 00371 00372 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStep&) { return value(); } 00373 }; 00374 00375 template<> 00376 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavStep> { 00377 static const char* value() 00378 { 00379 return "srs_assisted_arm_navigation_msgs/ArmNavStep"; 00380 } 00381 00382 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStep&) { return value(); } 00383 }; 00384 00385 template<class ContainerAllocator> 00386 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > { 00387 static const char* value() 00388 { 00389 return "bec5a1f35d686c52d535f9cccfa9ea04"; 00390 } 00391 00392 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> &) { return value(); } 00393 }; 00394 00395 template<class ContainerAllocator> 00396 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> > { 00397 static const char* value() 00398 { 00399 return "srs_assisted_arm_navigation_msgs/ArmNavStep"; 00400 } 00401 00402 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStepRequest_<ContainerAllocator> &) { return value(); } 00403 }; 00404 00405 template<class ContainerAllocator> 00406 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > { 00407 static const char* value() 00408 { 00409 return "bec5a1f35d686c52d535f9cccfa9ea04"; 00410 } 00411 00412 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> &) { return value(); } 00413 }; 00414 00415 template<class ContainerAllocator> 00416 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> > { 00417 static const char* value() 00418 { 00419 return "srs_assisted_arm_navigation_msgs/ArmNavStep"; 00420 } 00421 00422 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStepResponse_<ContainerAllocator> &) { return value(); } 00423 }; 00424 00425 } // namespace service_traits 00426 } // namespace ros 00427 00428 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVSTEP_H 00429