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