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