00001
00002 #ifndef VISION_SRVS_SERVICE_REGISTER_JLO_CALLBACK_H
00003 #define VISION_SRVS_SERVICE_REGISTER_JLO_CALLBACK_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
00016
00017
00018 namespace vision_srvs
00019 {
00020 template <class ContainerAllocator>
00021 struct register_jlo_callbackRequest_ : public ros::Message
00022 {
00023 typedef register_jlo_callbackRequest_<ContainerAllocator> Type;
00024
00025 register_jlo_callbackRequest_()
00026 : topic_name()
00027 , jlo_id(0)
00028 , parent_id(0)
00029 , filter_delta_cov()
00030 {
00031 filter_delta_cov.assign(0.0);
00032 }
00033
00034 register_jlo_callbackRequest_(const ContainerAllocator& _alloc)
00035 : topic_name(_alloc)
00036 , jlo_id(0)
00037 , parent_id(0)
00038 , filter_delta_cov()
00039 {
00040 filter_delta_cov.assign(0.0);
00041 }
00042
00043 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _topic_name_type;
00044 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > topic_name;
00045
00046 typedef uint64_t _jlo_id_type;
00047 uint64_t jlo_id;
00048
00049 typedef uint64_t _parent_id_type;
00050 uint64_t parent_id;
00051
00052 typedef boost::array<double, 6> _filter_delta_cov_type;
00053 boost::array<double, 6> filter_delta_cov;
00054
00055
00056 ROS_DEPRECATED uint32_t get_filter_delta_cov_size() const { return (uint32_t)filter_delta_cov.size(); }
00057 private:
00058 static const char* __s_getDataType_() { return "vision_srvs/register_jlo_callbackRequest"; }
00059 public:
00060 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00061
00062 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00063
00064 private:
00065 static const char* __s_getMD5Sum_() { return "b4a1c7e4da9d58ce6fde17f373bed739"; }
00066 public:
00067 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00068
00069 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00070
00071 private:
00072 static const char* __s_getServerMD5Sum_() { return "4ebd0d41ee3295d3b5b92eeaa53db753"; }
00073 public:
00074 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00075
00076 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00077
00078 private:
00079 static const char* __s_getMessageDefinition_() { return "\n\
00080 string topic_name\n\
00081 uint64 jlo_id\n\
00082 uint64 parent_id\n\
00083 float64[6] filter_delta_cov\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, topic_name);
00095 ros::serialization::serialize(stream, jlo_id);
00096 ros::serialization::serialize(stream, parent_id);
00097 ros::serialization::serialize(stream, filter_delta_cov);
00098 return stream.getData();
00099 }
00100
00101 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00102 {
00103 ros::serialization::IStream stream(read_ptr, 1000000000);
00104 ros::serialization::deserialize(stream, topic_name);
00105 ros::serialization::deserialize(stream, jlo_id);
00106 ros::serialization::deserialize(stream, parent_id);
00107 ros::serialization::deserialize(stream, filter_delta_cov);
00108 return stream.getData();
00109 }
00110
00111 ROS_DEPRECATED virtual uint32_t serializationLength() const
00112 {
00113 uint32_t size = 0;
00114 size += ros::serialization::serializationLength(topic_name);
00115 size += ros::serialization::serializationLength(jlo_id);
00116 size += ros::serialization::serializationLength(parent_id);
00117 size += ros::serialization::serializationLength(filter_delta_cov);
00118 return size;
00119 }
00120
00121 typedef boost::shared_ptr< ::vision_srvs::register_jlo_callbackRequest_<ContainerAllocator> > Ptr;
00122 typedef boost::shared_ptr< ::vision_srvs::register_jlo_callbackRequest_<ContainerAllocator> const> ConstPtr;
00123 };
00124 typedef ::vision_srvs::register_jlo_callbackRequest_<std::allocator<void> > register_jlo_callbackRequest;
00125
00126 typedef boost::shared_ptr< ::vision_srvs::register_jlo_callbackRequest> register_jlo_callbackRequestPtr;
00127 typedef boost::shared_ptr< ::vision_srvs::register_jlo_callbackRequest const> register_jlo_callbackRequestConstPtr;
00128
00129
00130 template <class ContainerAllocator>
00131 struct register_jlo_callbackResponse_ : public ros::Message
00132 {
00133 typedef register_jlo_callbackResponse_<ContainerAllocator> Type;
00134
00135 register_jlo_callbackResponse_()
00136 : error()
00137 {
00138 }
00139
00140 register_jlo_callbackResponse_(const ContainerAllocator& _alloc)
00141 : error(_alloc)
00142 {
00143 }
00144
00145 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _error_type;
00146 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > error;
00147
00148
00149 private:
00150 static const char* __s_getDataType_() { return "vision_srvs/register_jlo_callbackResponse"; }
00151 public:
00152 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00153
00154 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00155
00156 private:
00157 static const char* __s_getMD5Sum_() { return "eca8b96616c32aacf1be8bbf14c70eba"; }
00158 public:
00159 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00160
00161 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00162
00163 private:
00164 static const char* __s_getServerMD5Sum_() { return "4ebd0d41ee3295d3b5b92eeaa53db753"; }
00165 public:
00166 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00167
00168 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00169
00170 private:
00171 static const char* __s_getMessageDefinition_() { return "string error\n\
00172 \n\
00173 "; }
00174 public:
00175 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00176
00177 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00178
00179 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00180 {
00181 ros::serialization::OStream stream(write_ptr, 1000000000);
00182 ros::serialization::serialize(stream, error);
00183 return stream.getData();
00184 }
00185
00186 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00187 {
00188 ros::serialization::IStream stream(read_ptr, 1000000000);
00189 ros::serialization::deserialize(stream, error);
00190 return stream.getData();
00191 }
00192
00193 ROS_DEPRECATED virtual uint32_t serializationLength() const
00194 {
00195 uint32_t size = 0;
00196 size += ros::serialization::serializationLength(error);
00197 return size;
00198 }
00199
00200 typedef boost::shared_ptr< ::vision_srvs::register_jlo_callbackResponse_<ContainerAllocator> > Ptr;
00201 typedef boost::shared_ptr< ::vision_srvs::register_jlo_callbackResponse_<ContainerAllocator> const> ConstPtr;
00202 };
00203 typedef ::vision_srvs::register_jlo_callbackResponse_<std::allocator<void> > register_jlo_callbackResponse;
00204
00205 typedef boost::shared_ptr< ::vision_srvs::register_jlo_callbackResponse> register_jlo_callbackResponsePtr;
00206 typedef boost::shared_ptr< ::vision_srvs::register_jlo_callbackResponse const> register_jlo_callbackResponseConstPtr;
00207
00208 struct register_jlo_callback
00209 {
00210
00211 typedef register_jlo_callbackRequest Request;
00212 typedef register_jlo_callbackResponse Response;
00213 Request request;
00214 Response response;
00215
00216 typedef Request RequestType;
00217 typedef Response ResponseType;
00218 };
00219 }
00220
00221 namespace ros
00222 {
00223 namespace message_traits
00224 {
00225 template<class ContainerAllocator>
00226 struct MD5Sum< ::vision_srvs::register_jlo_callbackRequest_<ContainerAllocator> > {
00227 static const char* value()
00228 {
00229 return "b4a1c7e4da9d58ce6fde17f373bed739";
00230 }
00231
00232 static const char* value(const ::vision_srvs::register_jlo_callbackRequest_<ContainerAllocator> &) { return value(); }
00233 static const uint64_t static_value1 = 0xb4a1c7e4da9d58ceULL;
00234 static const uint64_t static_value2 = 0x6fde17f373bed739ULL;
00235 };
00236
00237 template<class ContainerAllocator>
00238 struct DataType< ::vision_srvs::register_jlo_callbackRequest_<ContainerAllocator> > {
00239 static const char* value()
00240 {
00241 return "vision_srvs/register_jlo_callbackRequest";
00242 }
00243
00244 static const char* value(const ::vision_srvs::register_jlo_callbackRequest_<ContainerAllocator> &) { return value(); }
00245 };
00246
00247 template<class ContainerAllocator>
00248 struct Definition< ::vision_srvs::register_jlo_callbackRequest_<ContainerAllocator> > {
00249 static const char* value()
00250 {
00251 return "\n\
00252 string topic_name\n\
00253 uint64 jlo_id\n\
00254 uint64 parent_id\n\
00255 float64[6] filter_delta_cov\n\
00256 \n\
00257 ";
00258 }
00259
00260 static const char* value(const ::vision_srvs::register_jlo_callbackRequest_<ContainerAllocator> &) { return value(); }
00261 };
00262
00263 }
00264 }
00265
00266
00267 namespace ros
00268 {
00269 namespace message_traits
00270 {
00271 template<class ContainerAllocator>
00272 struct MD5Sum< ::vision_srvs::register_jlo_callbackResponse_<ContainerAllocator> > {
00273 static const char* value()
00274 {
00275 return "eca8b96616c32aacf1be8bbf14c70eba";
00276 }
00277
00278 static const char* value(const ::vision_srvs::register_jlo_callbackResponse_<ContainerAllocator> &) { return value(); }
00279 static const uint64_t static_value1 = 0xeca8b96616c32aacULL;
00280 static const uint64_t static_value2 = 0xf1be8bbf14c70ebaULL;
00281 };
00282
00283 template<class ContainerAllocator>
00284 struct DataType< ::vision_srvs::register_jlo_callbackResponse_<ContainerAllocator> > {
00285 static const char* value()
00286 {
00287 return "vision_srvs/register_jlo_callbackResponse";
00288 }
00289
00290 static const char* value(const ::vision_srvs::register_jlo_callbackResponse_<ContainerAllocator> &) { return value(); }
00291 };
00292
00293 template<class ContainerAllocator>
00294 struct Definition< ::vision_srvs::register_jlo_callbackResponse_<ContainerAllocator> > {
00295 static const char* value()
00296 {
00297 return "string error\n\
00298 \n\
00299 ";
00300 }
00301
00302 static const char* value(const ::vision_srvs::register_jlo_callbackResponse_<ContainerAllocator> &) { return value(); }
00303 };
00304
00305 }
00306 }
00307
00308 namespace ros
00309 {
00310 namespace serialization
00311 {
00312
00313 template<class ContainerAllocator> struct Serializer< ::vision_srvs::register_jlo_callbackRequest_<ContainerAllocator> >
00314 {
00315 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00316 {
00317 stream.next(m.topic_name);
00318 stream.next(m.jlo_id);
00319 stream.next(m.parent_id);
00320 stream.next(m.filter_delta_cov);
00321 }
00322
00323 ROS_DECLARE_ALLINONE_SERIALIZER;
00324 };
00325 }
00326 }
00327
00328
00329 namespace ros
00330 {
00331 namespace serialization
00332 {
00333
00334 template<class ContainerAllocator> struct Serializer< ::vision_srvs::register_jlo_callbackResponse_<ContainerAllocator> >
00335 {
00336 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00337 {
00338 stream.next(m.error);
00339 }
00340
00341 ROS_DECLARE_ALLINONE_SERIALIZER;
00342 };
00343 }
00344 }
00345
00346 namespace ros
00347 {
00348 namespace service_traits
00349 {
00350 template<>
00351 struct MD5Sum<vision_srvs::register_jlo_callback> {
00352 static const char* value()
00353 {
00354 return "4ebd0d41ee3295d3b5b92eeaa53db753";
00355 }
00356
00357 static const char* value(const vision_srvs::register_jlo_callback&) { return value(); }
00358 };
00359
00360 template<>
00361 struct DataType<vision_srvs::register_jlo_callback> {
00362 static const char* value()
00363 {
00364 return "vision_srvs/register_jlo_callback";
00365 }
00366
00367 static const char* value(const vision_srvs::register_jlo_callback&) { return value(); }
00368 };
00369
00370 template<class ContainerAllocator>
00371 struct MD5Sum<vision_srvs::register_jlo_callbackRequest_<ContainerAllocator> > {
00372 static const char* value()
00373 {
00374 return "4ebd0d41ee3295d3b5b92eeaa53db753";
00375 }
00376
00377 static const char* value(const vision_srvs::register_jlo_callbackRequest_<ContainerAllocator> &) { return value(); }
00378 };
00379
00380 template<class ContainerAllocator>
00381 struct DataType<vision_srvs::register_jlo_callbackRequest_<ContainerAllocator> > {
00382 static const char* value()
00383 {
00384 return "vision_srvs/register_jlo_callback";
00385 }
00386
00387 static const char* value(const vision_srvs::register_jlo_callbackRequest_<ContainerAllocator> &) { return value(); }
00388 };
00389
00390 template<class ContainerAllocator>
00391 struct MD5Sum<vision_srvs::register_jlo_callbackResponse_<ContainerAllocator> > {
00392 static const char* value()
00393 {
00394 return "4ebd0d41ee3295d3b5b92eeaa53db753";
00395 }
00396
00397 static const char* value(const vision_srvs::register_jlo_callbackResponse_<ContainerAllocator> &) { return value(); }
00398 };
00399
00400 template<class ContainerAllocator>
00401 struct DataType<vision_srvs::register_jlo_callbackResponse_<ContainerAllocator> > {
00402 static const char* value()
00403 {
00404 return "vision_srvs/register_jlo_callback";
00405 }
00406
00407 static const char* value(const vision_srvs::register_jlo_callbackResponse_<ContainerAllocator> &) { return value(); }
00408 };
00409
00410 }
00411 }
00412
00413 #endif // VISION_SRVS_SERVICE_REGISTER_JLO_CALLBACK_H
00414