$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-ias_common/doc_stacks/2013-03-01_15-41-55.252100/ias_common/vision_srvs/srv/srvjlo.srv */ 00002 #ifndef VISION_SRVS_SERVICE_SRVJLO_H 00003 #define VISION_SRVS_SERVICE_SRVJLO_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 #include "vision_msgs/partial_lo.h" 00020 00021 00022 #include "vision_msgs/partial_lo.h" 00023 00024 namespace vision_srvs 00025 { 00026 template <class ContainerAllocator> 00027 struct srvjloRequest_ { 00028 typedef srvjloRequest_<ContainerAllocator> Type; 00029 00030 srvjloRequest_() 00031 : command() 00032 , query() 00033 { 00034 } 00035 00036 srvjloRequest_(const ContainerAllocator& _alloc) 00037 : command(_alloc) 00038 , query(_alloc) 00039 { 00040 } 00041 00042 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _command_type; 00043 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > command; 00044 00045 typedef ::vision_msgs::partial_lo_<ContainerAllocator> _query_type; 00046 ::vision_msgs::partial_lo_<ContainerAllocator> query; 00047 00048 00049 private: 00050 static const char* __s_getDataType_() { return "vision_srvs/srvjloRequest"; } 00051 public: 00052 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00053 00054 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00055 00056 private: 00057 static const char* __s_getMD5Sum_() { return "448f8517a06ac844e556609aee938e74"; } 00058 public: 00059 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00060 00061 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00062 00063 private: 00064 static const char* __s_getServerMD5Sum_() { return "572b4b0c75f505639d3bf0845a2758bc"; } 00065 public: 00066 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00067 00068 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00069 00070 private: 00071 static const char* __s_getMessageDefinition_() { return "\n\ 00072 string command\n\ 00073 vision_msgs/partial_lo query\n\ 00074 \n\ 00075 ================================================================================\n\ 00076 MSG: vision_msgs/partial_lo\n\ 00077 # Message to quiey the lo-service, U. Klank klank@in.tum.de\n\ 00078 uint64 id #id of a frame, there should be unique mapping from a tf-name-string to such an id\n\ 00079 string name #optional parameter name representing a tf and knowledgebase correspondence\n\ 00080 uint64 parent_id #id of parent frame\n\ 00081 float64[16] pose #pose matrix, fully projective 4x4 matrix\n\ 00082 float64[36] cov #covariance for 6 dof (xyz, rpy)\n\ 00083 uint16 type #fixed connection with the parent (1) or free in space (0 = default)\n\ 00084 \n\ 00085 "; } 00086 public: 00087 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00088 00089 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00090 00091 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00092 { 00093 ros::serialization::OStream stream(write_ptr, 1000000000); 00094 ros::serialization::serialize(stream, command); 00095 ros::serialization::serialize(stream, query); 00096 return stream.getData(); 00097 } 00098 00099 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00100 { 00101 ros::serialization::IStream stream(read_ptr, 1000000000); 00102 ros::serialization::deserialize(stream, command); 00103 ros::serialization::deserialize(stream, query); 00104 return stream.getData(); 00105 } 00106 00107 ROS_DEPRECATED virtual uint32_t serializationLength() const 00108 { 00109 uint32_t size = 0; 00110 size += ros::serialization::serializationLength(command); 00111 size += ros::serialization::serializationLength(query); 00112 return size; 00113 } 00114 00115 typedef boost::shared_ptr< ::vision_srvs::srvjloRequest_<ContainerAllocator> > Ptr; 00116 typedef boost::shared_ptr< ::vision_srvs::srvjloRequest_<ContainerAllocator> const> ConstPtr; 00117 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00118 }; // struct srvjloRequest 00119 typedef ::vision_srvs::srvjloRequest_<std::allocator<void> > srvjloRequest; 00120 00121 typedef boost::shared_ptr< ::vision_srvs::srvjloRequest> srvjloRequestPtr; 00122 typedef boost::shared_ptr< ::vision_srvs::srvjloRequest const> srvjloRequestConstPtr; 00123 00124 00125 template <class ContainerAllocator> 00126 struct srvjloResponse_ { 00127 typedef srvjloResponse_<ContainerAllocator> Type; 00128 00129 srvjloResponse_() 00130 : error() 00131 , answer() 00132 { 00133 } 00134 00135 srvjloResponse_(const ContainerAllocator& _alloc) 00136 : error(_alloc) 00137 , answer(_alloc) 00138 { 00139 } 00140 00141 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _error_type; 00142 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > error; 00143 00144 typedef ::vision_msgs::partial_lo_<ContainerAllocator> _answer_type; 00145 ::vision_msgs::partial_lo_<ContainerAllocator> answer; 00146 00147 00148 private: 00149 static const char* __s_getDataType_() { return "vision_srvs/srvjloResponse"; } 00150 public: 00151 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00152 00153 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00154 00155 private: 00156 static const char* __s_getMD5Sum_() { return "8a198b249660f62ab3353dd7d0ba18d4"; } 00157 public: 00158 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00159 00160 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00161 00162 private: 00163 static const char* __s_getServerMD5Sum_() { return "572b4b0c75f505639d3bf0845a2758bc"; } 00164 public: 00165 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00166 00167 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00168 00169 private: 00170 static const char* __s_getMessageDefinition_() { return "string error\n\ 00171 vision_msgs/partial_lo answer\n\ 00172 \n\ 00173 \n\ 00174 ================================================================================\n\ 00175 MSG: vision_msgs/partial_lo\n\ 00176 # Message to quiey the lo-service, U. Klank klank@in.tum.de\n\ 00177 uint64 id #id of a frame, there should be unique mapping from a tf-name-string to such an id\n\ 00178 string name #optional parameter name representing a tf and knowledgebase correspondence\n\ 00179 uint64 parent_id #id of parent frame\n\ 00180 float64[16] pose #pose matrix, fully projective 4x4 matrix\n\ 00181 float64[36] cov #covariance for 6 dof (xyz, rpy)\n\ 00182 uint16 type #fixed connection with the parent (1) or free in space (0 = default)\n\ 00183 \n\ 00184 "; } 00185 public: 00186 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00187 00188 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00189 00190 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00191 { 00192 ros::serialization::OStream stream(write_ptr, 1000000000); 00193 ros::serialization::serialize(stream, error); 00194 ros::serialization::serialize(stream, answer); 00195 return stream.getData(); 00196 } 00197 00198 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00199 { 00200 ros::serialization::IStream stream(read_ptr, 1000000000); 00201 ros::serialization::deserialize(stream, error); 00202 ros::serialization::deserialize(stream, answer); 00203 return stream.getData(); 00204 } 00205 00206 ROS_DEPRECATED virtual uint32_t serializationLength() const 00207 { 00208 uint32_t size = 0; 00209 size += ros::serialization::serializationLength(error); 00210 size += ros::serialization::serializationLength(answer); 00211 return size; 00212 } 00213 00214 typedef boost::shared_ptr< ::vision_srvs::srvjloResponse_<ContainerAllocator> > Ptr; 00215 typedef boost::shared_ptr< ::vision_srvs::srvjloResponse_<ContainerAllocator> const> ConstPtr; 00216 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00217 }; // struct srvjloResponse 00218 typedef ::vision_srvs::srvjloResponse_<std::allocator<void> > srvjloResponse; 00219 00220 typedef boost::shared_ptr< ::vision_srvs::srvjloResponse> srvjloResponsePtr; 00221 typedef boost::shared_ptr< ::vision_srvs::srvjloResponse const> srvjloResponseConstPtr; 00222 00223 struct srvjlo 00224 { 00225 00226 typedef srvjloRequest Request; 00227 typedef srvjloResponse Response; 00228 Request request; 00229 Response response; 00230 00231 typedef Request RequestType; 00232 typedef Response ResponseType; 00233 }; // struct srvjlo 00234 } // namespace vision_srvs 00235 00236 namespace ros 00237 { 00238 namespace message_traits 00239 { 00240 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::srvjloRequest_<ContainerAllocator> > : public TrueType {}; 00241 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::srvjloRequest_<ContainerAllocator> const> : public TrueType {}; 00242 template<class ContainerAllocator> 00243 struct MD5Sum< ::vision_srvs::srvjloRequest_<ContainerAllocator> > { 00244 static const char* value() 00245 { 00246 return "448f8517a06ac844e556609aee938e74"; 00247 } 00248 00249 static const char* value(const ::vision_srvs::srvjloRequest_<ContainerAllocator> &) { return value(); } 00250 static const uint64_t static_value1 = 0x448f8517a06ac844ULL; 00251 static const uint64_t static_value2 = 0xe556609aee938e74ULL; 00252 }; 00253 00254 template<class ContainerAllocator> 00255 struct DataType< ::vision_srvs::srvjloRequest_<ContainerAllocator> > { 00256 static const char* value() 00257 { 00258 return "vision_srvs/srvjloRequest"; 00259 } 00260 00261 static const char* value(const ::vision_srvs::srvjloRequest_<ContainerAllocator> &) { return value(); } 00262 }; 00263 00264 template<class ContainerAllocator> 00265 struct Definition< ::vision_srvs::srvjloRequest_<ContainerAllocator> > { 00266 static const char* value() 00267 { 00268 return "\n\ 00269 string command\n\ 00270 vision_msgs/partial_lo query\n\ 00271 \n\ 00272 ================================================================================\n\ 00273 MSG: vision_msgs/partial_lo\n\ 00274 # Message to quiey the lo-service, U. Klank klank@in.tum.de\n\ 00275 uint64 id #id of a frame, there should be unique mapping from a tf-name-string to such an id\n\ 00276 string name #optional parameter name representing a tf and knowledgebase correspondence\n\ 00277 uint64 parent_id #id of parent frame\n\ 00278 float64[16] pose #pose matrix, fully projective 4x4 matrix\n\ 00279 float64[36] cov #covariance for 6 dof (xyz, rpy)\n\ 00280 uint16 type #fixed connection with the parent (1) or free in space (0 = default)\n\ 00281 \n\ 00282 "; 00283 } 00284 00285 static const char* value(const ::vision_srvs::srvjloRequest_<ContainerAllocator> &) { return value(); } 00286 }; 00287 00288 } // namespace message_traits 00289 } // namespace ros 00290 00291 00292 namespace ros 00293 { 00294 namespace message_traits 00295 { 00296 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::srvjloResponse_<ContainerAllocator> > : public TrueType {}; 00297 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::srvjloResponse_<ContainerAllocator> const> : public TrueType {}; 00298 template<class ContainerAllocator> 00299 struct MD5Sum< ::vision_srvs::srvjloResponse_<ContainerAllocator> > { 00300 static const char* value() 00301 { 00302 return "8a198b249660f62ab3353dd7d0ba18d4"; 00303 } 00304 00305 static const char* value(const ::vision_srvs::srvjloResponse_<ContainerAllocator> &) { return value(); } 00306 static const uint64_t static_value1 = 0x8a198b249660f62aULL; 00307 static const uint64_t static_value2 = 0xb3353dd7d0ba18d4ULL; 00308 }; 00309 00310 template<class ContainerAllocator> 00311 struct DataType< ::vision_srvs::srvjloResponse_<ContainerAllocator> > { 00312 static const char* value() 00313 { 00314 return "vision_srvs/srvjloResponse"; 00315 } 00316 00317 static const char* value(const ::vision_srvs::srvjloResponse_<ContainerAllocator> &) { return value(); } 00318 }; 00319 00320 template<class ContainerAllocator> 00321 struct Definition< ::vision_srvs::srvjloResponse_<ContainerAllocator> > { 00322 static const char* value() 00323 { 00324 return "string error\n\ 00325 vision_msgs/partial_lo answer\n\ 00326 \n\ 00327 \n\ 00328 ================================================================================\n\ 00329 MSG: vision_msgs/partial_lo\n\ 00330 # Message to quiey the lo-service, U. Klank klank@in.tum.de\n\ 00331 uint64 id #id of a frame, there should be unique mapping from a tf-name-string to such an id\n\ 00332 string name #optional parameter name representing a tf and knowledgebase correspondence\n\ 00333 uint64 parent_id #id of parent frame\n\ 00334 float64[16] pose #pose matrix, fully projective 4x4 matrix\n\ 00335 float64[36] cov #covariance for 6 dof (xyz, rpy)\n\ 00336 uint16 type #fixed connection with the parent (1) or free in space (0 = default)\n\ 00337 \n\ 00338 "; 00339 } 00340 00341 static const char* value(const ::vision_srvs::srvjloResponse_<ContainerAllocator> &) { return value(); } 00342 }; 00343 00344 } // namespace message_traits 00345 } // namespace ros 00346 00347 namespace ros 00348 { 00349 namespace serialization 00350 { 00351 00352 template<class ContainerAllocator> struct Serializer< ::vision_srvs::srvjloRequest_<ContainerAllocator> > 00353 { 00354 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00355 { 00356 stream.next(m.command); 00357 stream.next(m.query); 00358 } 00359 00360 ROS_DECLARE_ALLINONE_SERIALIZER; 00361 }; // struct srvjloRequest_ 00362 } // namespace serialization 00363 } // namespace ros 00364 00365 00366 namespace ros 00367 { 00368 namespace serialization 00369 { 00370 00371 template<class ContainerAllocator> struct Serializer< ::vision_srvs::srvjloResponse_<ContainerAllocator> > 00372 { 00373 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00374 { 00375 stream.next(m.error); 00376 stream.next(m.answer); 00377 } 00378 00379 ROS_DECLARE_ALLINONE_SERIALIZER; 00380 }; // struct srvjloResponse_ 00381 } // namespace serialization 00382 } // namespace ros 00383 00384 namespace ros 00385 { 00386 namespace service_traits 00387 { 00388 template<> 00389 struct MD5Sum<vision_srvs::srvjlo> { 00390 static const char* value() 00391 { 00392 return "572b4b0c75f505639d3bf0845a2758bc"; 00393 } 00394 00395 static const char* value(const vision_srvs::srvjlo&) { return value(); } 00396 }; 00397 00398 template<> 00399 struct DataType<vision_srvs::srvjlo> { 00400 static const char* value() 00401 { 00402 return "vision_srvs/srvjlo"; 00403 } 00404 00405 static const char* value(const vision_srvs::srvjlo&) { return value(); } 00406 }; 00407 00408 template<class ContainerAllocator> 00409 struct MD5Sum<vision_srvs::srvjloRequest_<ContainerAllocator> > { 00410 static const char* value() 00411 { 00412 return "572b4b0c75f505639d3bf0845a2758bc"; 00413 } 00414 00415 static const char* value(const vision_srvs::srvjloRequest_<ContainerAllocator> &) { return value(); } 00416 }; 00417 00418 template<class ContainerAllocator> 00419 struct DataType<vision_srvs::srvjloRequest_<ContainerAllocator> > { 00420 static const char* value() 00421 { 00422 return "vision_srvs/srvjlo"; 00423 } 00424 00425 static const char* value(const vision_srvs::srvjloRequest_<ContainerAllocator> &) { return value(); } 00426 }; 00427 00428 template<class ContainerAllocator> 00429 struct MD5Sum<vision_srvs::srvjloResponse_<ContainerAllocator> > { 00430 static const char* value() 00431 { 00432 return "572b4b0c75f505639d3bf0845a2758bc"; 00433 } 00434 00435 static const char* value(const vision_srvs::srvjloResponse_<ContainerAllocator> &) { return value(); } 00436 }; 00437 00438 template<class ContainerAllocator> 00439 struct DataType<vision_srvs::srvjloResponse_<ContainerAllocator> > { 00440 static const char* value() 00441 { 00442 return "vision_srvs/srvjlo"; 00443 } 00444 00445 static const char* value(const vision_srvs::srvjloResponse_<ContainerAllocator> &) { return value(); } 00446 }; 00447 00448 } // namespace service_traits 00449 } // namespace ros 00450 00451 #endif // VISION_SRVS_SERVICE_SRVJLO_H 00452