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