Go to the documentation of this file.00001
00002 #ifndef LFD_COMMON_SERVICE_CONF_CLASSIFICATION_H
00003 #define LFD_COMMON_SERVICE_CONF_CLASSIFICATION_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 "lfd_common/state.h"
00020
00021
00022
00023 namespace lfd_common
00024 {
00025 template <class ContainerAllocator>
00026 struct conf_classificationRequest_ {
00027 typedef conf_classificationRequest_<ContainerAllocator> Type;
00028
00029 conf_classificationRequest_()
00030 : s()
00031 {
00032 }
00033
00034 conf_classificationRequest_(const ContainerAllocator& _alloc)
00035 : s(_alloc)
00036 {
00037 }
00038
00039 typedef ::lfd_common::state_<ContainerAllocator> _s_type;
00040 ::lfd_common::state_<ContainerAllocator> s;
00041
00042
00043 typedef boost::shared_ptr< ::lfd_common::conf_classificationRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::lfd_common::conf_classificationRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::lfd_common::conf_classificationRequest_<std::allocator<void> > conf_classificationRequest;
00048
00049 typedef boost::shared_ptr< ::lfd_common::conf_classificationRequest> conf_classificationRequestPtr;
00050 typedef boost::shared_ptr< ::lfd_common::conf_classificationRequest const> conf_classificationRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct conf_classificationResponse_ {
00055 typedef conf_classificationResponse_<ContainerAllocator> Type;
00056
00057 conf_classificationResponse_()
00058 : c(0.0)
00059 , l(0)
00060 , db(0)
00061 {
00062 }
00063
00064 conf_classificationResponse_(const ContainerAllocator& _alloc)
00065 : c(0.0)
00066 , l(0)
00067 , db(0)
00068 {
00069 }
00070
00071 typedef float _c_type;
00072 float c;
00073
00074 typedef int32_t _l_type;
00075 int32_t l;
00076
00077 typedef int32_t _db_type;
00078 int32_t db;
00079
00080
00081 typedef boost::shared_ptr< ::lfd_common::conf_classificationResponse_<ContainerAllocator> > Ptr;
00082 typedef boost::shared_ptr< ::lfd_common::conf_classificationResponse_<ContainerAllocator> const> ConstPtr;
00083 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00084 };
00085 typedef ::lfd_common::conf_classificationResponse_<std::allocator<void> > conf_classificationResponse;
00086
00087 typedef boost::shared_ptr< ::lfd_common::conf_classificationResponse> conf_classificationResponsePtr;
00088 typedef boost::shared_ptr< ::lfd_common::conf_classificationResponse const> conf_classificationResponseConstPtr;
00089
00090 struct conf_classification
00091 {
00092
00093 typedef conf_classificationRequest Request;
00094 typedef conf_classificationResponse Response;
00095 Request request;
00096 Response response;
00097
00098 typedef Request RequestType;
00099 typedef Response ResponseType;
00100 };
00101 }
00102
00103 namespace ros
00104 {
00105 namespace message_traits
00106 {
00107 template<class ContainerAllocator> struct IsMessage< ::lfd_common::conf_classificationRequest_<ContainerAllocator> > : public TrueType {};
00108 template<class ContainerAllocator> struct IsMessage< ::lfd_common::conf_classificationRequest_<ContainerAllocator> const> : public TrueType {};
00109 template<class ContainerAllocator>
00110 struct MD5Sum< ::lfd_common::conf_classificationRequest_<ContainerAllocator> > {
00111 static const char* value()
00112 {
00113 return "811e2bf3307e0acab2b7b6ca059a24c9";
00114 }
00115
00116 static const char* value(const ::lfd_common::conf_classificationRequest_<ContainerAllocator> &) { return value(); }
00117 static const uint64_t static_value1 = 0x811e2bf3307e0acaULL;
00118 static const uint64_t static_value2 = 0xb2b7b6ca059a24c9ULL;
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct DataType< ::lfd_common::conf_classificationRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "lfd_common/conf_classificationRequest";
00126 }
00127
00128 static const char* value(const ::lfd_common::conf_classificationRequest_<ContainerAllocator> &) { return value(); }
00129 };
00130
00131 template<class ContainerAllocator>
00132 struct Definition< ::lfd_common::conf_classificationRequest_<ContainerAllocator> > {
00133 static const char* value()
00134 {
00135 return "\n\
00136 state s\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: lfd_common/state\n\
00140 # The state vector\n\
00141 float32[] state_vector\n\
00142 \n\
00143 ";
00144 }
00145
00146 static const char* value(const ::lfd_common::conf_classificationRequest_<ContainerAllocator> &) { return value(); }
00147 };
00148
00149 }
00150 }
00151
00152
00153 namespace ros
00154 {
00155 namespace message_traits
00156 {
00157 template<class ContainerAllocator> struct IsMessage< ::lfd_common::conf_classificationResponse_<ContainerAllocator> > : public TrueType {};
00158 template<class ContainerAllocator> struct IsMessage< ::lfd_common::conf_classificationResponse_<ContainerAllocator> const> : public TrueType {};
00159 template<class ContainerAllocator>
00160 struct MD5Sum< ::lfd_common::conf_classificationResponse_<ContainerAllocator> > {
00161 static const char* value()
00162 {
00163 return "477266dd73ab4e9185e440ed8f395480";
00164 }
00165
00166 static const char* value(const ::lfd_common::conf_classificationResponse_<ContainerAllocator> &) { return value(); }
00167 static const uint64_t static_value1 = 0x477266dd73ab4e91ULL;
00168 static const uint64_t static_value2 = 0x85e440ed8f395480ULL;
00169 };
00170
00171 template<class ContainerAllocator>
00172 struct DataType< ::lfd_common::conf_classificationResponse_<ContainerAllocator> > {
00173 static const char* value()
00174 {
00175 return "lfd_common/conf_classificationResponse";
00176 }
00177
00178 static const char* value(const ::lfd_common::conf_classificationResponse_<ContainerAllocator> &) { return value(); }
00179 };
00180
00181 template<class ContainerAllocator>
00182 struct Definition< ::lfd_common::conf_classificationResponse_<ContainerAllocator> > {
00183 static const char* value()
00184 {
00185 return "\n\
00186 float32 c\n\
00187 \n\
00188 int32 l\n\
00189 \n\
00190 int32 db\n\
00191 \n\
00192 \n\
00193 ";
00194 }
00195
00196 static const char* value(const ::lfd_common::conf_classificationResponse_<ContainerAllocator> &) { return value(); }
00197 };
00198
00199 template<class ContainerAllocator> struct IsFixedSize< ::lfd_common::conf_classificationResponse_<ContainerAllocator> > : public TrueType {};
00200 }
00201 }
00202
00203 namespace ros
00204 {
00205 namespace serialization
00206 {
00207
00208 template<class ContainerAllocator> struct Serializer< ::lfd_common::conf_classificationRequest_<ContainerAllocator> >
00209 {
00210 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00211 {
00212 stream.next(m.s);
00213 }
00214
00215 ROS_DECLARE_ALLINONE_SERIALIZER;
00216 };
00217 }
00218 }
00219
00220
00221 namespace ros
00222 {
00223 namespace serialization
00224 {
00225
00226 template<class ContainerAllocator> struct Serializer< ::lfd_common::conf_classificationResponse_<ContainerAllocator> >
00227 {
00228 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00229 {
00230 stream.next(m.c);
00231 stream.next(m.l);
00232 stream.next(m.db);
00233 }
00234
00235 ROS_DECLARE_ALLINONE_SERIALIZER;
00236 };
00237 }
00238 }
00239
00240 namespace ros
00241 {
00242 namespace service_traits
00243 {
00244 template<>
00245 struct MD5Sum<lfd_common::conf_classification> {
00246 static const char* value()
00247 {
00248 return "ff19364d954530b6b4d8e455aa4b7187";
00249 }
00250
00251 static const char* value(const lfd_common::conf_classification&) { return value(); }
00252 };
00253
00254 template<>
00255 struct DataType<lfd_common::conf_classification> {
00256 static const char* value()
00257 {
00258 return "lfd_common/conf_classification";
00259 }
00260
00261 static const char* value(const lfd_common::conf_classification&) { return value(); }
00262 };
00263
00264 template<class ContainerAllocator>
00265 struct MD5Sum<lfd_common::conf_classificationRequest_<ContainerAllocator> > {
00266 static const char* value()
00267 {
00268 return "ff19364d954530b6b4d8e455aa4b7187";
00269 }
00270
00271 static const char* value(const lfd_common::conf_classificationRequest_<ContainerAllocator> &) { return value(); }
00272 };
00273
00274 template<class ContainerAllocator>
00275 struct DataType<lfd_common::conf_classificationRequest_<ContainerAllocator> > {
00276 static const char* value()
00277 {
00278 return "lfd_common/conf_classification";
00279 }
00280
00281 static const char* value(const lfd_common::conf_classificationRequest_<ContainerAllocator> &) { return value(); }
00282 };
00283
00284 template<class ContainerAllocator>
00285 struct MD5Sum<lfd_common::conf_classificationResponse_<ContainerAllocator> > {
00286 static const char* value()
00287 {
00288 return "ff19364d954530b6b4d8e455aa4b7187";
00289 }
00290
00291 static const char* value(const lfd_common::conf_classificationResponse_<ContainerAllocator> &) { return value(); }
00292 };
00293
00294 template<class ContainerAllocator>
00295 struct DataType<lfd_common::conf_classificationResponse_<ContainerAllocator> > {
00296 static const char* value()
00297 {
00298 return "lfd_common/conf_classification";
00299 }
00300
00301 static const char* value(const lfd_common::conf_classificationResponse_<ContainerAllocator> &) { return value(); }
00302 };
00303
00304 }
00305 }
00306
00307 #endif // LFD_COMMON_SERVICE_CONF_CLASSIFICATION_H
00308