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