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