Go to the documentation of this file.00001
00002 #ifndef CAMERA_POSE_CALIBRATION_MESSAGE_CAMERACALIBRATION_H
00003 #define CAMERA_POSE_CALIBRATION_MESSAGE_CAMERACALIBRATION_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 "geometry_msgs/Pose.h"
00018
00019 namespace camera_pose_calibration
00020 {
00021 template <class ContainerAllocator>
00022 struct CameraCalibration_ {
00023 typedef CameraCalibration_<ContainerAllocator> Type;
00024
00025 CameraCalibration_()
00026 : camera_pose()
00027 , camera_id()
00028 , time_stamp()
00029 , m_count(0)
00030 {
00031 }
00032
00033 CameraCalibration_(const ContainerAllocator& _alloc)
00034 : camera_pose(_alloc)
00035 , camera_id(_alloc)
00036 , time_stamp(_alloc)
00037 , m_count(0)
00038 {
00039 }
00040
00041 typedef std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > _camera_pose_type;
00042 std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > camera_pose;
00043
00044 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _camera_id_type;
00045 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > camera_id;
00046
00047 typedef std::vector<ros::Time, typename ContainerAllocator::template rebind<ros::Time>::other > _time_stamp_type;
00048 std::vector<ros::Time, typename ContainerAllocator::template rebind<ros::Time>::other > time_stamp;
00049
00050 typedef int32_t _m_count_type;
00051 int32_t m_count;
00052
00053
00054 typedef boost::shared_ptr< ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> > Ptr;
00055 typedef boost::shared_ptr< ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> const> ConstPtr;
00056 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00057 };
00058 typedef ::camera_pose_calibration::CameraCalibration_<std::allocator<void> > CameraCalibration;
00059
00060 typedef boost::shared_ptr< ::camera_pose_calibration::CameraCalibration> CameraCalibrationPtr;
00061 typedef boost::shared_ptr< ::camera_pose_calibration::CameraCalibration const> CameraCalibrationConstPtr;
00062
00063
00064 template<typename ContainerAllocator>
00065 std::ostream& operator<<(std::ostream& s, const ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> & v)
00066 {
00067 ros::message_operations::Printer< ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> >::stream(s, "", v);
00068 return s;}
00069
00070 }
00071
00072 namespace ros
00073 {
00074 namespace message_traits
00075 {
00076 template<class ContainerAllocator> struct IsMessage< ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> > : public TrueType {};
00077 template<class ContainerAllocator> struct IsMessage< ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> const> : public TrueType {};
00078 template<class ContainerAllocator>
00079 struct MD5Sum< ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> > {
00080 static const char* value()
00081 {
00082 return "3cc5d376bac75efd371d4df5fb750ad6";
00083 }
00084
00085 static const char* value(const ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> &) { return value(); }
00086 static const uint64_t static_value1 = 0x3cc5d376bac75efdULL;
00087 static const uint64_t static_value2 = 0x371d4df5fb750ad6ULL;
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct DataType< ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "camera_pose_calibration/CameraCalibration";
00095 }
00096
00097 static const char* value(const ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> &) { return value(); }
00098 };
00099
00100 template<class ContainerAllocator>
00101 struct Definition< ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "geometry_msgs/Pose[] camera_pose\n\
00105 string[] camera_id\n\
00106 time[] time_stamp\n\
00107 int32 m_count\n\
00108 \n\
00109 ================================================================================\n\
00110 MSG: geometry_msgs/Pose\n\
00111 # A representation of pose in free space, composed of postion and orientation. \n\
00112 Point position\n\
00113 Quaternion orientation\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: geometry_msgs/Point\n\
00117 # This contains the position of a point in free space\n\
00118 float64 x\n\
00119 float64 y\n\
00120 float64 z\n\
00121 \n\
00122 ================================================================================\n\
00123 MSG: geometry_msgs/Quaternion\n\
00124 # This represents an orientation in free space in quaternion form.\n\
00125 \n\
00126 float64 x\n\
00127 float64 y\n\
00128 float64 z\n\
00129 float64 w\n\
00130 \n\
00131 ";
00132 }
00133
00134 static const char* value(const ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> &) { return value(); }
00135 };
00136
00137 }
00138 }
00139
00140 namespace ros
00141 {
00142 namespace serialization
00143 {
00144
00145 template<class ContainerAllocator> struct Serializer< ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> >
00146 {
00147 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00148 {
00149 stream.next(m.camera_pose);
00150 stream.next(m.camera_id);
00151 stream.next(m.time_stamp);
00152 stream.next(m.m_count);
00153 }
00154
00155 ROS_DECLARE_ALLINONE_SERIALIZER;
00156 };
00157 }
00158 }
00159
00160 namespace ros
00161 {
00162 namespace message_operations
00163 {
00164
00165 template<class ContainerAllocator>
00166 struct Printer< ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> >
00167 {
00168 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::camera_pose_calibration::CameraCalibration_<ContainerAllocator> & v)
00169 {
00170 s << indent << "camera_pose[]" << std::endl;
00171 for (size_t i = 0; i < v.camera_pose.size(); ++i)
00172 {
00173 s << indent << " camera_pose[" << i << "]: ";
00174 s << std::endl;
00175 s << indent;
00176 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.camera_pose[i]);
00177 }
00178 s << indent << "camera_id[]" << std::endl;
00179 for (size_t i = 0; i < v.camera_id.size(); ++i)
00180 {
00181 s << indent << " camera_id[" << i << "]: ";
00182 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.camera_id[i]);
00183 }
00184 s << indent << "time_stamp[]" << std::endl;
00185 for (size_t i = 0; i < v.time_stamp.size(); ++i)
00186 {
00187 s << indent << " time_stamp[" << i << "]: ";
00188 Printer<ros::Time>::stream(s, indent + " ", v.time_stamp[i]);
00189 }
00190 s << indent << "m_count: ";
00191 Printer<int32_t>::stream(s, indent + " ", v.m_count);
00192 }
00193 };
00194
00195
00196 }
00197 }
00198
00199 #endif // CAMERA_POSE_CALIBRATION_MESSAGE_CAMERACALIBRATION_H
00200