Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::vision_srvs::srvjloRequest_<ContainerAllocator> > Ptr;
00050 typedef boost::shared_ptr< ::vision_srvs::srvjloRequest_<ContainerAllocator> const> ConstPtr;
00051 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 };
00053 typedef ::vision_srvs::srvjloRequest_<std::allocator<void> > srvjloRequest;
00054
00055 typedef boost::shared_ptr< ::vision_srvs::srvjloRequest> srvjloRequestPtr;
00056 typedef boost::shared_ptr< ::vision_srvs::srvjloRequest const> srvjloRequestConstPtr;
00057
00058
00059
00060 template <class ContainerAllocator>
00061 struct srvjloResponse_ {
00062 typedef srvjloResponse_<ContainerAllocator> Type;
00063
00064 srvjloResponse_()
00065 : error()
00066 , answer()
00067 {
00068 }
00069
00070 srvjloResponse_(const ContainerAllocator& _alloc)
00071 : error(_alloc)
00072 , answer(_alloc)
00073 {
00074 }
00075
00076 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _error_type;
00077 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > error;
00078
00079 typedef ::vision_msgs::partial_lo_<ContainerAllocator> _answer_type;
00080 ::vision_msgs::partial_lo_<ContainerAllocator> answer;
00081
00082
00083 typedef boost::shared_ptr< ::vision_srvs::srvjloResponse_<ContainerAllocator> > Ptr;
00084 typedef boost::shared_ptr< ::vision_srvs::srvjloResponse_<ContainerAllocator> const> ConstPtr;
00085 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00086 };
00087 typedef ::vision_srvs::srvjloResponse_<std::allocator<void> > srvjloResponse;
00088
00089 typedef boost::shared_ptr< ::vision_srvs::srvjloResponse> srvjloResponsePtr;
00090 typedef boost::shared_ptr< ::vision_srvs::srvjloResponse const> srvjloResponseConstPtr;
00091
00092
00093 struct srvjlo
00094 {
00095
00096 typedef srvjloRequest Request;
00097 typedef srvjloResponse Response;
00098 Request request;
00099 Response response;
00100
00101 typedef Request RequestType;
00102 typedef Response ResponseType;
00103 };
00104 }
00105
00106 namespace ros
00107 {
00108 namespace message_traits
00109 {
00110 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::srvjloRequest_<ContainerAllocator> > : public TrueType {};
00111 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::srvjloRequest_<ContainerAllocator> const> : public TrueType {};
00112 template<class ContainerAllocator>
00113 struct MD5Sum< ::vision_srvs::srvjloRequest_<ContainerAllocator> > {
00114 static const char* value()
00115 {
00116 return "448f8517a06ac844e556609aee938e74";
00117 }
00118
00119 static const char* value(const ::vision_srvs::srvjloRequest_<ContainerAllocator> &) { return value(); }
00120 static const uint64_t static_value1 = 0x448f8517a06ac844ULL;
00121 static const uint64_t static_value2 = 0xe556609aee938e74ULL;
00122 };
00123
00124 template<class ContainerAllocator>
00125 struct DataType< ::vision_srvs::srvjloRequest_<ContainerAllocator> > {
00126 static const char* value()
00127 {
00128 return "vision_srvs/srvjloRequest";
00129 }
00130
00131 static const char* value(const ::vision_srvs::srvjloRequest_<ContainerAllocator> &) { return value(); }
00132 };
00133
00134 template<class ContainerAllocator>
00135 struct Definition< ::vision_srvs::srvjloRequest_<ContainerAllocator> > {
00136 static const char* value()
00137 {
00138 return "\n\
00139 string command\n\
00140 vision_msgs/partial_lo query\n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: vision_msgs/partial_lo\n\
00144 # Message to quiey the lo-service, U. Klank klank@in.tum.de\n\
00145 uint64 id #id of a frame, there should be unique mapping from a tf-name-string to such an id\n\
00146 string name #optional parameter name representing a tf and knowledgebase correspondence\n\
00147 uint64 parent_id #id of parent frame\n\
00148 float64[16] pose #pose matrix, fully projective 4x4 matrix\n\
00149 float64[36] cov #covariance for 6 dof (xyz, rpy)\n\
00150 uint16 type #fixed connection with the parent (1) or free in space (0 = default)\n\
00151 \n\
00152 ";
00153 }
00154
00155 static const char* value(const ::vision_srvs::srvjloRequest_<ContainerAllocator> &) { return value(); }
00156 };
00157
00158 }
00159 }
00160
00161
00162 namespace ros
00163 {
00164 namespace message_traits
00165 {
00166 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::srvjloResponse_<ContainerAllocator> > : public TrueType {};
00167 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::srvjloResponse_<ContainerAllocator> const> : public TrueType {};
00168 template<class ContainerAllocator>
00169 struct MD5Sum< ::vision_srvs::srvjloResponse_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "8a198b249660f62ab3353dd7d0ba18d4";
00173 }
00174
00175 static const char* value(const ::vision_srvs::srvjloResponse_<ContainerAllocator> &) { return value(); }
00176 static const uint64_t static_value1 = 0x8a198b249660f62aULL;
00177 static const uint64_t static_value2 = 0xb3353dd7d0ba18d4ULL;
00178 };
00179
00180 template<class ContainerAllocator>
00181 struct DataType< ::vision_srvs::srvjloResponse_<ContainerAllocator> > {
00182 static const char* value()
00183 {
00184 return "vision_srvs/srvjloResponse";
00185 }
00186
00187 static const char* value(const ::vision_srvs::srvjloResponse_<ContainerAllocator> &) { return value(); }
00188 };
00189
00190 template<class ContainerAllocator>
00191 struct Definition< ::vision_srvs::srvjloResponse_<ContainerAllocator> > {
00192 static const char* value()
00193 {
00194 return "string error\n\
00195 vision_msgs/partial_lo answer\n\
00196 \n\
00197 \n\
00198 ================================================================================\n\
00199 MSG: vision_msgs/partial_lo\n\
00200 # Message to quiey the lo-service, U. Klank klank@in.tum.de\n\
00201 uint64 id #id of a frame, there should be unique mapping from a tf-name-string to such an id\n\
00202 string name #optional parameter name representing a tf and knowledgebase correspondence\n\
00203 uint64 parent_id #id of parent frame\n\
00204 float64[16] pose #pose matrix, fully projective 4x4 matrix\n\
00205 float64[36] cov #covariance for 6 dof (xyz, rpy)\n\
00206 uint16 type #fixed connection with the parent (1) or free in space (0 = default)\n\
00207 \n\
00208 ";
00209 }
00210
00211 static const char* value(const ::vision_srvs::srvjloResponse_<ContainerAllocator> &) { return value(); }
00212 };
00213
00214 }
00215 }
00216
00217 namespace ros
00218 {
00219 namespace serialization
00220 {
00221
00222 template<class ContainerAllocator> struct Serializer< ::vision_srvs::srvjloRequest_<ContainerAllocator> >
00223 {
00224 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00225 {
00226 stream.next(m.command);
00227 stream.next(m.query);
00228 }
00229
00230 ROS_DECLARE_ALLINONE_SERIALIZER;
00231 };
00232 }
00233 }
00234
00235
00236 namespace ros
00237 {
00238 namespace serialization
00239 {
00240
00241 template<class ContainerAllocator> struct Serializer< ::vision_srvs::srvjloResponse_<ContainerAllocator> >
00242 {
00243 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00244 {
00245 stream.next(m.error);
00246 stream.next(m.answer);
00247 }
00248
00249 ROS_DECLARE_ALLINONE_SERIALIZER;
00250 };
00251 }
00252 }
00253
00254 namespace ros
00255 {
00256 namespace service_traits
00257 {
00258 template<>
00259 struct MD5Sum<vision_srvs::srvjlo> {
00260 static const char* value()
00261 {
00262 return "572b4b0c75f505639d3bf0845a2758bc";
00263 }
00264
00265 static const char* value(const vision_srvs::srvjlo&) { return value(); }
00266 };
00267
00268 template<>
00269 struct DataType<vision_srvs::srvjlo> {
00270 static const char* value()
00271 {
00272 return "vision_srvs/srvjlo";
00273 }
00274
00275 static const char* value(const vision_srvs::srvjlo&) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct MD5Sum<vision_srvs::srvjloRequest_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "572b4b0c75f505639d3bf0845a2758bc";
00283 }
00284
00285 static const char* value(const vision_srvs::srvjloRequest_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 template<class ContainerAllocator>
00289 struct DataType<vision_srvs::srvjloRequest_<ContainerAllocator> > {
00290 static const char* value()
00291 {
00292 return "vision_srvs/srvjlo";
00293 }
00294
00295 static const char* value(const vision_srvs::srvjloRequest_<ContainerAllocator> &) { return value(); }
00296 };
00297
00298 template<class ContainerAllocator>
00299 struct MD5Sum<vision_srvs::srvjloResponse_<ContainerAllocator> > {
00300 static const char* value()
00301 {
00302 return "572b4b0c75f505639d3bf0845a2758bc";
00303 }
00304
00305 static const char* value(const vision_srvs::srvjloResponse_<ContainerAllocator> &) { return value(); }
00306 };
00307
00308 template<class ContainerAllocator>
00309 struct DataType<vision_srvs::srvjloResponse_<ContainerAllocator> > {
00310 static const char* value()
00311 {
00312 return "vision_srvs/srvjlo";
00313 }
00314
00315 static const char* value(const vision_srvs::srvjloResponse_<ContainerAllocator> &) { return value(); }
00316 };
00317
00318 }
00319 }
00320
00321 #endif // VISION_SRVS_SERVICE_SRVJLO_H
00322