Go to the documentation of this file.00001
00002 #ifndef IRI_PERCEPTION_MSGS_SERVICE_DESCRIPTORSTOVWS_H
00003 #define IRI_PERCEPTION_MSGS_SERVICE_DESCRIPTORSTOVWS_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_perception_msgs/DescriptorSet.h"
00020
00021
00022 #include "iri_perception_msgs/GeoVwSet.h"
00023
00024 namespace iri_perception_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct DescriptorsToVwsRequest_ {
00028 typedef DescriptorsToVwsRequest_<ContainerAllocator> Type;
00029
00030 DescriptorsToVwsRequest_()
00031 : descriptor_set()
00032 {
00033 }
00034
00035 DescriptorsToVwsRequest_(const ContainerAllocator& _alloc)
00036 : descriptor_set(_alloc)
00037 {
00038 }
00039
00040 typedef ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> _descriptor_set_type;
00041 ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> descriptor_set;
00042
00043
00044 typedef boost::shared_ptr< ::iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::iri_perception_msgs::DescriptorsToVwsRequest_<std::allocator<void> > DescriptorsToVwsRequest;
00049
00050 typedef boost::shared_ptr< ::iri_perception_msgs::DescriptorsToVwsRequest> DescriptorsToVwsRequestPtr;
00051 typedef boost::shared_ptr< ::iri_perception_msgs::DescriptorsToVwsRequest const> DescriptorsToVwsRequestConstPtr;
00052
00053
00054 template <class ContainerAllocator>
00055 struct DescriptorsToVwsResponse_ {
00056 typedef DescriptorsToVwsResponse_<ContainerAllocator> Type;
00057
00058 DescriptorsToVwsResponse_()
00059 : geo_vw_set()
00060 {
00061 }
00062
00063 DescriptorsToVwsResponse_(const ContainerAllocator& _alloc)
00064 : geo_vw_set(_alloc)
00065 {
00066 }
00067
00068 typedef ::iri_perception_msgs::GeoVwSet_<ContainerAllocator> _geo_vw_set_type;
00069 ::iri_perception_msgs::GeoVwSet_<ContainerAllocator> geo_vw_set;
00070
00071
00072 typedef boost::shared_ptr< ::iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> > Ptr;
00073 typedef boost::shared_ptr< ::iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> const> ConstPtr;
00074 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 };
00076 typedef ::iri_perception_msgs::DescriptorsToVwsResponse_<std::allocator<void> > DescriptorsToVwsResponse;
00077
00078 typedef boost::shared_ptr< ::iri_perception_msgs::DescriptorsToVwsResponse> DescriptorsToVwsResponsePtr;
00079 typedef boost::shared_ptr< ::iri_perception_msgs::DescriptorsToVwsResponse const> DescriptorsToVwsResponseConstPtr;
00080
00081 struct DescriptorsToVws
00082 {
00083
00084 typedef DescriptorsToVwsRequest Request;
00085 typedef DescriptorsToVwsResponse Response;
00086 Request request;
00087 Response response;
00088
00089 typedef Request RequestType;
00090 typedef Response ResponseType;
00091 };
00092 }
00093
00094 namespace ros
00095 {
00096 namespace message_traits
00097 {
00098 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "db5e12e66d3b02ca867728f150b58d69";
00105 }
00106
00107 static const char* value(const ::iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> &) { return value(); }
00108 static const uint64_t static_value1 = 0xdb5e12e66d3b02caULL;
00109 static const uint64_t static_value2 = 0x867728f150b58d69ULL;
00110 };
00111
00112 template<class ContainerAllocator>
00113 struct DataType< ::iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> > {
00114 static const char* value()
00115 {
00116 return "iri_perception_msgs/DescriptorsToVwsRequest";
00117 }
00118
00119 static const char* value(const ::iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> &) { return value(); }
00120 };
00121
00122 template<class ContainerAllocator>
00123 struct Definition< ::iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> > {
00124 static const char* value()
00125 {
00126 return "\n\
00127 iri_perception_msgs/DescriptorSet descriptor_set\n\
00128 \n\
00129 ================================================================================\n\
00130 MSG: iri_perception_msgs/DescriptorSet\n\
00131 Header header\n\
00132 int32 num_orient_bins\n\
00133 int32 num_spa_bins\n\
00134 int32 num\n\
00135 int32 len\n\
00136 int32 width\n\
00137 int32 height\n\
00138 iri_perception_msgs/Descriptor[] descriptors\n\
00139 \n\
00140 ================================================================================\n\
00141 MSG: std_msgs/Header\n\
00142 # Standard metadata for higher-level stamped data types.\n\
00143 # This is generally used to communicate timestamped data \n\
00144 # in a particular coordinate frame.\n\
00145 # \n\
00146 # sequence ID: consecutively increasing ID \n\
00147 uint32 seq\n\
00148 #Two-integer timestamp that is expressed as:\n\
00149 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00150 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00151 # time-handling sugar is provided by the client library\n\
00152 time stamp\n\
00153 #Frame this data is associated with\n\
00154 # 0: no frame\n\
00155 # 1: global frame\n\
00156 string frame_id\n\
00157 \n\
00158 ================================================================================\n\
00159 MSG: iri_perception_msgs/Descriptor\n\
00160 float32[] descriptor\n\
00161 geometry_msgs/Vector3 point3d\n\
00162 int32 u\n\
00163 int32 v\n\
00164 float32 orientation\n\
00165 \n\
00166 ================================================================================\n\
00167 MSG: geometry_msgs/Vector3\n\
00168 # This represents a vector in free space. \n\
00169 \n\
00170 float64 x\n\
00171 float64 y\n\
00172 float64 z\n\
00173 ";
00174 }
00175
00176 static const char* value(const ::iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> &) { return value(); }
00177 };
00178
00179 }
00180 }
00181
00182
00183 namespace ros
00184 {
00185 namespace message_traits
00186 {
00187 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> > : public TrueType {};
00188 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> const> : public TrueType {};
00189 template<class ContainerAllocator>
00190 struct MD5Sum< ::iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> > {
00191 static const char* value()
00192 {
00193 return "fbaeb4cf1b5d7cd6619b89880488beae";
00194 }
00195
00196 static const char* value(const ::iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> &) { return value(); }
00197 static const uint64_t static_value1 = 0xfbaeb4cf1b5d7cd6ULL;
00198 static const uint64_t static_value2 = 0x619b89880488beaeULL;
00199 };
00200
00201 template<class ContainerAllocator>
00202 struct DataType< ::iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> > {
00203 static const char* value()
00204 {
00205 return "iri_perception_msgs/DescriptorsToVwsResponse";
00206 }
00207
00208 static const char* value(const ::iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> &) { return value(); }
00209 };
00210
00211 template<class ContainerAllocator>
00212 struct Definition< ::iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> > {
00213 static const char* value()
00214 {
00215 return "\n\
00216 iri_perception_msgs/GeoVwSet geo_vw_set\n\
00217 \n\
00218 \n\
00219 ================================================================================\n\
00220 MSG: iri_perception_msgs/GeoVwSet\n\
00221 iri_perception_msgs/GeoVw[] geo_vws\n\
00222 \n\
00223 ================================================================================\n\
00224 MSG: iri_perception_msgs/GeoVw\n\
00225 uint32 x\n\
00226 uint32 y\n\
00227 uint32 word\n\
00228 ";
00229 }
00230
00231 static const char* value(const ::iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> &) { return value(); }
00232 };
00233
00234 }
00235 }
00236
00237 namespace ros
00238 {
00239 namespace serialization
00240 {
00241
00242 template<class ContainerAllocator> struct Serializer< ::iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> >
00243 {
00244 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00245 {
00246 stream.next(m.descriptor_set);
00247 }
00248
00249 ROS_DECLARE_ALLINONE_SERIALIZER;
00250 };
00251 }
00252 }
00253
00254
00255 namespace ros
00256 {
00257 namespace serialization
00258 {
00259
00260 template<class ContainerAllocator> struct Serializer< ::iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> >
00261 {
00262 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00263 {
00264 stream.next(m.geo_vw_set);
00265 }
00266
00267 ROS_DECLARE_ALLINONE_SERIALIZER;
00268 };
00269 }
00270 }
00271
00272 namespace ros
00273 {
00274 namespace service_traits
00275 {
00276 template<>
00277 struct MD5Sum<iri_perception_msgs::DescriptorsToVws> {
00278 static const char* value()
00279 {
00280 return "22b3d75b6de6a8033e791170a75fab55";
00281 }
00282
00283 static const char* value(const iri_perception_msgs::DescriptorsToVws&) { return value(); }
00284 };
00285
00286 template<>
00287 struct DataType<iri_perception_msgs::DescriptorsToVws> {
00288 static const char* value()
00289 {
00290 return "iri_perception_msgs/DescriptorsToVws";
00291 }
00292
00293 static const char* value(const iri_perception_msgs::DescriptorsToVws&) { return value(); }
00294 };
00295
00296 template<class ContainerAllocator>
00297 struct MD5Sum<iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> > {
00298 static const char* value()
00299 {
00300 return "22b3d75b6de6a8033e791170a75fab55";
00301 }
00302
00303 static const char* value(const iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> &) { return value(); }
00304 };
00305
00306 template<class ContainerAllocator>
00307 struct DataType<iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> > {
00308 static const char* value()
00309 {
00310 return "iri_perception_msgs/DescriptorsToVws";
00311 }
00312
00313 static const char* value(const iri_perception_msgs::DescriptorsToVwsRequest_<ContainerAllocator> &) { return value(); }
00314 };
00315
00316 template<class ContainerAllocator>
00317 struct MD5Sum<iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> > {
00318 static const char* value()
00319 {
00320 return "22b3d75b6de6a8033e791170a75fab55";
00321 }
00322
00323 static const char* value(const iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> &) { return value(); }
00324 };
00325
00326 template<class ContainerAllocator>
00327 struct DataType<iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> > {
00328 static const char* value()
00329 {
00330 return "iri_perception_msgs/DescriptorsToVws";
00331 }
00332
00333 static const char* value(const iri_perception_msgs::DescriptorsToVwsResponse_<ContainerAllocator> &) { return value(); }
00334 };
00335
00336 }
00337 }
00338
00339 #endif // IRI_PERCEPTION_MSGS_SERVICE_DESCRIPTORSTOVWS_H
00340