$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/cop_get_methods_list.srv */ 00002 #ifndef VISION_SRVS_SERVICE_COP_GET_METHODS_LIST_H 00003 #define VISION_SRVS_SERVICE_COP_GET_METHODS_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 "vision_msgs/algorithm_evaluation.h" 00022 00023 namespace vision_srvs 00024 { 00025 template <class ContainerAllocator> 00026 struct cop_get_methods_listRequest_ { 00027 typedef cop_get_methods_listRequest_<ContainerAllocator> Type; 00028 00029 cop_get_methods_listRequest_() 00030 : algorithmtype(0) 00031 { 00032 } 00033 00034 cop_get_methods_listRequest_(const ContainerAllocator& _alloc) 00035 : algorithmtype(0) 00036 { 00037 } 00038 00039 typedef uint64_t _algorithmtype_type; 00040 uint64_t algorithmtype; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "vision_srvs/cop_get_methods_listRequest"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "9771833f2c32d57f27ce31a3ac1aee18"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getServerMD5Sum_() { return "53c8c94190c8c2dfb2174d3427ac0057"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00061 00062 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00063 00064 private: 00065 static const char* __s_getMessageDefinition_() { return "\n\ 00066 \n\ 00067 uint64 algorithmtype\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, algorithmtype); 00079 return stream.getData(); 00080 } 00081 00082 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00083 { 00084 ros::serialization::IStream stream(read_ptr, 1000000000); 00085 ros::serialization::deserialize(stream, algorithmtype); 00086 return stream.getData(); 00087 } 00088 00089 ROS_DEPRECATED virtual uint32_t serializationLength() const 00090 { 00091 uint32_t size = 0; 00092 size += ros::serialization::serializationLength(algorithmtype); 00093 return size; 00094 } 00095 00096 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > Ptr; 00097 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> const> ConstPtr; 00098 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00099 }; // struct cop_get_methods_listRequest 00100 typedef ::vision_srvs::cop_get_methods_listRequest_<std::allocator<void> > cop_get_methods_listRequest; 00101 00102 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listRequest> cop_get_methods_listRequestPtr; 00103 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listRequest const> cop_get_methods_listRequestConstPtr; 00104 00105 00106 template <class ContainerAllocator> 00107 struct cop_get_methods_listResponse_ { 00108 typedef cop_get_methods_listResponse_<ContainerAllocator> Type; 00109 00110 cop_get_methods_listResponse_() 00111 : method() 00112 { 00113 } 00114 00115 cop_get_methods_listResponse_(const ContainerAllocator& _alloc) 00116 : method(_alloc) 00117 { 00118 } 00119 00120 typedef std::vector< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> >::other > _method_type; 00121 std::vector< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> >::other > method; 00122 00123 00124 ROS_DEPRECATED uint32_t get_method_size() const { return (uint32_t)method.size(); } 00125 ROS_DEPRECATED void set_method_size(uint32_t size) { method.resize((size_t)size); } 00126 ROS_DEPRECATED void get_method_vec(std::vector< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> >::other > & vec) const { vec = this->method; } 00127 ROS_DEPRECATED void set_method_vec(const std::vector< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> >::other > & vec) { this->method = vec; } 00128 private: 00129 static const char* __s_getDataType_() { return "vision_srvs/cop_get_methods_listResponse"; } 00130 public: 00131 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00132 00133 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00134 00135 private: 00136 static const char* __s_getMD5Sum_() { return "29050bd853f52e655a64046a89bf0b56"; } 00137 public: 00138 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00139 00140 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00141 00142 private: 00143 static const char* __s_getServerMD5Sum_() { return "53c8c94190c8c2dfb2174d3427ac0057"; } 00144 public: 00145 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00146 00147 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00148 00149 private: 00150 static const char* __s_getMessageDefinition_() { return "vision_msgs/algorithm_evaluation[] method\n\ 00151 \n\ 00152 \n\ 00153 ================================================================================\n\ 00154 MSG: vision_msgs/algorithm_evaluation\n\ 00155 #Message that contains basic information regarding an algorithm U. Klank klank@in.tum.de\n\ 00156 string plugin_name # Perception primitive that caused this answer\n\ 00157 float64 basic_evaluation # A score describing the basic score of this algorithm, should reflect the significance of the results\n\ 00158 object_algorithm_relation[] objects # All objects that were executed with this algotihm and their results\n\ 00159 \n\ 00160 ================================================================================\n\ 00161 MSG: vision_msgs/object_algorithm_relation\n\ 00162 #Message that contains basic information regarding the evaluation of an algorithm and its objects U. Klank klank@in.tum.de\n\ 00163 uint64 object_id\n\ 00164 float64 basic_evaluation \n\ 00165 \n\ 00166 "; } 00167 public: 00168 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00169 00170 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00171 00172 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00173 { 00174 ros::serialization::OStream stream(write_ptr, 1000000000); 00175 ros::serialization::serialize(stream, method); 00176 return stream.getData(); 00177 } 00178 00179 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00180 { 00181 ros::serialization::IStream stream(read_ptr, 1000000000); 00182 ros::serialization::deserialize(stream, method); 00183 return stream.getData(); 00184 } 00185 00186 ROS_DEPRECATED virtual uint32_t serializationLength() const 00187 { 00188 uint32_t size = 0; 00189 size += ros::serialization::serializationLength(method); 00190 return size; 00191 } 00192 00193 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > Ptr; 00194 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> const> ConstPtr; 00195 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00196 }; // struct cop_get_methods_listResponse 00197 typedef ::vision_srvs::cop_get_methods_listResponse_<std::allocator<void> > cop_get_methods_listResponse; 00198 00199 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listResponse> cop_get_methods_listResponsePtr; 00200 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listResponse const> cop_get_methods_listResponseConstPtr; 00201 00202 struct cop_get_methods_list 00203 { 00204 00205 typedef cop_get_methods_listRequest Request; 00206 typedef cop_get_methods_listResponse Response; 00207 Request request; 00208 Response response; 00209 00210 typedef Request RequestType; 00211 typedef Response ResponseType; 00212 }; // struct cop_get_methods_list 00213 } // namespace vision_srvs 00214 00215 namespace ros 00216 { 00217 namespace message_traits 00218 { 00219 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > : public TrueType {}; 00220 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> const> : public TrueType {}; 00221 template<class ContainerAllocator> 00222 struct MD5Sum< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > { 00223 static const char* value() 00224 { 00225 return "9771833f2c32d57f27ce31a3ac1aee18"; 00226 } 00227 00228 static const char* value(const ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> &) { return value(); } 00229 static const uint64_t static_value1 = 0x9771833f2c32d57fULL; 00230 static const uint64_t static_value2 = 0x27ce31a3ac1aee18ULL; 00231 }; 00232 00233 template<class ContainerAllocator> 00234 struct DataType< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > { 00235 static const char* value() 00236 { 00237 return "vision_srvs/cop_get_methods_listRequest"; 00238 } 00239 00240 static const char* value(const ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> &) { return value(); } 00241 }; 00242 00243 template<class ContainerAllocator> 00244 struct Definition< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > { 00245 static const char* value() 00246 { 00247 return "\n\ 00248 \n\ 00249 uint64 algorithmtype\n\ 00250 \n\ 00251 "; 00252 } 00253 00254 static const char* value(const ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> &) { return value(); } 00255 }; 00256 00257 template<class ContainerAllocator> struct IsFixedSize< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > : public TrueType {}; 00258 } // namespace message_traits 00259 } // namespace ros 00260 00261 00262 namespace ros 00263 { 00264 namespace message_traits 00265 { 00266 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > : public TrueType {}; 00267 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> const> : public TrueType {}; 00268 template<class ContainerAllocator> 00269 struct MD5Sum< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > { 00270 static const char* value() 00271 { 00272 return "29050bd853f52e655a64046a89bf0b56"; 00273 } 00274 00275 static const char* value(const ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> &) { return value(); } 00276 static const uint64_t static_value1 = 0x29050bd853f52e65ULL; 00277 static const uint64_t static_value2 = 0x5a64046a89bf0b56ULL; 00278 }; 00279 00280 template<class ContainerAllocator> 00281 struct DataType< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > { 00282 static const char* value() 00283 { 00284 return "vision_srvs/cop_get_methods_listResponse"; 00285 } 00286 00287 static const char* value(const ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> &) { return value(); } 00288 }; 00289 00290 template<class ContainerAllocator> 00291 struct Definition< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > { 00292 static const char* value() 00293 { 00294 return "vision_msgs/algorithm_evaluation[] method\n\ 00295 \n\ 00296 \n\ 00297 ================================================================================\n\ 00298 MSG: vision_msgs/algorithm_evaluation\n\ 00299 #Message that contains basic information regarding an algorithm U. Klank klank@in.tum.de\n\ 00300 string plugin_name # Perception primitive that caused this answer\n\ 00301 float64 basic_evaluation # A score describing the basic score of this algorithm, should reflect the significance of the results\n\ 00302 object_algorithm_relation[] objects # All objects that were executed with this algotihm and their results\n\ 00303 \n\ 00304 ================================================================================\n\ 00305 MSG: vision_msgs/object_algorithm_relation\n\ 00306 #Message that contains basic information regarding the evaluation of an algorithm and its objects U. Klank klank@in.tum.de\n\ 00307 uint64 object_id\n\ 00308 float64 basic_evaluation \n\ 00309 \n\ 00310 "; 00311 } 00312 00313 static const char* value(const ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> &) { return value(); } 00314 }; 00315 00316 } // namespace message_traits 00317 } // namespace ros 00318 00319 namespace ros 00320 { 00321 namespace serialization 00322 { 00323 00324 template<class ContainerAllocator> struct Serializer< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > 00325 { 00326 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00327 { 00328 stream.next(m.algorithmtype); 00329 } 00330 00331 ROS_DECLARE_ALLINONE_SERIALIZER; 00332 }; // struct cop_get_methods_listRequest_ 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::cop_get_methods_listResponse_<ContainerAllocator> > 00343 { 00344 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00345 { 00346 stream.next(m.method); 00347 } 00348 00349 ROS_DECLARE_ALLINONE_SERIALIZER; 00350 }; // struct cop_get_methods_listResponse_ 00351 } // namespace serialization 00352 } // namespace ros 00353 00354 namespace ros 00355 { 00356 namespace service_traits 00357 { 00358 template<> 00359 struct MD5Sum<vision_srvs::cop_get_methods_list> { 00360 static const char* value() 00361 { 00362 return "53c8c94190c8c2dfb2174d3427ac0057"; 00363 } 00364 00365 static const char* value(const vision_srvs::cop_get_methods_list&) { return value(); } 00366 }; 00367 00368 template<> 00369 struct DataType<vision_srvs::cop_get_methods_list> { 00370 static const char* value() 00371 { 00372 return "vision_srvs/cop_get_methods_list"; 00373 } 00374 00375 static const char* value(const vision_srvs::cop_get_methods_list&) { return value(); } 00376 }; 00377 00378 template<class ContainerAllocator> 00379 struct MD5Sum<vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > { 00380 static const char* value() 00381 { 00382 return "53c8c94190c8c2dfb2174d3427ac0057"; 00383 } 00384 00385 static const char* value(const vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> &) { return value(); } 00386 }; 00387 00388 template<class ContainerAllocator> 00389 struct DataType<vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > { 00390 static const char* value() 00391 { 00392 return "vision_srvs/cop_get_methods_list"; 00393 } 00394 00395 static const char* value(const vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> &) { return value(); } 00396 }; 00397 00398 template<class ContainerAllocator> 00399 struct MD5Sum<vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > { 00400 static const char* value() 00401 { 00402 return "53c8c94190c8c2dfb2174d3427ac0057"; 00403 } 00404 00405 static const char* value(const vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> &) { return value(); } 00406 }; 00407 00408 template<class ContainerAllocator> 00409 struct DataType<vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > { 00410 static const char* value() 00411 { 00412 return "vision_srvs/cop_get_methods_list"; 00413 } 00414 00415 static const char* value(const vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> &) { return value(); } 00416 }; 00417 00418 } // namespace service_traits 00419 } // namespace ros 00420 00421 #endif // VISION_SRVS_SERVICE_COP_GET_METHODS_LIST_H 00422