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