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