Go to the documentation of this file.00001
00002 #ifndef IRI_PERCEPTION_MSGS_SERVICE_SETIMAGE_H
00003 #define IRI_PERCEPTION_MSGS_SERVICE_SETIMAGE_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
00023 namespace iri_perception_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct SetImageRequest_ {
00027 typedef SetImageRequest_<ContainerAllocator> Type;
00028
00029 SetImageRequest_()
00030 : image_in()
00031 {
00032 }
00033
00034 SetImageRequest_(const ContainerAllocator& _alloc)
00035 : image_in(_alloc)
00036 {
00037 }
00038
00039 typedef ::sensor_msgs::Image_<ContainerAllocator> _image_in_type;
00040 ::sensor_msgs::Image_<ContainerAllocator> image_in;
00041
00042
00043 typedef boost::shared_ptr< ::iri_perception_msgs::SetImageRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::iri_perception_msgs::SetImageRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::iri_perception_msgs::SetImageRequest_<std::allocator<void> > SetImageRequest;
00048
00049 typedef boost::shared_ptr< ::iri_perception_msgs::SetImageRequest> SetImageRequestPtr;
00050 typedef boost::shared_ptr< ::iri_perception_msgs::SetImageRequest const> SetImageRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct SetImageResponse_ {
00055 typedef SetImageResponse_<ContainerAllocator> Type;
00056
00057 SetImageResponse_()
00058 : success(false)
00059 {
00060 }
00061
00062 SetImageResponse_(const ContainerAllocator& _alloc)
00063 : success(false)
00064 {
00065 }
00066
00067 typedef uint8_t _success_type;
00068 uint8_t success;
00069
00070
00071 typedef boost::shared_ptr< ::iri_perception_msgs::SetImageResponse_<ContainerAllocator> > Ptr;
00072 typedef boost::shared_ptr< ::iri_perception_msgs::SetImageResponse_<ContainerAllocator> const> ConstPtr;
00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 };
00075 typedef ::iri_perception_msgs::SetImageResponse_<std::allocator<void> > SetImageResponse;
00076
00077 typedef boost::shared_ptr< ::iri_perception_msgs::SetImageResponse> SetImageResponsePtr;
00078 typedef boost::shared_ptr< ::iri_perception_msgs::SetImageResponse const> SetImageResponseConstPtr;
00079
00080 struct SetImage
00081 {
00082
00083 typedef SetImageRequest Request;
00084 typedef SetImageResponse Response;
00085 Request request;
00086 Response response;
00087
00088 typedef Request RequestType;
00089 typedef Response ResponseType;
00090 };
00091 }
00092
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::SetImageRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::SetImageRequest_<ContainerAllocator> const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::iri_perception_msgs::SetImageRequest_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "db7d5340a17ebc717da28ab27c870995";
00104 }
00105
00106 static const char* value(const ::iri_perception_msgs::SetImageRequest_<ContainerAllocator> &) { return value(); }
00107 static const uint64_t static_value1 = 0xdb7d5340a17ebc71ULL;
00108 static const uint64_t static_value2 = 0x7da28ab27c870995ULL;
00109 };
00110
00111 template<class ContainerAllocator>
00112 struct DataType< ::iri_perception_msgs::SetImageRequest_<ContainerAllocator> > {
00113 static const char* value()
00114 {
00115 return "iri_perception_msgs/SetImageRequest";
00116 }
00117
00118 static const char* value(const ::iri_perception_msgs::SetImageRequest_<ContainerAllocator> &) { return value(); }
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct Definition< ::iri_perception_msgs::SetImageRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "\n\
00126 sensor_msgs/Image image_in\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_perception_msgs::SetImageRequest_<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_perception_msgs::SetImageResponse_<ContainerAllocator> > : public TrueType {};
00191 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::SetImageResponse_<ContainerAllocator> const> : public TrueType {};
00192 template<class ContainerAllocator>
00193 struct MD5Sum< ::iri_perception_msgs::SetImageResponse_<ContainerAllocator> > {
00194 static const char* value()
00195 {
00196 return "358e233cde0c8a8bcfea4ce193f8fc15";
00197 }
00198
00199 static const char* value(const ::iri_perception_msgs::SetImageResponse_<ContainerAllocator> &) { return value(); }
00200 static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
00201 static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
00202 };
00203
00204 template<class ContainerAllocator>
00205 struct DataType< ::iri_perception_msgs::SetImageResponse_<ContainerAllocator> > {
00206 static const char* value()
00207 {
00208 return "iri_perception_msgs/SetImageResponse";
00209 }
00210
00211 static const char* value(const ::iri_perception_msgs::SetImageResponse_<ContainerAllocator> &) { return value(); }
00212 };
00213
00214 template<class ContainerAllocator>
00215 struct Definition< ::iri_perception_msgs::SetImageResponse_<ContainerAllocator> > {
00216 static const char* value()
00217 {
00218 return "\n\
00219 bool success\n\
00220 \n\
00221 \n\
00222 ";
00223 }
00224
00225 static const char* value(const ::iri_perception_msgs::SetImageResponse_<ContainerAllocator> &) { return value(); }
00226 };
00227
00228 template<class ContainerAllocator> struct IsFixedSize< ::iri_perception_msgs::SetImageResponse_<ContainerAllocator> > : public TrueType {};
00229 }
00230 }
00231
00232 namespace ros
00233 {
00234 namespace serialization
00235 {
00236
00237 template<class ContainerAllocator> struct Serializer< ::iri_perception_msgs::SetImageRequest_<ContainerAllocator> >
00238 {
00239 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00240 {
00241 stream.next(m.image_in);
00242 }
00243
00244 ROS_DECLARE_ALLINONE_SERIALIZER;
00245 };
00246 }
00247 }
00248
00249
00250 namespace ros
00251 {
00252 namespace serialization
00253 {
00254
00255 template<class ContainerAllocator> struct Serializer< ::iri_perception_msgs::SetImageResponse_<ContainerAllocator> >
00256 {
00257 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00258 {
00259 stream.next(m.success);
00260 }
00261
00262 ROS_DECLARE_ALLINONE_SERIALIZER;
00263 };
00264 }
00265 }
00266
00267 namespace ros
00268 {
00269 namespace service_traits
00270 {
00271 template<>
00272 struct MD5Sum<iri_perception_msgs::SetImage> {
00273 static const char* value()
00274 {
00275 return "3c9d3f37fa6b00d25eaac8ccbaa373ab";
00276 }
00277
00278 static const char* value(const iri_perception_msgs::SetImage&) { return value(); }
00279 };
00280
00281 template<>
00282 struct DataType<iri_perception_msgs::SetImage> {
00283 static const char* value()
00284 {
00285 return "iri_perception_msgs/SetImage";
00286 }
00287
00288 static const char* value(const iri_perception_msgs::SetImage&) { return value(); }
00289 };
00290
00291 template<class ContainerAllocator>
00292 struct MD5Sum<iri_perception_msgs::SetImageRequest_<ContainerAllocator> > {
00293 static const char* value()
00294 {
00295 return "3c9d3f37fa6b00d25eaac8ccbaa373ab";
00296 }
00297
00298 static const char* value(const iri_perception_msgs::SetImageRequest_<ContainerAllocator> &) { return value(); }
00299 };
00300
00301 template<class ContainerAllocator>
00302 struct DataType<iri_perception_msgs::SetImageRequest_<ContainerAllocator> > {
00303 static const char* value()
00304 {
00305 return "iri_perception_msgs/SetImage";
00306 }
00307
00308 static const char* value(const iri_perception_msgs::SetImageRequest_<ContainerAllocator> &) { return value(); }
00309 };
00310
00311 template<class ContainerAllocator>
00312 struct MD5Sum<iri_perception_msgs::SetImageResponse_<ContainerAllocator> > {
00313 static const char* value()
00314 {
00315 return "3c9d3f37fa6b00d25eaac8ccbaa373ab";
00316 }
00317
00318 static const char* value(const iri_perception_msgs::SetImageResponse_<ContainerAllocator> &) { return value(); }
00319 };
00320
00321 template<class ContainerAllocator>
00322 struct DataType<iri_perception_msgs::SetImageResponse_<ContainerAllocator> > {
00323 static const char* value()
00324 {
00325 return "iri_perception_msgs/SetImage";
00326 }
00327
00328 static const char* value(const iri_perception_msgs::SetImageResponse_<ContainerAllocator> &) { return value(); }
00329 };
00330
00331 }
00332 }
00333
00334 #endif // IRI_PERCEPTION_MSGS_SERVICE_SETIMAGE_H
00335