$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/ArmNavSetAttached.srv */ 00002 #ifndef SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVSETATTACHED_H 00003 #define SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVSETATTACHED_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 ArmNavSetAttachedRequest_ { 00026 typedef ArmNavSetAttachedRequest_<ContainerAllocator> Type; 00027 00028 ArmNavSetAttachedRequest_() 00029 : object_name() 00030 , attached(false) 00031 { 00032 } 00033 00034 ArmNavSetAttachedRequest_(const ContainerAllocator& _alloc) 00035 : object_name(_alloc) 00036 , attached(false) 00037 { 00038 } 00039 00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _object_name_type; 00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > object_name; 00042 00043 typedef uint8_t _attached_type; 00044 uint8_t attached; 00045 00046 00047 private: 00048 static const char* __s_getDataType_() { return "srs_assisted_arm_navigation_msgs/ArmNavSetAttachedRequest"; } 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 "949ff577f796198bba988756d700222d"; } 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 "a032bb669ab7592b282ce054d7d2ea6d"; } 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 "string object_name\n\ 00070 bool attached\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, object_name); 00082 ros::serialization::serialize(stream, attached); 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, object_name); 00090 ros::serialization::deserialize(stream, attached); 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(object_name); 00098 size += ros::serialization::serializationLength(attached); 00099 return size; 00100 } 00101 00102 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > Ptr; 00103 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> const> ConstPtr; 00104 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00105 }; // struct ArmNavSetAttachedRequest 00106 typedef ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<std::allocator<void> > ArmNavSetAttachedRequest; 00107 00108 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest> ArmNavSetAttachedRequestPtr; 00109 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest const> ArmNavSetAttachedRequestConstPtr; 00110 00111 00112 template <class ContainerAllocator> 00113 struct ArmNavSetAttachedResponse_ { 00114 typedef ArmNavSetAttachedResponse_<ContainerAllocator> Type; 00115 00116 ArmNavSetAttachedResponse_() 00117 : completed(false) 00118 , msg() 00119 { 00120 } 00121 00122 ArmNavSetAttachedResponse_(const ContainerAllocator& _alloc) 00123 : completed(false) 00124 , msg(_alloc) 00125 { 00126 } 00127 00128 typedef uint8_t _completed_type; 00129 uint8_t completed; 00130 00131 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _msg_type; 00132 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > msg; 00133 00134 00135 private: 00136 static const char* __s_getDataType_() { return "srs_assisted_arm_navigation_msgs/ArmNavSetAttachedResponse"; } 00137 public: 00138 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00139 00140 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00141 00142 private: 00143 static const char* __s_getMD5Sum_() { return "7de7f4695a268566c2ce9ae9e3a34e73"; } 00144 public: 00145 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00146 00147 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00148 00149 private: 00150 static const char* __s_getServerMD5Sum_() { return "a032bb669ab7592b282ce054d7d2ea6d"; } 00151 public: 00152 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00153 00154 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00155 00156 private: 00157 static const char* __s_getMessageDefinition_() { return "bool completed\n\ 00158 string msg\n\ 00159 \n\ 00160 \n\ 00161 "; } 00162 public: 00163 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00164 00165 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00166 00167 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00168 { 00169 ros::serialization::OStream stream(write_ptr, 1000000000); 00170 ros::serialization::serialize(stream, completed); 00171 ros::serialization::serialize(stream, msg); 00172 return stream.getData(); 00173 } 00174 00175 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00176 { 00177 ros::serialization::IStream stream(read_ptr, 1000000000); 00178 ros::serialization::deserialize(stream, completed); 00179 ros::serialization::deserialize(stream, msg); 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 size += ros::serialization::serializationLength(msg); 00188 return size; 00189 } 00190 00191 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> > Ptr; 00192 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> const> ConstPtr; 00193 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00194 }; // struct ArmNavSetAttachedResponse 00195 typedef ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<std::allocator<void> > ArmNavSetAttachedResponse; 00196 00197 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse> ArmNavSetAttachedResponsePtr; 00198 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse const> ArmNavSetAttachedResponseConstPtr; 00199 00200 struct ArmNavSetAttached 00201 { 00202 00203 typedef ArmNavSetAttachedRequest Request; 00204 typedef ArmNavSetAttachedResponse Response; 00205 Request request; 00206 Response response; 00207 00208 typedef Request RequestType; 00209 typedef Response ResponseType; 00210 }; // struct ArmNavSetAttached 00211 } // namespace srs_assisted_arm_navigation_msgs 00212 00213 namespace ros 00214 { 00215 namespace message_traits 00216 { 00217 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > : public TrueType {}; 00218 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> const> : public TrueType {}; 00219 template<class ContainerAllocator> 00220 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > { 00221 static const char* value() 00222 { 00223 return "949ff577f796198bba988756d700222d"; 00224 } 00225 00226 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> &) { return value(); } 00227 static const uint64_t static_value1 = 0x949ff577f796198bULL; 00228 static const uint64_t static_value2 = 0xba988756d700222dULL; 00229 }; 00230 00231 template<class ContainerAllocator> 00232 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > { 00233 static const char* value() 00234 { 00235 return "srs_assisted_arm_navigation_msgs/ArmNavSetAttachedRequest"; 00236 } 00237 00238 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> &) { return value(); } 00239 }; 00240 00241 template<class ContainerAllocator> 00242 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > { 00243 static const char* value() 00244 { 00245 return "string object_name\n\ 00246 bool attached\n\ 00247 \n\ 00248 "; 00249 } 00250 00251 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<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::ArmNavSetAttachedResponse_<ContainerAllocator> > : public TrueType {}; 00263 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> const> : public TrueType {}; 00264 template<class ContainerAllocator> 00265 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> > { 00266 static const char* value() 00267 { 00268 return "7de7f4695a268566c2ce9ae9e3a34e73"; 00269 } 00270 00271 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> &) { return value(); } 00272 static const uint64_t static_value1 = 0x7de7f4695a268566ULL; 00273 static const uint64_t static_value2 = 0xc2ce9ae9e3a34e73ULL; 00274 }; 00275 00276 template<class ContainerAllocator> 00277 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> > { 00278 static const char* value() 00279 { 00280 return "srs_assisted_arm_navigation_msgs/ArmNavSetAttachedResponse"; 00281 } 00282 00283 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> &) { return value(); } 00284 }; 00285 00286 template<class ContainerAllocator> 00287 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> > { 00288 static const char* value() 00289 { 00290 return "bool completed\n\ 00291 string msg\n\ 00292 \n\ 00293 \n\ 00294 "; 00295 } 00296 00297 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> &) { return value(); } 00298 }; 00299 00300 } // namespace message_traits 00301 } // namespace ros 00302 00303 namespace ros 00304 { 00305 namespace serialization 00306 { 00307 00308 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > 00309 { 00310 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00311 { 00312 stream.next(m.object_name); 00313 stream.next(m.attached); 00314 } 00315 00316 ROS_DECLARE_ALLINONE_SERIALIZER; 00317 }; // struct ArmNavSetAttachedRequest_ 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::ArmNavSetAttachedResponse_<ContainerAllocator> > 00328 { 00329 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00330 { 00331 stream.next(m.completed); 00332 stream.next(m.msg); 00333 } 00334 00335 ROS_DECLARE_ALLINONE_SERIALIZER; 00336 }; // struct ArmNavSetAttachedResponse_ 00337 } // namespace serialization 00338 } // namespace ros 00339 00340 namespace ros 00341 { 00342 namespace service_traits 00343 { 00344 template<> 00345 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavSetAttached> { 00346 static const char* value() 00347 { 00348 return "a032bb669ab7592b282ce054d7d2ea6d"; 00349 } 00350 00351 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavSetAttached&) { return value(); } 00352 }; 00353 00354 template<> 00355 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavSetAttached> { 00356 static const char* value() 00357 { 00358 return "srs_assisted_arm_navigation_msgs/ArmNavSetAttached"; 00359 } 00360 00361 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavSetAttached&) { return value(); } 00362 }; 00363 00364 template<class ContainerAllocator> 00365 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > { 00366 static const char* value() 00367 { 00368 return "a032bb669ab7592b282ce054d7d2ea6d"; 00369 } 00370 00371 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> &) { return value(); } 00372 }; 00373 00374 template<class ContainerAllocator> 00375 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > { 00376 static const char* value() 00377 { 00378 return "srs_assisted_arm_navigation_msgs/ArmNavSetAttached"; 00379 } 00380 00381 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> &) { return value(); } 00382 }; 00383 00384 template<class ContainerAllocator> 00385 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> > { 00386 static const char* value() 00387 { 00388 return "a032bb669ab7592b282ce054d7d2ea6d"; 00389 } 00390 00391 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> &) { return value(); } 00392 }; 00393 00394 template<class ContainerAllocator> 00395 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> > { 00396 static const char* value() 00397 { 00398 return "srs_assisted_arm_navigation_msgs/ArmNavSetAttached"; 00399 } 00400 00401 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> &) { return value(); } 00402 }; 00403 00404 } // namespace service_traits 00405 } // namespace ros 00406 00407 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVSETATTACHED_H 00408