CalibrationPattern.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-calibration/doc_stacks/2013-08-15_10-13-13.499663/calibration/calibration_msgs/msg/CalibrationPattern.msg */
00002 #ifndef CALIBRATION_MSGS_MESSAGE_CALIBRATIONPATTERN_H
00003 #define CALIBRATION_MSGS_MESSAGE_CALIBRATIONPATTERN_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 "std_msgs/Header.h"
00018 #include "geometry_msgs/Point.h"
00019 #include "geometry_msgs/Point.h"
00020 
00021 namespace calibration_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct CalibrationPattern_ {
00025   typedef CalibrationPattern_<ContainerAllocator> Type;
00026 
00027   CalibrationPattern_()
00028   : header()
00029   , object_points()
00030   , image_points()
00031   , success(0)
00032   {
00033   }
00034 
00035   CalibrationPattern_(const ContainerAllocator& _alloc)
00036   : header(_alloc)
00037   , object_points(_alloc)
00038   , image_points(_alloc)
00039   , success(0)
00040   {
00041   }
00042 
00043   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00044    ::std_msgs::Header_<ContainerAllocator>  header;
00045 
00046   typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  _object_points_type;
00047   std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  object_points;
00048 
00049   typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  _image_points_type;
00050   std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  image_points;
00051 
00052   typedef uint8_t _success_type;
00053   uint8_t success;
00054 
00055 
00056   typedef boost::shared_ptr< ::calibration_msgs::CalibrationPattern_<ContainerAllocator> > Ptr;
00057   typedef boost::shared_ptr< ::calibration_msgs::CalibrationPattern_<ContainerAllocator>  const> ConstPtr;
00058   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00059 }; // struct CalibrationPattern
00060 typedef  ::calibration_msgs::CalibrationPattern_<std::allocator<void> > CalibrationPattern;
00061 
00062 typedef boost::shared_ptr< ::calibration_msgs::CalibrationPattern> CalibrationPatternPtr;
00063 typedef boost::shared_ptr< ::calibration_msgs::CalibrationPattern const> CalibrationPatternConstPtr;
00064 
00065 
00066 template<typename ContainerAllocator>
00067 std::ostream& operator<<(std::ostream& s, const  ::calibration_msgs::CalibrationPattern_<ContainerAllocator> & v)
00068 {
00069   ros::message_operations::Printer< ::calibration_msgs::CalibrationPattern_<ContainerAllocator> >::stream(s, "", v);
00070   return s;}
00071 
00072 } // namespace calibration_msgs
00073 
00074 namespace ros
00075 {
00076 namespace message_traits
00077 {
00078 template<class ContainerAllocator> struct IsMessage< ::calibration_msgs::CalibrationPattern_<ContainerAllocator> > : public TrueType {};
00079 template<class ContainerAllocator> struct IsMessage< ::calibration_msgs::CalibrationPattern_<ContainerAllocator>  const> : public TrueType {};
00080 template<class ContainerAllocator>
00081 struct MD5Sum< ::calibration_msgs::CalibrationPattern_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "5854af5462e19a169f68917c875a6238";
00085   }
00086 
00087   static const char* value(const  ::calibration_msgs::CalibrationPattern_<ContainerAllocator> &) { return value(); } 
00088   static const uint64_t static_value1 = 0x5854af5462e19a16ULL;
00089   static const uint64_t static_value2 = 0x9f68917c875a6238ULL;
00090 };
00091 
00092 template<class ContainerAllocator>
00093 struct DataType< ::calibration_msgs::CalibrationPattern_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "calibration_msgs/CalibrationPattern";
00097   }
00098 
00099   static const char* value(const  ::calibration_msgs::CalibrationPattern_<ContainerAllocator> &) { return value(); } 
00100 };
00101 
00102 template<class ContainerAllocator>
00103 struct Definition< ::calibration_msgs::CalibrationPattern_<ContainerAllocator> > {
00104   static const char* value() 
00105   {
00106     return "Header header\n\
00107 geometry_msgs/Point[] object_points\n\
00108 geometry_msgs/Point[] image_points\n\
00109 uint8 success\n\
00110 \n\
00111 ================================================================================\n\
00112 MSG: std_msgs/Header\n\
00113 # Standard metadata for higher-level stamped data types.\n\
00114 # This is generally used to communicate timestamped data \n\
00115 # in a particular coordinate frame.\n\
00116 # \n\
00117 # sequence ID: consecutively increasing ID \n\
00118 uint32 seq\n\
00119 #Two-integer timestamp that is expressed as:\n\
00120 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00121 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00122 # time-handling sugar is provided by the client library\n\
00123 time stamp\n\
00124 #Frame this data is associated with\n\
00125 # 0: no frame\n\
00126 # 1: global frame\n\
00127 string frame_id\n\
00128 \n\
00129 ================================================================================\n\
00130 MSG: geometry_msgs/Point\n\
00131 # This contains the position of a point in free space\n\
00132 float64 x\n\
00133 float64 y\n\
00134 float64 z\n\
00135 \n\
00136 ";
00137   }
00138 
00139   static const char* value(const  ::calibration_msgs::CalibrationPattern_<ContainerAllocator> &) { return value(); } 
00140 };
00141 
00142 template<class ContainerAllocator> struct HasHeader< ::calibration_msgs::CalibrationPattern_<ContainerAllocator> > : public TrueType {};
00143 template<class ContainerAllocator> struct HasHeader< const ::calibration_msgs::CalibrationPattern_<ContainerAllocator> > : public TrueType {};
00144 } // namespace message_traits
00145 } // namespace ros
00146 
00147 namespace ros
00148 {
00149 namespace serialization
00150 {
00151 
00152 template<class ContainerAllocator> struct Serializer< ::calibration_msgs::CalibrationPattern_<ContainerAllocator> >
00153 {
00154   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00155   {
00156     stream.next(m.header);
00157     stream.next(m.object_points);
00158     stream.next(m.image_points);
00159     stream.next(m.success);
00160   }
00161 
00162   ROS_DECLARE_ALLINONE_SERIALIZER;
00163 }; // struct CalibrationPattern_
00164 } // namespace serialization
00165 } // namespace ros
00166 
00167 namespace ros
00168 {
00169 namespace message_operations
00170 {
00171 
00172 template<class ContainerAllocator>
00173 struct Printer< ::calibration_msgs::CalibrationPattern_<ContainerAllocator> >
00174 {
00175   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::calibration_msgs::CalibrationPattern_<ContainerAllocator> & v) 
00176   {
00177     s << indent << "header: ";
00178 s << std::endl;
00179     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00180     s << indent << "object_points[]" << std::endl;
00181     for (size_t i = 0; i < v.object_points.size(); ++i)
00182     {
00183       s << indent << "  object_points[" << i << "]: ";
00184       s << std::endl;
00185       s << indent;
00186       Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "    ", v.object_points[i]);
00187     }
00188     s << indent << "image_points[]" << std::endl;
00189     for (size_t i = 0; i < v.image_points.size(); ++i)
00190     {
00191       s << indent << "  image_points[" << i << "]: ";
00192       s << std::endl;
00193       s << indent;
00194       Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "    ", v.image_points[i]);
00195     }
00196     s << indent << "success: ";
00197     Printer<uint8_t>::stream(s, indent + "  ", v.success);
00198   }
00199 };
00200 
00201 
00202 } // namespace message_operations
00203 } // namespace ros
00204 
00205 #endif // CALIBRATION_MSGS_MESSAGE_CALIBRATIONPATTERN_H
00206 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


calibration_msgs
Author(s): Vijay Pradeep
autogenerated on Thu Aug 15 2013 10:15:15