Go to the documentation of this file.00001
00002 #ifndef VISP_CAMERA_CALIBRATION_MESSAGE_CALIBPOINT_H
00003 #define VISP_CAMERA_CALIBRATION_MESSAGE_CALIBPOINT_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
00018 namespace visp_camera_calibration
00019 {
00020 template <class ContainerAllocator>
00021 struct CalibPoint_ {
00022 typedef CalibPoint_<ContainerAllocator> Type;
00023
00024 CalibPoint_()
00025 : i(0)
00026 , j(0)
00027 , X(0.0)
00028 , Y(0.0)
00029 , Z(0.0)
00030 {
00031 }
00032
00033 CalibPoint_(const ContainerAllocator& _alloc)
00034 : i(0)
00035 , j(0)
00036 , X(0.0)
00037 , Y(0.0)
00038 , Z(0.0)
00039 {
00040 }
00041
00042 typedef int32_t _i_type;
00043 int32_t i;
00044
00045 typedef int32_t _j_type;
00046 int32_t j;
00047
00048 typedef double _X_type;
00049 double X;
00050
00051 typedef double _Y_type;
00052 double Y;
00053
00054 typedef double _Z_type;
00055 double Z;
00056
00057
00058 typedef boost::shared_ptr< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > Ptr;
00059 typedef boost::shared_ptr< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> const> ConstPtr;
00060 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 };
00062 typedef ::visp_camera_calibration::CalibPoint_<std::allocator<void> > CalibPoint;
00063
00064 typedef boost::shared_ptr< ::visp_camera_calibration::CalibPoint> CalibPointPtr;
00065 typedef boost::shared_ptr< ::visp_camera_calibration::CalibPoint const> CalibPointConstPtr;
00066
00067
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const ::visp_camera_calibration::CalibPoint_<ContainerAllocator> & v)
00070 {
00071 ros::message_operations::Printer< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> >::stream(s, "", v);
00072 return s;}
00073
00074 }
00075
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > {
00084 static const char* value()
00085 {
00086 return "9b9d41ff2127a593c07cec2a11858ac5";
00087 }
00088
00089 static const char* value(const ::visp_camera_calibration::CalibPoint_<ContainerAllocator> &) { return value(); }
00090 static const uint64_t static_value1 = 0x9b9d41ff2127a593ULL;
00091 static const uint64_t static_value2 = 0xc07cec2a11858ac5ULL;
00092 };
00093
00094 template<class ContainerAllocator>
00095 struct DataType< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "visp_camera_calibration/CalibPoint";
00099 }
00100
00101 static const char* value(const ::visp_camera_calibration::CalibPoint_<ContainerAllocator> &) { return value(); }
00102 };
00103
00104 template<class ContainerAllocator>
00105 struct Definition< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "# a vpPoint\n\
00109 \n\
00110 int32 i\n\
00111 int32 j\n\
00112 float64 X\n\
00113 float64 Y\n\
00114 float64 Z\n\
00115 \n\
00116 \n\
00117 ";
00118 }
00119
00120 static const char* value(const ::visp_camera_calibration::CalibPoint_<ContainerAllocator> &) { return value(); }
00121 };
00122
00123 template<class ContainerAllocator> struct IsFixedSize< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > : public TrueType {};
00124 }
00125 }
00126
00127 namespace ros
00128 {
00129 namespace serialization
00130 {
00131
00132 template<class ContainerAllocator> struct Serializer< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> >
00133 {
00134 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00135 {
00136 stream.next(m.i);
00137 stream.next(m.j);
00138 stream.next(m.X);
00139 stream.next(m.Y);
00140 stream.next(m.Z);
00141 }
00142
00143 ROS_DECLARE_ALLINONE_SERIALIZER;
00144 };
00145 }
00146 }
00147
00148 namespace ros
00149 {
00150 namespace message_operations
00151 {
00152
00153 template<class ContainerAllocator>
00154 struct Printer< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> >
00155 {
00156 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::visp_camera_calibration::CalibPoint_<ContainerAllocator> & v)
00157 {
00158 s << indent << "i: ";
00159 Printer<int32_t>::stream(s, indent + " ", v.i);
00160 s << indent << "j: ";
00161 Printer<int32_t>::stream(s, indent + " ", v.j);
00162 s << indent << "X: ";
00163 Printer<double>::stream(s, indent + " ", v.X);
00164 s << indent << "Y: ";
00165 Printer<double>::stream(s, indent + " ", v.Y);
00166 s << indent << "Z: ";
00167 Printer<double>::stream(s, indent + " ", v.Z);
00168 }
00169 };
00170
00171
00172 }
00173 }
00174
00175 #endif // VISP_CAMERA_CALIBRATION_MESSAGE_CALIBPOINT_H
00176