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