$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/ArmNavStart.srv */ 00002 #ifndef SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVSTART_H 00003 #define SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVSTART_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 ArmNavStartRequest_ { 00026 typedef ArmNavStartRequest_<ContainerAllocator> Type; 00027 00028 ArmNavStartRequest_() 00029 : action() 00030 , object_name() 00031 , allow_repeat(false) 00032 { 00033 } 00034 00035 ArmNavStartRequest_(const ContainerAllocator& _alloc) 00036 : action(_alloc) 00037 , object_name(_alloc) 00038 , allow_repeat(false) 00039 { 00040 } 00041 00042 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _action_type; 00043 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > action; 00044 00045 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _object_name_type; 00046 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > object_name; 00047 00048 typedef uint8_t _allow_repeat_type; 00049 uint8_t allow_repeat; 00050 00051 00052 private: 00053 static const char* __s_getDataType_() { return "srs_assisted_arm_navigation_msgs/ArmNavStartRequest"; } 00054 public: 00055 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00056 00057 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00058 00059 private: 00060 static const char* __s_getMD5Sum_() { return "7e1924662aead56936172985ed54564e"; } 00061 public: 00062 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00063 00064 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00065 00066 private: 00067 static const char* __s_getServerMD5Sum_() { return "53dbc13bfd7f1549d2deede16ef3890e"; } 00068 public: 00069 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00070 00071 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00072 00073 private: 00074 static const char* __s_getMessageDefinition_() { return "string action\n\ 00075 string object_name\n\ 00076 bool allow_repeat\n\ 00077 \n\ 00078 "; } 00079 public: 00080 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00081 00082 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00083 00084 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00085 { 00086 ros::serialization::OStream stream(write_ptr, 1000000000); 00087 ros::serialization::serialize(stream, action); 00088 ros::serialization::serialize(stream, object_name); 00089 ros::serialization::serialize(stream, allow_repeat); 00090 return stream.getData(); 00091 } 00092 00093 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00094 { 00095 ros::serialization::IStream stream(read_ptr, 1000000000); 00096 ros::serialization::deserialize(stream, action); 00097 ros::serialization::deserialize(stream, object_name); 00098 ros::serialization::deserialize(stream, allow_repeat); 00099 return stream.getData(); 00100 } 00101 00102 ROS_DEPRECATED virtual uint32_t serializationLength() const 00103 { 00104 uint32_t size = 0; 00105 size += ros::serialization::serializationLength(action); 00106 size += ros::serialization::serializationLength(object_name); 00107 size += ros::serialization::serializationLength(allow_repeat); 00108 return size; 00109 } 00110 00111 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> > Ptr; 00112 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> const> ConstPtr; 00113 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00114 }; // struct ArmNavStartRequest 00115 typedef ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<std::allocator<void> > ArmNavStartRequest; 00116 00117 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest> ArmNavStartRequestPtr; 00118 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest const> ArmNavStartRequestConstPtr; 00119 00120 00121 template <class ContainerAllocator> 00122 struct ArmNavStartResponse_ { 00123 typedef ArmNavStartResponse_<ContainerAllocator> Type; 00124 00125 ArmNavStartResponse_() 00126 : completed(false) 00127 { 00128 } 00129 00130 ArmNavStartResponse_(const ContainerAllocator& _alloc) 00131 : completed(false) 00132 { 00133 } 00134 00135 typedef uint8_t _completed_type; 00136 uint8_t completed; 00137 00138 00139 private: 00140 static const char* __s_getDataType_() { return "srs_assisted_arm_navigation_msgs/ArmNavStartResponse"; } 00141 public: 00142 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00143 00144 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00145 00146 private: 00147 static const char* __s_getMD5Sum_() { return "9e58faa17a4877a1efc0e251b503c53b"; } 00148 public: 00149 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00150 00151 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00152 00153 private: 00154 static const char* __s_getServerMD5Sum_() { return "53dbc13bfd7f1549d2deede16ef3890e"; } 00155 public: 00156 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00157 00158 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00159 00160 private: 00161 static const char* __s_getMessageDefinition_() { return "bool completed\n\ 00162 \n\ 00163 "; } 00164 public: 00165 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00166 00167 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00168 00169 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00170 { 00171 ros::serialization::OStream stream(write_ptr, 1000000000); 00172 ros::serialization::serialize(stream, completed); 00173 return stream.getData(); 00174 } 00175 00176 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00177 { 00178 ros::serialization::IStream stream(read_ptr, 1000000000); 00179 ros::serialization::deserialize(stream, completed); 00180 return stream.getData(); 00181 } 00182 00183 ROS_DEPRECATED virtual uint32_t serializationLength() const 00184 { 00185 uint32_t size = 0; 00186 size += ros::serialization::serializationLength(completed); 00187 return size; 00188 } 00189 00190 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> > Ptr; 00191 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> const> ConstPtr; 00192 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00193 }; // struct ArmNavStartResponse 00194 typedef ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<std::allocator<void> > ArmNavStartResponse; 00195 00196 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse> ArmNavStartResponsePtr; 00197 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse const> ArmNavStartResponseConstPtr; 00198 00199 struct ArmNavStart 00200 { 00201 00202 typedef ArmNavStartRequest Request; 00203 typedef ArmNavStartResponse Response; 00204 Request request; 00205 Response response; 00206 00207 typedef Request RequestType; 00208 typedef Response ResponseType; 00209 }; // struct ArmNavStart 00210 } // namespace srs_assisted_arm_navigation_msgs 00211 00212 namespace ros 00213 { 00214 namespace message_traits 00215 { 00216 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> > : public TrueType {}; 00217 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> const> : public TrueType {}; 00218 template<class ContainerAllocator> 00219 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> > { 00220 static const char* value() 00221 { 00222 return "7e1924662aead56936172985ed54564e"; 00223 } 00224 00225 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> &) { return value(); } 00226 static const uint64_t static_value1 = 0x7e1924662aead569ULL; 00227 static const uint64_t static_value2 = 0x36172985ed54564eULL; 00228 }; 00229 00230 template<class ContainerAllocator> 00231 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> > { 00232 static const char* value() 00233 { 00234 return "srs_assisted_arm_navigation_msgs/ArmNavStartRequest"; 00235 } 00236 00237 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> &) { return value(); } 00238 }; 00239 00240 template<class ContainerAllocator> 00241 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> > { 00242 static const char* value() 00243 { 00244 return "string action\n\ 00245 string object_name\n\ 00246 bool allow_repeat\n\ 00247 \n\ 00248 "; 00249 } 00250 00251 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> &) { return value(); } 00252 }; 00253 00254 } // namespace message_traits 00255 } // namespace ros 00256 00257 00258 namespace ros 00259 { 00260 namespace message_traits 00261 { 00262 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> > : public TrueType {}; 00263 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> const> : public TrueType {}; 00264 template<class ContainerAllocator> 00265 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> > { 00266 static const char* value() 00267 { 00268 return "9e58faa17a4877a1efc0e251b503c53b"; 00269 } 00270 00271 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> &) { return value(); } 00272 static const uint64_t static_value1 = 0x9e58faa17a4877a1ULL; 00273 static const uint64_t static_value2 = 0xefc0e251b503c53bULL; 00274 }; 00275 00276 template<class ContainerAllocator> 00277 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> > { 00278 static const char* value() 00279 { 00280 return "srs_assisted_arm_navigation_msgs/ArmNavStartResponse"; 00281 } 00282 00283 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> &) { return value(); } 00284 }; 00285 00286 template<class ContainerAllocator> 00287 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> > { 00288 static const char* value() 00289 { 00290 return "bool completed\n\ 00291 \n\ 00292 "; 00293 } 00294 00295 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> &) { return value(); } 00296 }; 00297 00298 template<class ContainerAllocator> struct IsFixedSize< ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> > : public TrueType {}; 00299 } // namespace message_traits 00300 } // namespace ros 00301 00302 namespace ros 00303 { 00304 namespace serialization 00305 { 00306 00307 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> > 00308 { 00309 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00310 { 00311 stream.next(m.action); 00312 stream.next(m.object_name); 00313 stream.next(m.allow_repeat); 00314 } 00315 00316 ROS_DECLARE_ALLINONE_SERIALIZER; 00317 }; // struct ArmNavStartRequest_ 00318 } // namespace serialization 00319 } // namespace ros 00320 00321 00322 namespace ros 00323 { 00324 namespace serialization 00325 { 00326 00327 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> > 00328 { 00329 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00330 { 00331 stream.next(m.completed); 00332 } 00333 00334 ROS_DECLARE_ALLINONE_SERIALIZER; 00335 }; // struct ArmNavStartResponse_ 00336 } // namespace serialization 00337 } // namespace ros 00338 00339 namespace ros 00340 { 00341 namespace service_traits 00342 { 00343 template<> 00344 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavStart> { 00345 static const char* value() 00346 { 00347 return "53dbc13bfd7f1549d2deede16ef3890e"; 00348 } 00349 00350 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStart&) { return value(); } 00351 }; 00352 00353 template<> 00354 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavStart> { 00355 static const char* value() 00356 { 00357 return "srs_assisted_arm_navigation_msgs/ArmNavStart"; 00358 } 00359 00360 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStart&) { return value(); } 00361 }; 00362 00363 template<class ContainerAllocator> 00364 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> > { 00365 static const char* value() 00366 { 00367 return "53dbc13bfd7f1549d2deede16ef3890e"; 00368 } 00369 00370 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> &) { return value(); } 00371 }; 00372 00373 template<class ContainerAllocator> 00374 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> > { 00375 static const char* value() 00376 { 00377 return "srs_assisted_arm_navigation_msgs/ArmNavStart"; 00378 } 00379 00380 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStartRequest_<ContainerAllocator> &) { return value(); } 00381 }; 00382 00383 template<class ContainerAllocator> 00384 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> > { 00385 static const char* value() 00386 { 00387 return "53dbc13bfd7f1549d2deede16ef3890e"; 00388 } 00389 00390 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> &) { return value(); } 00391 }; 00392 00393 template<class ContainerAllocator> 00394 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> > { 00395 static const char* value() 00396 { 00397 return "srs_assisted_arm_navigation_msgs/ArmNavStart"; 00398 } 00399 00400 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavStartResponse_<ContainerAllocator> &) { return value(); } 00401 }; 00402 00403 } // namespace service_traits 00404 } // namespace ros 00405 00406 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVSTART_H 00407