Go to the documentation of this file.00001
00002 #ifndef CAMERA_POSE_CALIBRATION_MESSAGE_CAMERAPOSE_H
00003 #define CAMERA_POSE_CALIBRATION_MESSAGE_CAMERAPOSE_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 CameraPose_ {
00023 typedef CameraPose_<ContainerAllocator> Type;
00024
00025 CameraPose_()
00026 : camera_id()
00027 , pose()
00028 {
00029 }
00030
00031 CameraPose_(const ContainerAllocator& _alloc)
00032 : camera_id(_alloc)
00033 , pose(_alloc)
00034 {
00035 }
00036
00037 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _camera_id_type;
00038 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > camera_id;
00039
00040 typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type;
00041 ::geometry_msgs::Pose_<ContainerAllocator> pose;
00042
00043
00044 typedef boost::shared_ptr< ::camera_pose_calibration::CameraPose_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::camera_pose_calibration::CameraPose_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::camera_pose_calibration::CameraPose_<std::allocator<void> > CameraPose;
00049
00050 typedef boost::shared_ptr< ::camera_pose_calibration::CameraPose> CameraPosePtr;
00051 typedef boost::shared_ptr< ::camera_pose_calibration::CameraPose const> CameraPoseConstPtr;
00052
00053
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const ::camera_pose_calibration::CameraPose_<ContainerAllocator> & v)
00056 {
00057 ros::message_operations::Printer< ::camera_pose_calibration::CameraPose_<ContainerAllocator> >::stream(s, "", v);
00058 return s;}
00059
00060 }
00061
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::camera_pose_calibration::CameraPose_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::camera_pose_calibration::CameraPose_<ContainerAllocator> const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::camera_pose_calibration::CameraPose_<ContainerAllocator> > {
00070 static const char* value()
00071 {
00072 return "eb4c53d8c0c861e2c5d562bd921bb38e";
00073 }
00074
00075 static const char* value(const ::camera_pose_calibration::CameraPose_<ContainerAllocator> &) { return value(); }
00076 static const uint64_t static_value1 = 0xeb4c53d8c0c861e2ULL;
00077 static const uint64_t static_value2 = 0xc5d562bd921bb38eULL;
00078 };
00079
00080 template<class ContainerAllocator>
00081 struct DataType< ::camera_pose_calibration::CameraPose_<ContainerAllocator> > {
00082 static const char* value()
00083 {
00084 return "camera_pose_calibration/CameraPose";
00085 }
00086
00087 static const char* value(const ::camera_pose_calibration::CameraPose_<ContainerAllocator> &) { return value(); }
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct Definition< ::camera_pose_calibration::CameraPose_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "string camera_id\n\
00095 geometry_msgs/Pose pose\n\
00096 \n\
00097 ================================================================================\n\
00098 MSG: geometry_msgs/Pose\n\
00099 # A representation of pose in free space, composed of postion and orientation. \n\
00100 Point position\n\
00101 Quaternion orientation\n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: geometry_msgs/Point\n\
00105 # This contains the position of a point in free space\n\
00106 float64 x\n\
00107 float64 y\n\
00108 float64 z\n\
00109 \n\
00110 ================================================================================\n\
00111 MSG: geometry_msgs/Quaternion\n\
00112 # This represents an orientation in free space in quaternion form.\n\
00113 \n\
00114 float64 x\n\
00115 float64 y\n\
00116 float64 z\n\
00117 float64 w\n\
00118 \n\
00119 ";
00120 }
00121
00122 static const char* value(const ::camera_pose_calibration::CameraPose_<ContainerAllocator> &) { return value(); }
00123 };
00124
00125 }
00126 }
00127
00128 namespace ros
00129 {
00130 namespace serialization
00131 {
00132
00133 template<class ContainerAllocator> struct Serializer< ::camera_pose_calibration::CameraPose_<ContainerAllocator> >
00134 {
00135 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00136 {
00137 stream.next(m.camera_id);
00138 stream.next(m.pose);
00139 }
00140
00141 ROS_DECLARE_ALLINONE_SERIALIZER;
00142 };
00143 }
00144 }
00145
00146 namespace ros
00147 {
00148 namespace message_operations
00149 {
00150
00151 template<class ContainerAllocator>
00152 struct Printer< ::camera_pose_calibration::CameraPose_<ContainerAllocator> >
00153 {
00154 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::camera_pose_calibration::CameraPose_<ContainerAllocator> & v)
00155 {
00156 s << indent << "camera_id: ";
00157 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.camera_id);
00158 s << indent << "pose: ";
00159 s << std::endl;
00160 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00161 }
00162 };
00163
00164
00165 }
00166 }
00167
00168 #endif // CAMERA_POSE_CALIBRATION_MESSAGE_CAMERAPOSE_H
00169