img.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-srs_common/doc_stacks/2014-01-05_11-34-05.715009/srs_common/srs_object_database_msgs/msg/img.msg */
00002 #ifndef SRS_OBJECT_DATABASE_MSGS_MESSAGE_IMG_H
00003 #define SRS_OBJECT_DATABASE_MSGS_MESSAGE_IMG_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 "sensor_msgs/Image.h"
00018 
00019 namespace srs_object_database_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct img_ {
00023   typedef img_<ContainerAllocator> Type;
00024 
00025   img_()
00026   : objectId(0)
00027   , description()
00028   , image()
00029   {
00030   }
00031 
00032   img_(const ContainerAllocator& _alloc)
00033   : objectId(0)
00034   , description(_alloc)
00035   , image(_alloc)
00036   {
00037   }
00038 
00039   typedef int32_t _objectId_type;
00040   int32_t objectId;
00041 
00042   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _description_type;
00043   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  description;
00044 
00045   typedef  ::sensor_msgs::Image_<ContainerAllocator>  _image_type;
00046    ::sensor_msgs::Image_<ContainerAllocator>  image;
00047 
00048 
00049   typedef boost::shared_ptr< ::srs_object_database_msgs::img_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::srs_object_database_msgs::img_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct img
00053 typedef  ::srs_object_database_msgs::img_<std::allocator<void> > img;
00054 
00055 typedef boost::shared_ptr< ::srs_object_database_msgs::img> imgPtr;
00056 typedef boost::shared_ptr< ::srs_object_database_msgs::img const> imgConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::srs_object_database_msgs::img_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::srs_object_database_msgs::img_<ContainerAllocator> >::stream(s, "", v);
00063   return s;}
00064 
00065 } // namespace srs_object_database_msgs
00066 
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::img_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::img_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::srs_object_database_msgs::img_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "9da746f1baa4582f8aa96ba1de78088c";
00078   }
00079 
00080   static const char* value(const  ::srs_object_database_msgs::img_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0x9da746f1baa4582fULL;
00082   static const uint64_t static_value2 = 0x8aa96ba1de78088cULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::srs_object_database_msgs::img_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "srs_object_database_msgs/img";
00090   }
00091 
00092   static const char* value(const  ::srs_object_database_msgs::img_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::srs_object_database_msgs::img_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "int32 objectId\n\
00100 string description\n\
00101 sensor_msgs/Image image\n\
00102 ================================================================================\n\
00103 MSG: sensor_msgs/Image\n\
00104 # This message contains an uncompressed image\n\
00105 # (0, 0) is at top-left corner of image\n\
00106 #\n\
00107 \n\
00108 Header header        # Header timestamp should be acquisition time of image\n\
00109                      # Header frame_id should be optical frame of camera\n\
00110                      # origin of frame should be optical center of cameara\n\
00111                      # +x should point to the right in the image\n\
00112                      # +y should point down in the image\n\
00113                      # +z should point into to plane of the image\n\
00114                      # If the frame_id here and the frame_id of the CameraInfo\n\
00115                      # message associated with the image conflict\n\
00116                      # the behavior is undefined\n\
00117 \n\
00118 uint32 height         # image height, that is, number of rows\n\
00119 uint32 width          # image width, that is, number of columns\n\
00120 \n\
00121 # The legal values for encoding are in file src/image_encodings.cpp\n\
00122 # If you want to standardize a new string format, join\n\
00123 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00124 \n\
00125 string encoding       # Encoding of pixels -- channel meaning, ordering, size\n\
00126                       # taken from the list of strings in src/image_encodings.cpp\n\
00127 \n\
00128 uint8 is_bigendian    # is this data bigendian?\n\
00129 uint32 step           # Full row length in bytes\n\
00130 uint8[] data          # actual matrix data, size is (step * rows)\n\
00131 \n\
00132 ================================================================================\n\
00133 MSG: std_msgs/Header\n\
00134 # Standard metadata for higher-level stamped data types.\n\
00135 # This is generally used to communicate timestamped data \n\
00136 # in a particular coordinate frame.\n\
00137 # \n\
00138 # sequence ID: consecutively increasing ID \n\
00139 uint32 seq\n\
00140 #Two-integer timestamp that is expressed as:\n\
00141 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00142 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00143 # time-handling sugar is provided by the client library\n\
00144 time stamp\n\
00145 #Frame this data is associated with\n\
00146 # 0: no frame\n\
00147 # 1: global frame\n\
00148 string frame_id\n\
00149 \n\
00150 ";
00151   }
00152 
00153   static const char* value(const  ::srs_object_database_msgs::img_<ContainerAllocator> &) { return value(); } 
00154 };
00155 
00156 } // namespace message_traits
00157 } // namespace ros
00158 
00159 namespace ros
00160 {
00161 namespace serialization
00162 {
00163 
00164 template<class ContainerAllocator> struct Serializer< ::srs_object_database_msgs::img_<ContainerAllocator> >
00165 {
00166   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00167   {
00168     stream.next(m.objectId);
00169     stream.next(m.description);
00170     stream.next(m.image);
00171   }
00172 
00173   ROS_DECLARE_ALLINONE_SERIALIZER;
00174 }; // struct img_
00175 } // namespace serialization
00176 } // namespace ros
00177 
00178 namespace ros
00179 {
00180 namespace message_operations
00181 {
00182 
00183 template<class ContainerAllocator>
00184 struct Printer< ::srs_object_database_msgs::img_<ContainerAllocator> >
00185 {
00186   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::srs_object_database_msgs::img_<ContainerAllocator> & v) 
00187   {
00188     s << indent << "objectId: ";
00189     Printer<int32_t>::stream(s, indent + "  ", v.objectId);
00190     s << indent << "description: ";
00191     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.description);
00192     s << indent << "image: ";
00193 s << std::endl;
00194     Printer< ::sensor_msgs::Image_<ContainerAllocator> >::stream(s, indent + "  ", v.image);
00195   }
00196 };
00197 
00198 
00199 } // namespace message_operations
00200 } // namespace ros
00201 
00202 #endif // SRS_OBJECT_DATABASE_MSGS_MESSAGE_IMG_H
00203 


srs_object_database_msgs
Author(s): Georg Arbeiter
autogenerated on Sun Jan 5 2014 11:36:26