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