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


srs_object_database_msgs
Author(s): Georg Arbeiter
autogenerated on Wed Nov 27 2013 14:14:38