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