$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-remote_lab/doc_stacks/2013-03-03_11-54-58.406785/remote_lab/tf_lister/srv/TfLister.srv */ 00002 #ifndef TF_LISTER_SERVICE_TFLISTER_H 00003 #define TF_LISTER_SERVICE_TFLISTER_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 tf_lister 00023 { 00024 template <class ContainerAllocator> 00025 struct TfListerRequest_ { 00026 typedef TfListerRequest_<ContainerAllocator> Type; 00027 00028 TfListerRequest_() 00029 { 00030 } 00031 00032 TfListerRequest_(const ContainerAllocator& _alloc) 00033 { 00034 } 00035 00036 00037 private: 00038 static const char* __s_getDataType_() { return "tf_lister/TfListerRequest"; } 00039 public: 00040 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00041 00042 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00043 00044 private: 00045 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00048 00049 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00050 00051 private: 00052 static const char* __s_getServerMD5Sum_() { return "71ff2010a39035e42d29fb248b2dd8fd"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "\n\ 00060 \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< ::tf_lister::TfListerRequest_<ContainerAllocator> > Ptr; 00086 typedef boost::shared_ptr< ::tf_lister::TfListerRequest_<ContainerAllocator> const> ConstPtr; 00087 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00088 }; // struct TfListerRequest 00089 typedef ::tf_lister::TfListerRequest_<std::allocator<void> > TfListerRequest; 00090 00091 typedef boost::shared_ptr< ::tf_lister::TfListerRequest> TfListerRequestPtr; 00092 typedef boost::shared_ptr< ::tf_lister::TfListerRequest const> TfListerRequestConstPtr; 00093 00094 00095 template <class ContainerAllocator> 00096 struct TfListerResponse_ { 00097 typedef TfListerResponse_<ContainerAllocator> Type; 00098 00099 TfListerResponse_() 00100 : tf_list() 00101 { 00102 } 00103 00104 TfListerResponse_(const ContainerAllocator& _alloc) 00105 : tf_list(_alloc) 00106 { 00107 } 00108 00109 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _tf_list_type; 00110 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > tf_list; 00111 00112 00113 ROS_DEPRECATED uint32_t get_tf_list_size() const { return (uint32_t)tf_list.size(); } 00114 ROS_DEPRECATED void set_tf_list_size(uint32_t size) { tf_list.resize((size_t)size); } 00115 ROS_DEPRECATED void get_tf_list_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->tf_list; } 00116 ROS_DEPRECATED void set_tf_list_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->tf_list = vec; } 00117 private: 00118 static const char* __s_getDataType_() { return "tf_lister/TfListerResponse"; } 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 "71ff2010a39035e42d29fb248b2dd8fd"; } 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 "71ff2010a39035e42d29fb248b2dd8fd"; } 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 "string[] tf_list\n\ 00140 \n\ 00141 "; } 00142 public: 00143 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00144 00145 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00146 00147 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00148 { 00149 ros::serialization::OStream stream(write_ptr, 1000000000); 00150 ros::serialization::serialize(stream, tf_list); 00151 return stream.getData(); 00152 } 00153 00154 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00155 { 00156 ros::serialization::IStream stream(read_ptr, 1000000000); 00157 ros::serialization::deserialize(stream, tf_list); 00158 return stream.getData(); 00159 } 00160 00161 ROS_DEPRECATED virtual uint32_t serializationLength() const 00162 { 00163 uint32_t size = 0; 00164 size += ros::serialization::serializationLength(tf_list); 00165 return size; 00166 } 00167 00168 typedef boost::shared_ptr< ::tf_lister::TfListerResponse_<ContainerAllocator> > Ptr; 00169 typedef boost::shared_ptr< ::tf_lister::TfListerResponse_<ContainerAllocator> const> ConstPtr; 00170 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00171 }; // struct TfListerResponse 00172 typedef ::tf_lister::TfListerResponse_<std::allocator<void> > TfListerResponse; 00173 00174 typedef boost::shared_ptr< ::tf_lister::TfListerResponse> TfListerResponsePtr; 00175 typedef boost::shared_ptr< ::tf_lister::TfListerResponse const> TfListerResponseConstPtr; 00176 00177 struct TfLister 00178 { 00179 00180 typedef TfListerRequest Request; 00181 typedef TfListerResponse Response; 00182 Request request; 00183 Response response; 00184 00185 typedef Request RequestType; 00186 typedef Response ResponseType; 00187 }; // struct TfLister 00188 } // namespace tf_lister 00189 00190 namespace ros 00191 { 00192 namespace message_traits 00193 { 00194 template<class ContainerAllocator> struct IsMessage< ::tf_lister::TfListerRequest_<ContainerAllocator> > : public TrueType {}; 00195 template<class ContainerAllocator> struct IsMessage< ::tf_lister::TfListerRequest_<ContainerAllocator> const> : public TrueType {}; 00196 template<class ContainerAllocator> 00197 struct MD5Sum< ::tf_lister::TfListerRequest_<ContainerAllocator> > { 00198 static const char* value() 00199 { 00200 return "d41d8cd98f00b204e9800998ecf8427e"; 00201 } 00202 00203 static const char* value(const ::tf_lister::TfListerRequest_<ContainerAllocator> &) { return value(); } 00204 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00205 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00206 }; 00207 00208 template<class ContainerAllocator> 00209 struct DataType< ::tf_lister::TfListerRequest_<ContainerAllocator> > { 00210 static const char* value() 00211 { 00212 return "tf_lister/TfListerRequest"; 00213 } 00214 00215 static const char* value(const ::tf_lister::TfListerRequest_<ContainerAllocator> &) { return value(); } 00216 }; 00217 00218 template<class ContainerAllocator> 00219 struct Definition< ::tf_lister::TfListerRequest_<ContainerAllocator> > { 00220 static const char* value() 00221 { 00222 return "\n\ 00223 \n\ 00224 "; 00225 } 00226 00227 static const char* value(const ::tf_lister::TfListerRequest_<ContainerAllocator> &) { return value(); } 00228 }; 00229 00230 template<class ContainerAllocator> struct IsFixedSize< ::tf_lister::TfListerRequest_<ContainerAllocator> > : public TrueType {}; 00231 } // namespace message_traits 00232 } // namespace ros 00233 00234 00235 namespace ros 00236 { 00237 namespace message_traits 00238 { 00239 template<class ContainerAllocator> struct IsMessage< ::tf_lister::TfListerResponse_<ContainerAllocator> > : public TrueType {}; 00240 template<class ContainerAllocator> struct IsMessage< ::tf_lister::TfListerResponse_<ContainerAllocator> const> : public TrueType {}; 00241 template<class ContainerAllocator> 00242 struct MD5Sum< ::tf_lister::TfListerResponse_<ContainerAllocator> > { 00243 static const char* value() 00244 { 00245 return "71ff2010a39035e42d29fb248b2dd8fd"; 00246 } 00247 00248 static const char* value(const ::tf_lister::TfListerResponse_<ContainerAllocator> &) { return value(); } 00249 static const uint64_t static_value1 = 0x71ff2010a39035e4ULL; 00250 static const uint64_t static_value2 = 0x2d29fb248b2dd8fdULL; 00251 }; 00252 00253 template<class ContainerAllocator> 00254 struct DataType< ::tf_lister::TfListerResponse_<ContainerAllocator> > { 00255 static const char* value() 00256 { 00257 return "tf_lister/TfListerResponse"; 00258 } 00259 00260 static const char* value(const ::tf_lister::TfListerResponse_<ContainerAllocator> &) { return value(); } 00261 }; 00262 00263 template<class ContainerAllocator> 00264 struct Definition< ::tf_lister::TfListerResponse_<ContainerAllocator> > { 00265 static const char* value() 00266 { 00267 return "string[] tf_list\n\ 00268 \n\ 00269 "; 00270 } 00271 00272 static const char* value(const ::tf_lister::TfListerResponse_<ContainerAllocator> &) { return value(); } 00273 }; 00274 00275 } // namespace message_traits 00276 } // namespace ros 00277 00278 namespace ros 00279 { 00280 namespace serialization 00281 { 00282 00283 template<class ContainerAllocator> struct Serializer< ::tf_lister::TfListerRequest_<ContainerAllocator> > 00284 { 00285 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00286 { 00287 } 00288 00289 ROS_DECLARE_ALLINONE_SERIALIZER; 00290 }; // struct TfListerRequest_ 00291 } // namespace serialization 00292 } // namespace ros 00293 00294 00295 namespace ros 00296 { 00297 namespace serialization 00298 { 00299 00300 template<class ContainerAllocator> struct Serializer< ::tf_lister::TfListerResponse_<ContainerAllocator> > 00301 { 00302 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00303 { 00304 stream.next(m.tf_list); 00305 } 00306 00307 ROS_DECLARE_ALLINONE_SERIALIZER; 00308 }; // struct TfListerResponse_ 00309 } // namespace serialization 00310 } // namespace ros 00311 00312 namespace ros 00313 { 00314 namespace service_traits 00315 { 00316 template<> 00317 struct MD5Sum<tf_lister::TfLister> { 00318 static const char* value() 00319 { 00320 return "71ff2010a39035e42d29fb248b2dd8fd"; 00321 } 00322 00323 static const char* value(const tf_lister::TfLister&) { return value(); } 00324 }; 00325 00326 template<> 00327 struct DataType<tf_lister::TfLister> { 00328 static const char* value() 00329 { 00330 return "tf_lister/TfLister"; 00331 } 00332 00333 static const char* value(const tf_lister::TfLister&) { return value(); } 00334 }; 00335 00336 template<class ContainerAllocator> 00337 struct MD5Sum<tf_lister::TfListerRequest_<ContainerAllocator> > { 00338 static const char* value() 00339 { 00340 return "71ff2010a39035e42d29fb248b2dd8fd"; 00341 } 00342 00343 static const char* value(const tf_lister::TfListerRequest_<ContainerAllocator> &) { return value(); } 00344 }; 00345 00346 template<class ContainerAllocator> 00347 struct DataType<tf_lister::TfListerRequest_<ContainerAllocator> > { 00348 static const char* value() 00349 { 00350 return "tf_lister/TfLister"; 00351 } 00352 00353 static const char* value(const tf_lister::TfListerRequest_<ContainerAllocator> &) { return value(); } 00354 }; 00355 00356 template<class ContainerAllocator> 00357 struct MD5Sum<tf_lister::TfListerResponse_<ContainerAllocator> > { 00358 static const char* value() 00359 { 00360 return "71ff2010a39035e42d29fb248b2dd8fd"; 00361 } 00362 00363 static const char* value(const tf_lister::TfListerResponse_<ContainerAllocator> &) { return value(); } 00364 }; 00365 00366 template<class ContainerAllocator> 00367 struct DataType<tf_lister::TfListerResponse_<ContainerAllocator> > { 00368 static const char* value() 00369 { 00370 return "tf_lister/TfLister"; 00371 } 00372 00373 static const char* value(const tf_lister::TfListerResponse_<ContainerAllocator> &) { return value(); } 00374 }; 00375 00376 } // namespace service_traits 00377 } // namespace ros 00378 00379 #endif // TF_LISTER_SERVICE_TFLISTER_H 00380