Go to the documentation of this file.00001
00002 #ifndef IRI_SIFT_SERVICE_GEOVWSETSRV_H
00003 #define IRI_SIFT_SERVICE_GEOVWSETSRV_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 "sensor_msgs/Image.h"
00020
00021
00022 #include "iri_perception_msgs/GeoVwSet.h"
00023
00024 namespace iri_sift
00025 {
00026 template <class ContainerAllocator>
00027 struct GeoVwSetSrvRequest_ {
00028 typedef GeoVwSetSrvRequest_<ContainerAllocator> Type;
00029
00030 GeoVwSetSrvRequest_()
00031 : image()
00032 {
00033 }
00034
00035 GeoVwSetSrvRequest_(const ContainerAllocator& _alloc)
00036 : image(_alloc)
00037 {
00038 }
00039
00040 typedef ::sensor_msgs::Image_<ContainerAllocator> _image_type;
00041 ::sensor_msgs::Image_<ContainerAllocator> image;
00042
00043
00044 typedef boost::shared_ptr< ::iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::iri_sift::GeoVwSetSrvRequest_<std::allocator<void> > GeoVwSetSrvRequest;
00049
00050 typedef boost::shared_ptr< ::iri_sift::GeoVwSetSrvRequest> GeoVwSetSrvRequestPtr;
00051 typedef boost::shared_ptr< ::iri_sift::GeoVwSetSrvRequest const> GeoVwSetSrvRequestConstPtr;
00052
00053
00054 template <class ContainerAllocator>
00055 struct GeoVwSetSrvResponse_ {
00056 typedef GeoVwSetSrvResponse_<ContainerAllocator> Type;
00057
00058 GeoVwSetSrvResponse_()
00059 : geo_vw_set()
00060 {
00061 }
00062
00063 GeoVwSetSrvResponse_(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_sift::GeoVwSetSrvResponse_<ContainerAllocator> > Ptr;
00073 typedef boost::shared_ptr< ::iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> const> ConstPtr;
00074 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 };
00076 typedef ::iri_sift::GeoVwSetSrvResponse_<std::allocator<void> > GeoVwSetSrvResponse;
00077
00078 typedef boost::shared_ptr< ::iri_sift::GeoVwSetSrvResponse> GeoVwSetSrvResponsePtr;
00079 typedef boost::shared_ptr< ::iri_sift::GeoVwSetSrvResponse const> GeoVwSetSrvResponseConstPtr;
00080
00081 struct GeoVwSetSrv
00082 {
00083
00084 typedef GeoVwSetSrvRequest Request;
00085 typedef GeoVwSetSrvResponse 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_sift::GeoVwSetSrvRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "b13d2865c5af2a64e6e30ab1b56e1dd5";
00105 }
00106
00107 static const char* value(const ::iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> &) { return value(); }
00108 static const uint64_t static_value1 = 0xb13d2865c5af2a64ULL;
00109 static const uint64_t static_value2 = 0xe6e30ab1b56e1dd5ULL;
00110 };
00111
00112 template<class ContainerAllocator>
00113 struct DataType< ::iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> > {
00114 static const char* value()
00115 {
00116 return "iri_sift/GeoVwSetSrvRequest";
00117 }
00118
00119 static const char* value(const ::iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> &) { return value(); }
00120 };
00121
00122 template<class ContainerAllocator>
00123 struct Definition< ::iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> > {
00124 static const char* value()
00125 {
00126 return "sensor_msgs/Image image\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: sensor_msgs/Image\n\
00130 # This message contains an uncompressed image\n\
00131 # (0, 0) is at top-left corner of image\n\
00132 #\n\
00133 \n\
00134 Header header # Header timestamp should be acquisition time of image\n\
00135 # Header frame_id should be optical frame of camera\n\
00136 # origin of frame should be optical center of cameara\n\
00137 # +x should point to the right in the image\n\
00138 # +y should point down in the image\n\
00139 # +z should point into to plane of the image\n\
00140 # If the frame_id here and the frame_id of the CameraInfo\n\
00141 # message associated with the image conflict\n\
00142 # the behavior is undefined\n\
00143 \n\
00144 uint32 height # image height, that is, number of rows\n\
00145 uint32 width # image width, that is, number of columns\n\
00146 \n\
00147 # The legal values for encoding are in file src/image_encodings.cpp\n\
00148 # If you want to standardize a new string format, join\n\
00149 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00150 \n\
00151 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\
00152 # taken from the list of strings in src/image_encodings.cpp\n\
00153 \n\
00154 uint8 is_bigendian # is this data bigendian?\n\
00155 uint32 step # Full row length in bytes\n\
00156 uint8[] data # actual matrix data, size is (step * rows)\n\
00157 \n\
00158 ================================================================================\n\
00159 MSG: std_msgs/Header\n\
00160 # Standard metadata for higher-level stamped data types.\n\
00161 # This is generally used to communicate timestamped data \n\
00162 # in a particular coordinate frame.\n\
00163 # \n\
00164 # sequence ID: consecutively increasing ID \n\
00165 uint32 seq\n\
00166 #Two-integer timestamp that is expressed as:\n\
00167 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00168 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00169 # time-handling sugar is provided by the client library\n\
00170 time stamp\n\
00171 #Frame this data is associated with\n\
00172 # 0: no frame\n\
00173 # 1: global frame\n\
00174 string frame_id\n\
00175 \n\
00176 ";
00177 }
00178
00179 static const char* value(const ::iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> &) { return value(); }
00180 };
00181
00182 }
00183 }
00184
00185
00186 namespace ros
00187 {
00188 namespace message_traits
00189 {
00190 template<class ContainerAllocator> struct IsMessage< ::iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> > : public TrueType {};
00191 template<class ContainerAllocator> struct IsMessage< ::iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> const> : public TrueType {};
00192 template<class ContainerAllocator>
00193 struct MD5Sum< ::iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> > {
00194 static const char* value()
00195 {
00196 return "fbaeb4cf1b5d7cd6619b89880488beae";
00197 }
00198
00199 static const char* value(const ::iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> &) { return value(); }
00200 static const uint64_t static_value1 = 0xfbaeb4cf1b5d7cd6ULL;
00201 static const uint64_t static_value2 = 0x619b89880488beaeULL;
00202 };
00203
00204 template<class ContainerAllocator>
00205 struct DataType< ::iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> > {
00206 static const char* value()
00207 {
00208 return "iri_sift/GeoVwSetSrvResponse";
00209 }
00210
00211 static const char* value(const ::iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> &) { return value(); }
00212 };
00213
00214 template<class ContainerAllocator>
00215 struct Definition< ::iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> > {
00216 static const char* value()
00217 {
00218 return "iri_perception_msgs/GeoVwSet geo_vw_set\n\
00219 \n\
00220 \n\
00221 ================================================================================\n\
00222 MSG: iri_perception_msgs/GeoVwSet\n\
00223 iri_perception_msgs/GeoVw[] geo_vws\n\
00224 \n\
00225 ================================================================================\n\
00226 MSG: iri_perception_msgs/GeoVw\n\
00227 uint32 x\n\
00228 uint32 y\n\
00229 uint32 word\n\
00230 ";
00231 }
00232
00233 static const char* value(const ::iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> &) { return value(); }
00234 };
00235
00236 }
00237 }
00238
00239 namespace ros
00240 {
00241 namespace serialization
00242 {
00243
00244 template<class ContainerAllocator> struct Serializer< ::iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> >
00245 {
00246 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00247 {
00248 stream.next(m.image);
00249 }
00250
00251 ROS_DECLARE_ALLINONE_SERIALIZER;
00252 };
00253 }
00254 }
00255
00256
00257 namespace ros
00258 {
00259 namespace serialization
00260 {
00261
00262 template<class ContainerAllocator> struct Serializer< ::iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> >
00263 {
00264 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00265 {
00266 stream.next(m.geo_vw_set);
00267 }
00268
00269 ROS_DECLARE_ALLINONE_SERIALIZER;
00270 };
00271 }
00272 }
00273
00274 namespace ros
00275 {
00276 namespace service_traits
00277 {
00278 template<>
00279 struct MD5Sum<iri_sift::GeoVwSetSrv> {
00280 static const char* value()
00281 {
00282 return "daa8e81549d2bfdca961b9581eed855d";
00283 }
00284
00285 static const char* value(const iri_sift::GeoVwSetSrv&) { return value(); }
00286 };
00287
00288 template<>
00289 struct DataType<iri_sift::GeoVwSetSrv> {
00290 static const char* value()
00291 {
00292 return "iri_sift/GeoVwSetSrv";
00293 }
00294
00295 static const char* value(const iri_sift::GeoVwSetSrv&) { return value(); }
00296 };
00297
00298 template<class ContainerAllocator>
00299 struct MD5Sum<iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> > {
00300 static const char* value()
00301 {
00302 return "daa8e81549d2bfdca961b9581eed855d";
00303 }
00304
00305 static const char* value(const iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> &) { return value(); }
00306 };
00307
00308 template<class ContainerAllocator>
00309 struct DataType<iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> > {
00310 static const char* value()
00311 {
00312 return "iri_sift/GeoVwSetSrv";
00313 }
00314
00315 static const char* value(const iri_sift::GeoVwSetSrvRequest_<ContainerAllocator> &) { return value(); }
00316 };
00317
00318 template<class ContainerAllocator>
00319 struct MD5Sum<iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> > {
00320 static const char* value()
00321 {
00322 return "daa8e81549d2bfdca961b9581eed855d";
00323 }
00324
00325 static const char* value(const iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> &) { return value(); }
00326 };
00327
00328 template<class ContainerAllocator>
00329 struct DataType<iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> > {
00330 static const char* value()
00331 {
00332 return "iri_sift/GeoVwSetSrv";
00333 }
00334
00335 static const char* value(const iri_sift::GeoVwSetSrvResponse_<ContainerAllocator> &) { return value(); }
00336 };
00337
00338 }
00339 }
00340
00341 #endif // IRI_SIFT_SERVICE_GEOVWSETSRV_H
00342