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