00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-all-iri-ros.pub/doc_stacks/2013-12-06_19-37-16.229269/iri_learning/iri_publish_params/srv/classifier_update_service.srv */ 00002 #ifndef IRI_PUBLISH_PARAMS_SERVICE_CLASSIFIER_UPDATE_SERVICE_H 00003 #define IRI_PUBLISH_PARAMS_SERVICE_CLASSIFIER_UPDATE_SERVICE_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 #include "iri_publish_params/classifier_update.h" 00020 00021 00022 00023 namespace iri_publish_params 00024 { 00025 template <class ContainerAllocator> 00026 struct classifier_update_serviceRequest_ { 00027 typedef classifier_update_serviceRequest_<ContainerAllocator> Type; 00028 00029 classifier_update_serviceRequest_() 00030 : params() 00031 { 00032 } 00033 00034 classifier_update_serviceRequest_(const ContainerAllocator& _alloc) 00035 : params(_alloc) 00036 { 00037 } 00038 00039 typedef ::iri_publish_params::classifier_update_<ContainerAllocator> _params_type; 00040 ::iri_publish_params::classifier_update_<ContainerAllocator> params; 00041 00042 00043 typedef boost::shared_ptr< ::iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> > Ptr; 00044 typedef boost::shared_ptr< ::iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> const> ConstPtr; 00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00046 }; // struct classifier_update_serviceRequest 00047 typedef ::iri_publish_params::classifier_update_serviceRequest_<std::allocator<void> > classifier_update_serviceRequest; 00048 00049 typedef boost::shared_ptr< ::iri_publish_params::classifier_update_serviceRequest> classifier_update_serviceRequestPtr; 00050 typedef boost::shared_ptr< ::iri_publish_params::classifier_update_serviceRequest const> classifier_update_serviceRequestConstPtr; 00051 00052 00053 template <class ContainerAllocator> 00054 struct classifier_update_serviceResponse_ { 00055 typedef classifier_update_serviceResponse_<ContainerAllocator> Type; 00056 00057 classifier_update_serviceResponse_() 00058 : result(false) 00059 { 00060 } 00061 00062 classifier_update_serviceResponse_(const ContainerAllocator& _alloc) 00063 : result(false) 00064 { 00065 } 00066 00067 typedef uint8_t _result_type; 00068 uint8_t result; 00069 00070 00071 typedef boost::shared_ptr< ::iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> > Ptr; 00072 typedef boost::shared_ptr< ::iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> const> ConstPtr; 00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00074 }; // struct classifier_update_serviceResponse 00075 typedef ::iri_publish_params::classifier_update_serviceResponse_<std::allocator<void> > classifier_update_serviceResponse; 00076 00077 typedef boost::shared_ptr< ::iri_publish_params::classifier_update_serviceResponse> classifier_update_serviceResponsePtr; 00078 typedef boost::shared_ptr< ::iri_publish_params::classifier_update_serviceResponse const> classifier_update_serviceResponseConstPtr; 00079 00080 struct classifier_update_service 00081 { 00082 00083 typedef classifier_update_serviceRequest Request; 00084 typedef classifier_update_serviceResponse Response; 00085 Request request; 00086 Response response; 00087 00088 typedef Request RequestType; 00089 typedef Response ResponseType; 00090 }; // struct classifier_update_service 00091 } // namespace iri_publish_params 00092 00093 namespace ros 00094 { 00095 namespace message_traits 00096 { 00097 template<class ContainerAllocator> struct IsMessage< ::iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> > : public TrueType {}; 00098 template<class ContainerAllocator> struct IsMessage< ::iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> const> : public TrueType {}; 00099 template<class ContainerAllocator> 00100 struct MD5Sum< ::iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> > { 00101 static const char* value() 00102 { 00103 return "9a9b65e7e75892e27392a8d9a5127a67"; 00104 } 00105 00106 static const char* value(const ::iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> &) { return value(); } 00107 static const uint64_t static_value1 = 0x9a9b65e7e75892e2ULL; 00108 static const uint64_t static_value2 = 0x7392a8d9a5127a67ULL; 00109 }; 00110 00111 template<class ContainerAllocator> 00112 struct DataType< ::iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> > { 00113 static const char* value() 00114 { 00115 return "iri_publish_params/classifier_update_serviceRequest"; 00116 } 00117 00118 static const char* value(const ::iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> &) { return value(); } 00119 }; 00120 00121 template<class ContainerAllocator> 00122 struct Definition< ::iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> > { 00123 static const char* value() 00124 { 00125 return "classifier_update params\n\ 00126 \n\ 00127 ================================================================================\n\ 00128 MSG: iri_publish_params/classifier_update\n\ 00129 classifier_params[] update_params\n\ 00130 int32 selected_centroid\n\ 00131 int32 filter_method\n\ 00132 \n\ 00133 ================================================================================\n\ 00134 MSG: iri_publish_params/classifier_params\n\ 00135 float32[] params\n\ 00136 \n\ 00137 "; 00138 } 00139 00140 static const char* value(const ::iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> &) { return value(); } 00141 }; 00142 00143 } // namespace message_traits 00144 } // namespace ros 00145 00146 00147 namespace ros 00148 { 00149 namespace message_traits 00150 { 00151 template<class ContainerAllocator> struct IsMessage< ::iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> > : public TrueType {}; 00152 template<class ContainerAllocator> struct IsMessage< ::iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> const> : public TrueType {}; 00153 template<class ContainerAllocator> 00154 struct MD5Sum< ::iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> > { 00155 static const char* value() 00156 { 00157 return "eb13ac1f1354ccecb7941ee8fa2192e8"; 00158 } 00159 00160 static const char* value(const ::iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> &) { return value(); } 00161 static const uint64_t static_value1 = 0xeb13ac1f1354ccecULL; 00162 static const uint64_t static_value2 = 0xb7941ee8fa2192e8ULL; 00163 }; 00164 00165 template<class ContainerAllocator> 00166 struct DataType< ::iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> > { 00167 static const char* value() 00168 { 00169 return "iri_publish_params/classifier_update_serviceResponse"; 00170 } 00171 00172 static const char* value(const ::iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> &) { return value(); } 00173 }; 00174 00175 template<class ContainerAllocator> 00176 struct Definition< ::iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> > { 00177 static const char* value() 00178 { 00179 return "bool result\n\ 00180 \n\ 00181 \n\ 00182 "; 00183 } 00184 00185 static const char* value(const ::iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> &) { return value(); } 00186 }; 00187 00188 template<class ContainerAllocator> struct IsFixedSize< ::iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> > : public TrueType {}; 00189 } // namespace message_traits 00190 } // namespace ros 00191 00192 namespace ros 00193 { 00194 namespace serialization 00195 { 00196 00197 template<class ContainerAllocator> struct Serializer< ::iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> > 00198 { 00199 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00200 { 00201 stream.next(m.params); 00202 } 00203 00204 ROS_DECLARE_ALLINONE_SERIALIZER; 00205 }; // struct classifier_update_serviceRequest_ 00206 } // namespace serialization 00207 } // namespace ros 00208 00209 00210 namespace ros 00211 { 00212 namespace serialization 00213 { 00214 00215 template<class ContainerAllocator> struct Serializer< ::iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> > 00216 { 00217 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00218 { 00219 stream.next(m.result); 00220 } 00221 00222 ROS_DECLARE_ALLINONE_SERIALIZER; 00223 }; // struct classifier_update_serviceResponse_ 00224 } // namespace serialization 00225 } // namespace ros 00226 00227 namespace ros 00228 { 00229 namespace service_traits 00230 { 00231 template<> 00232 struct MD5Sum<iri_publish_params::classifier_update_service> { 00233 static const char* value() 00234 { 00235 return "b7540e46e50484b76ac974e85c69cb86"; 00236 } 00237 00238 static const char* value(const iri_publish_params::classifier_update_service&) { return value(); } 00239 }; 00240 00241 template<> 00242 struct DataType<iri_publish_params::classifier_update_service> { 00243 static const char* value() 00244 { 00245 return "iri_publish_params/classifier_update_service"; 00246 } 00247 00248 static const char* value(const iri_publish_params::classifier_update_service&) { return value(); } 00249 }; 00250 00251 template<class ContainerAllocator> 00252 struct MD5Sum<iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> > { 00253 static const char* value() 00254 { 00255 return "b7540e46e50484b76ac974e85c69cb86"; 00256 } 00257 00258 static const char* value(const iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> &) { return value(); } 00259 }; 00260 00261 template<class ContainerAllocator> 00262 struct DataType<iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> > { 00263 static const char* value() 00264 { 00265 return "iri_publish_params/classifier_update_service"; 00266 } 00267 00268 static const char* value(const iri_publish_params::classifier_update_serviceRequest_<ContainerAllocator> &) { return value(); } 00269 }; 00270 00271 template<class ContainerAllocator> 00272 struct MD5Sum<iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> > { 00273 static const char* value() 00274 { 00275 return "b7540e46e50484b76ac974e85c69cb86"; 00276 } 00277 00278 static const char* value(const iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> &) { return value(); } 00279 }; 00280 00281 template<class ContainerAllocator> 00282 struct DataType<iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> > { 00283 static const char* value() 00284 { 00285 return "iri_publish_params/classifier_update_service"; 00286 } 00287 00288 static const char* value(const iri_publish_params::classifier_update_serviceResponse_<ContainerAllocator> &) { return value(); } 00289 }; 00290 00291 } // namespace service_traits 00292 } // namespace ros 00293 00294 #endif // IRI_PUBLISH_PARAMS_SERVICE_CLASSIFIER_UPDATE_SERVICE_H 00295