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