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