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