Go to the documentation of this file.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 <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 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::vision_srvs::cop_get_methods_listRequest_<std::allocator<void> > cop_get_methods_listRequest;
00048
00049 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listRequest> cop_get_methods_listRequestPtr;
00050 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listRequest const> cop_get_methods_listRequestConstPtr;
00051
00052
00053
00054 template <class ContainerAllocator>
00055 struct cop_get_methods_listResponse_ {
00056 typedef cop_get_methods_listResponse_<ContainerAllocator> Type;
00057
00058 cop_get_methods_listResponse_()
00059 : method()
00060 {
00061 }
00062
00063 cop_get_methods_listResponse_(const ContainerAllocator& _alloc)
00064 : method(_alloc)
00065 {
00066 }
00067
00068 typedef std::vector< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> >::other > _method_type;
00069 std::vector< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> >::other > method;
00070
00071
00072 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > Ptr;
00073 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> const> ConstPtr;
00074 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 };
00076 typedef ::vision_srvs::cop_get_methods_listResponse_<std::allocator<void> > cop_get_methods_listResponse;
00077
00078 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listResponse> cop_get_methods_listResponsePtr;
00079 typedef boost::shared_ptr< ::vision_srvs::cop_get_methods_listResponse const> cop_get_methods_listResponseConstPtr;
00080
00081
00082 struct cop_get_methods_list
00083 {
00084
00085 typedef cop_get_methods_listRequest Request;
00086 typedef cop_get_methods_listResponse Response;
00087 Request request;
00088 Response response;
00089
00090 typedef Request RequestType;
00091 typedef Response ResponseType;
00092 };
00093 }
00094
00095 namespace ros
00096 {
00097 namespace message_traits
00098 {
00099 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > : public TrueType {};
00100 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> const> : public TrueType {};
00101 template<class ContainerAllocator>
00102 struct MD5Sum< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > {
00103 static const char* value()
00104 {
00105 return "9771833f2c32d57f27ce31a3ac1aee18";
00106 }
00107
00108 static const char* value(const ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> &) { return value(); }
00109 static const uint64_t static_value1 = 0x9771833f2c32d57fULL;
00110 static const uint64_t static_value2 = 0x27ce31a3ac1aee18ULL;
00111 };
00112
00113 template<class ContainerAllocator>
00114 struct DataType< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "vision_srvs/cop_get_methods_listRequest";
00118 }
00119
00120 static const char* value(const ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> &) { return value(); }
00121 };
00122
00123 template<class ContainerAllocator>
00124 struct Definition< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > {
00125 static const char* value()
00126 {
00127 return "\n\
00128 \n\
00129 uint64 algorithmtype\n\
00130 \n\
00131 ";
00132 }
00133
00134 static const char* value(const ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> &) { return value(); }
00135 };
00136
00137 template<class ContainerAllocator> struct IsFixedSize< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > : public TrueType {};
00138 }
00139 }
00140
00141
00142 namespace ros
00143 {
00144 namespace message_traits
00145 {
00146 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > : public TrueType {};
00147 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> const> : public TrueType {};
00148 template<class ContainerAllocator>
00149 struct MD5Sum< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > {
00150 static const char* value()
00151 {
00152 return "29050bd853f52e655a64046a89bf0b56";
00153 }
00154
00155 static const char* value(const ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> &) { return value(); }
00156 static const uint64_t static_value1 = 0x29050bd853f52e65ULL;
00157 static const uint64_t static_value2 = 0x5a64046a89bf0b56ULL;
00158 };
00159
00160 template<class ContainerAllocator>
00161 struct DataType< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > {
00162 static const char* value()
00163 {
00164 return "vision_srvs/cop_get_methods_listResponse";
00165 }
00166
00167 static const char* value(const ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> &) { return value(); }
00168 };
00169
00170 template<class ContainerAllocator>
00171 struct Definition< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "vision_msgs/algorithm_evaluation[] method\n\
00175 \n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: vision_msgs/algorithm_evaluation\n\
00179 #Message that contains basic information regarding an algorithm U. Klank klank@in.tum.de\n\
00180 string plugin_name # Perception primitive that caused this answer\n\
00181 float64 basic_evaluation # A score describing the basic score of this algorithm, should reflect the significance of the results\n\
00182 object_algorithm_relation[] objects # All objects that were executed with this algotihm and their results\n\
00183 \n\
00184 ================================================================================\n\
00185 MSG: vision_msgs/object_algorithm_relation\n\
00186 #Message that contains basic information regarding the evaluation of an algorithm and its objects U. Klank klank@in.tum.de\n\
00187 uint64 object_id\n\
00188 float64 basic_evaluation \n\
00189 \n\
00190 ";
00191 }
00192
00193 static const char* value(const ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> &) { return value(); }
00194 };
00195
00196 }
00197 }
00198
00199 namespace ros
00200 {
00201 namespace serialization
00202 {
00203
00204 template<class ContainerAllocator> struct Serializer< ::vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> >
00205 {
00206 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00207 {
00208 stream.next(m.algorithmtype);
00209 }
00210
00211 ROS_DECLARE_ALLINONE_SERIALIZER;
00212 };
00213 }
00214 }
00215
00216
00217 namespace ros
00218 {
00219 namespace serialization
00220 {
00221
00222 template<class ContainerAllocator> struct Serializer< ::vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> >
00223 {
00224 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00225 {
00226 stream.next(m.method);
00227 }
00228
00229 ROS_DECLARE_ALLINONE_SERIALIZER;
00230 };
00231 }
00232 }
00233
00234 namespace ros
00235 {
00236 namespace service_traits
00237 {
00238 template<>
00239 struct MD5Sum<vision_srvs::cop_get_methods_list> {
00240 static const char* value()
00241 {
00242 return "53c8c94190c8c2dfb2174d3427ac0057";
00243 }
00244
00245 static const char* value(const vision_srvs::cop_get_methods_list&) { return value(); }
00246 };
00247
00248 template<>
00249 struct DataType<vision_srvs::cop_get_methods_list> {
00250 static const char* value()
00251 {
00252 return "vision_srvs/cop_get_methods_list";
00253 }
00254
00255 static const char* value(const vision_srvs::cop_get_methods_list&) { return value(); }
00256 };
00257
00258 template<class ContainerAllocator>
00259 struct MD5Sum<vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > {
00260 static const char* value()
00261 {
00262 return "53c8c94190c8c2dfb2174d3427ac0057";
00263 }
00264
00265 static const char* value(const vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> &) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct DataType<vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "vision_srvs/cop_get_methods_list";
00273 }
00274
00275 static const char* value(const vision_srvs::cop_get_methods_listRequest_<ContainerAllocator> &) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct MD5Sum<vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "53c8c94190c8c2dfb2174d3427ac0057";
00283 }
00284
00285 static const char* value(const vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 template<class ContainerAllocator>
00289 struct DataType<vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> > {
00290 static const char* value()
00291 {
00292 return "vision_srvs/cop_get_methods_list";
00293 }
00294
00295 static const char* value(const vision_srvs::cop_get_methods_listResponse_<ContainerAllocator> &) { return value(); }
00296 };
00297
00298 }
00299 }
00300
00301 #endif // VISION_SRVS_SERVICE_COP_GET_METHODS_LIST_H
00302