Go to the documentation of this file.00001
00002 #ifndef ML_CLASSIFIERS_SERVICE_CLEARCLASSIFIER_H
00003 #define ML_CLASSIFIERS_SERVICE_CLEARCLASSIFIER_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
00022 namespace ml_classifiers
00023 {
00024 template <class ContainerAllocator>
00025 struct ClearClassifierRequest_ {
00026 typedef ClearClassifierRequest_<ContainerAllocator> Type;
00027
00028 ClearClassifierRequest_()
00029 : identifier()
00030 {
00031 }
00032
00033 ClearClassifierRequest_(const ContainerAllocator& _alloc)
00034 : identifier(_alloc)
00035 {
00036 }
00037
00038 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _identifier_type;
00039 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > identifier;
00040
00041
00042 typedef boost::shared_ptr< ::ml_classifiers::ClearClassifierRequest_<ContainerAllocator> > Ptr;
00043 typedef boost::shared_ptr< ::ml_classifiers::ClearClassifierRequest_<ContainerAllocator> const> ConstPtr;
00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 };
00046 typedef ::ml_classifiers::ClearClassifierRequest_<std::allocator<void> > ClearClassifierRequest;
00047
00048 typedef boost::shared_ptr< ::ml_classifiers::ClearClassifierRequest> ClearClassifierRequestPtr;
00049 typedef boost::shared_ptr< ::ml_classifiers::ClearClassifierRequest const> ClearClassifierRequestConstPtr;
00050
00051
00052 template <class ContainerAllocator>
00053 struct ClearClassifierResponse_ {
00054 typedef ClearClassifierResponse_<ContainerAllocator> Type;
00055
00056 ClearClassifierResponse_()
00057 : success(false)
00058 {
00059 }
00060
00061 ClearClassifierResponse_(const ContainerAllocator& _alloc)
00062 : success(false)
00063 {
00064 }
00065
00066 typedef uint8_t _success_type;
00067 uint8_t success;
00068
00069
00070 typedef boost::shared_ptr< ::ml_classifiers::ClearClassifierResponse_<ContainerAllocator> > Ptr;
00071 typedef boost::shared_ptr< ::ml_classifiers::ClearClassifierResponse_<ContainerAllocator> const> ConstPtr;
00072 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00073 };
00074 typedef ::ml_classifiers::ClearClassifierResponse_<std::allocator<void> > ClearClassifierResponse;
00075
00076 typedef boost::shared_ptr< ::ml_classifiers::ClearClassifierResponse> ClearClassifierResponsePtr;
00077 typedef boost::shared_ptr< ::ml_classifiers::ClearClassifierResponse const> ClearClassifierResponseConstPtr;
00078
00079 struct ClearClassifier
00080 {
00081
00082 typedef ClearClassifierRequest Request;
00083 typedef ClearClassifierResponse Response;
00084 Request request;
00085 Response response;
00086
00087 typedef Request RequestType;
00088 typedef Response ResponseType;
00089 };
00090 }
00091
00092 namespace ros
00093 {
00094 namespace message_traits
00095 {
00096 template<class ContainerAllocator> struct IsMessage< ::ml_classifiers::ClearClassifierRequest_<ContainerAllocator> > : public TrueType {};
00097 template<class ContainerAllocator> struct IsMessage< ::ml_classifiers::ClearClassifierRequest_<ContainerAllocator> const> : public TrueType {};
00098 template<class ContainerAllocator>
00099 struct MD5Sum< ::ml_classifiers::ClearClassifierRequest_<ContainerAllocator> > {
00100 static const char* value()
00101 {
00102 return "9c4b0f781baa7fd49cc9e186f2f56898";
00103 }
00104
00105 static const char* value(const ::ml_classifiers::ClearClassifierRequest_<ContainerAllocator> &) { return value(); }
00106 static const uint64_t static_value1 = 0x9c4b0f781baa7fd4ULL;
00107 static const uint64_t static_value2 = 0x9cc9e186f2f56898ULL;
00108 };
00109
00110 template<class ContainerAllocator>
00111 struct DataType< ::ml_classifiers::ClearClassifierRequest_<ContainerAllocator> > {
00112 static const char* value()
00113 {
00114 return "ml_classifiers/ClearClassifierRequest";
00115 }
00116
00117 static const char* value(const ::ml_classifiers::ClearClassifierRequest_<ContainerAllocator> &) { return value(); }
00118 };
00119
00120 template<class ContainerAllocator>
00121 struct Definition< ::ml_classifiers::ClearClassifierRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "string identifier\n\
00125 \n\
00126 ";
00127 }
00128
00129 static const char* value(const ::ml_classifiers::ClearClassifierRequest_<ContainerAllocator> &) { return value(); }
00130 };
00131
00132 }
00133 }
00134
00135
00136 namespace ros
00137 {
00138 namespace message_traits
00139 {
00140 template<class ContainerAllocator> struct IsMessage< ::ml_classifiers::ClearClassifierResponse_<ContainerAllocator> > : public TrueType {};
00141 template<class ContainerAllocator> struct IsMessage< ::ml_classifiers::ClearClassifierResponse_<ContainerAllocator> const> : public TrueType {};
00142 template<class ContainerAllocator>
00143 struct MD5Sum< ::ml_classifiers::ClearClassifierResponse_<ContainerAllocator> > {
00144 static const char* value()
00145 {
00146 return "358e233cde0c8a8bcfea4ce193f8fc15";
00147 }
00148
00149 static const char* value(const ::ml_classifiers::ClearClassifierResponse_<ContainerAllocator> &) { return value(); }
00150 static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
00151 static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
00152 };
00153
00154 template<class ContainerAllocator>
00155 struct DataType< ::ml_classifiers::ClearClassifierResponse_<ContainerAllocator> > {
00156 static const char* value()
00157 {
00158 return "ml_classifiers/ClearClassifierResponse";
00159 }
00160
00161 static const char* value(const ::ml_classifiers::ClearClassifierResponse_<ContainerAllocator> &) { return value(); }
00162 };
00163
00164 template<class ContainerAllocator>
00165 struct Definition< ::ml_classifiers::ClearClassifierResponse_<ContainerAllocator> > {
00166 static const char* value()
00167 {
00168 return "bool success\n\
00169 \n\
00170 \n\
00171 \n\
00172 \n\
00173 \n\
00174 \n\
00175 ";
00176 }
00177
00178 static const char* value(const ::ml_classifiers::ClearClassifierResponse_<ContainerAllocator> &) { return value(); }
00179 };
00180
00181 template<class ContainerAllocator> struct IsFixedSize< ::ml_classifiers::ClearClassifierResponse_<ContainerAllocator> > : public TrueType {};
00182 }
00183 }
00184
00185 namespace ros
00186 {
00187 namespace serialization
00188 {
00189
00190 template<class ContainerAllocator> struct Serializer< ::ml_classifiers::ClearClassifierRequest_<ContainerAllocator> >
00191 {
00192 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00193 {
00194 stream.next(m.identifier);
00195 }
00196
00197 ROS_DECLARE_ALLINONE_SERIALIZER;
00198 };
00199 }
00200 }
00201
00202
00203 namespace ros
00204 {
00205 namespace serialization
00206 {
00207
00208 template<class ContainerAllocator> struct Serializer< ::ml_classifiers::ClearClassifierResponse_<ContainerAllocator> >
00209 {
00210 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00211 {
00212 stream.next(m.success);
00213 }
00214
00215 ROS_DECLARE_ALLINONE_SERIALIZER;
00216 };
00217 }
00218 }
00219
00220 namespace ros
00221 {
00222 namespace service_traits
00223 {
00224 template<>
00225 struct MD5Sum<ml_classifiers::ClearClassifier> {
00226 static const char* value()
00227 {
00228 return "126e80d7c8d36adbb3fd063504a07c0d";
00229 }
00230
00231 static const char* value(const ml_classifiers::ClearClassifier&) { return value(); }
00232 };
00233
00234 template<>
00235 struct DataType<ml_classifiers::ClearClassifier> {
00236 static const char* value()
00237 {
00238 return "ml_classifiers/ClearClassifier";
00239 }
00240
00241 static const char* value(const ml_classifiers::ClearClassifier&) { return value(); }
00242 };
00243
00244 template<class ContainerAllocator>
00245 struct MD5Sum<ml_classifiers::ClearClassifierRequest_<ContainerAllocator> > {
00246 static const char* value()
00247 {
00248 return "126e80d7c8d36adbb3fd063504a07c0d";
00249 }
00250
00251 static const char* value(const ml_classifiers::ClearClassifierRequest_<ContainerAllocator> &) { return value(); }
00252 };
00253
00254 template<class ContainerAllocator>
00255 struct DataType<ml_classifiers::ClearClassifierRequest_<ContainerAllocator> > {
00256 static const char* value()
00257 {
00258 return "ml_classifiers/ClearClassifier";
00259 }
00260
00261 static const char* value(const ml_classifiers::ClearClassifierRequest_<ContainerAllocator> &) { return value(); }
00262 };
00263
00264 template<class ContainerAllocator>
00265 struct MD5Sum<ml_classifiers::ClearClassifierResponse_<ContainerAllocator> > {
00266 static const char* value()
00267 {
00268 return "126e80d7c8d36adbb3fd063504a07c0d";
00269 }
00270
00271 static const char* value(const ml_classifiers::ClearClassifierResponse_<ContainerAllocator> &) { return value(); }
00272 };
00273
00274 template<class ContainerAllocator>
00275 struct DataType<ml_classifiers::ClearClassifierResponse_<ContainerAllocator> > {
00276 static const char* value()
00277 {
00278 return "ml_classifiers/ClearClassifier";
00279 }
00280
00281 static const char* value(const ml_classifiers::ClearClassifierResponse_<ContainerAllocator> &) { return value(); }
00282 };
00283
00284 }
00285 }
00286
00287 #endif // ML_CLASSIFIERS_SERVICE_CLEARCLASSIFIER_H
00288