$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-camera_pose/doc_stacks/2013-03-01_14-27-38.801509/camera_pose/camera_pose_calibration/msg/CameraPose.msg */ 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 private: 00045 static const char* __s_getDataType_() { return "camera_pose_calibration/CameraPose"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "eb4c53d8c0c861e2c5d562bd921bb38e"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "string camera_id\n\ 00060 geometry_msgs/Pose pose\n\ 00061 \n\ 00062 ================================================================================\n\ 00063 MSG: geometry_msgs/Pose\n\ 00064 # A representation of pose in free space, composed of postion and orientation. \n\ 00065 Point position\n\ 00066 Quaternion orientation\n\ 00067 \n\ 00068 ================================================================================\n\ 00069 MSG: geometry_msgs/Point\n\ 00070 # This contains the position of a point in free space\n\ 00071 float64 x\n\ 00072 float64 y\n\ 00073 float64 z\n\ 00074 \n\ 00075 ================================================================================\n\ 00076 MSG: geometry_msgs/Quaternion\n\ 00077 # This represents an orientation in free space in quaternion form.\n\ 00078 \n\ 00079 float64 x\n\ 00080 float64 y\n\ 00081 float64 z\n\ 00082 float64 w\n\ 00083 \n\ 00084 "; } 00085 public: 00086 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00087 00088 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00089 00090 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00091 { 00092 ros::serialization::OStream stream(write_ptr, 1000000000); 00093 ros::serialization::serialize(stream, camera_id); 00094 ros::serialization::serialize(stream, pose); 00095 return stream.getData(); 00096 } 00097 00098 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00099 { 00100 ros::serialization::IStream stream(read_ptr, 1000000000); 00101 ros::serialization::deserialize(stream, camera_id); 00102 ros::serialization::deserialize(stream, pose); 00103 return stream.getData(); 00104 } 00105 00106 ROS_DEPRECATED virtual uint32_t serializationLength() const 00107 { 00108 uint32_t size = 0; 00109 size += ros::serialization::serializationLength(camera_id); 00110 size += ros::serialization::serializationLength(pose); 00111 return size; 00112 } 00113 00114 typedef boost::shared_ptr< ::camera_pose_calibration::CameraPose_<ContainerAllocator> > Ptr; 00115 typedef boost::shared_ptr< ::camera_pose_calibration::CameraPose_<ContainerAllocator> const> ConstPtr; 00116 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00117 }; // struct CameraPose 00118 typedef ::camera_pose_calibration::CameraPose_<std::allocator<void> > CameraPose; 00119 00120 typedef boost::shared_ptr< ::camera_pose_calibration::CameraPose> CameraPosePtr; 00121 typedef boost::shared_ptr< ::camera_pose_calibration::CameraPose const> CameraPoseConstPtr; 00122 00123 00124 template<typename ContainerAllocator> 00125 std::ostream& operator<<(std::ostream& s, const ::camera_pose_calibration::CameraPose_<ContainerAllocator> & v) 00126 { 00127 ros::message_operations::Printer< ::camera_pose_calibration::CameraPose_<ContainerAllocator> >::stream(s, "", v); 00128 return s;} 00129 00130 } // namespace camera_pose_calibration 00131 00132 namespace ros 00133 { 00134 namespace message_traits 00135 { 00136 template<class ContainerAllocator> struct IsMessage< ::camera_pose_calibration::CameraPose_<ContainerAllocator> > : public TrueType {}; 00137 template<class ContainerAllocator> struct IsMessage< ::camera_pose_calibration::CameraPose_<ContainerAllocator> const> : public TrueType {}; 00138 template<class ContainerAllocator> 00139 struct MD5Sum< ::camera_pose_calibration::CameraPose_<ContainerAllocator> > { 00140 static const char* value() 00141 { 00142 return "eb4c53d8c0c861e2c5d562bd921bb38e"; 00143 } 00144 00145 static const char* value(const ::camera_pose_calibration::CameraPose_<ContainerAllocator> &) { return value(); } 00146 static const uint64_t static_value1 = 0xeb4c53d8c0c861e2ULL; 00147 static const uint64_t static_value2 = 0xc5d562bd921bb38eULL; 00148 }; 00149 00150 template<class ContainerAllocator> 00151 struct DataType< ::camera_pose_calibration::CameraPose_<ContainerAllocator> > { 00152 static const char* value() 00153 { 00154 return "camera_pose_calibration/CameraPose"; 00155 } 00156 00157 static const char* value(const ::camera_pose_calibration::CameraPose_<ContainerAllocator> &) { return value(); } 00158 }; 00159 00160 template<class ContainerAllocator> 00161 struct Definition< ::camera_pose_calibration::CameraPose_<ContainerAllocator> > { 00162 static const char* value() 00163 { 00164 return "string camera_id\n\ 00165 geometry_msgs/Pose pose\n\ 00166 \n\ 00167 ================================================================================\n\ 00168 MSG: geometry_msgs/Pose\n\ 00169 # A representation of pose in free space, composed of postion and orientation. \n\ 00170 Point position\n\ 00171 Quaternion orientation\n\ 00172 \n\ 00173 ================================================================================\n\ 00174 MSG: geometry_msgs/Point\n\ 00175 # This contains the position of a point in free space\n\ 00176 float64 x\n\ 00177 float64 y\n\ 00178 float64 z\n\ 00179 \n\ 00180 ================================================================================\n\ 00181 MSG: geometry_msgs/Quaternion\n\ 00182 # This represents an orientation in free space in quaternion form.\n\ 00183 \n\ 00184 float64 x\n\ 00185 float64 y\n\ 00186 float64 z\n\ 00187 float64 w\n\ 00188 \n\ 00189 "; 00190 } 00191 00192 static const char* value(const ::camera_pose_calibration::CameraPose_<ContainerAllocator> &) { return value(); } 00193 }; 00194 00195 } // namespace message_traits 00196 } // namespace ros 00197 00198 namespace ros 00199 { 00200 namespace serialization 00201 { 00202 00203 template<class ContainerAllocator> struct Serializer< ::camera_pose_calibration::CameraPose_<ContainerAllocator> > 00204 { 00205 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00206 { 00207 stream.next(m.camera_id); 00208 stream.next(m.pose); 00209 } 00210 00211 ROS_DECLARE_ALLINONE_SERIALIZER; 00212 }; // struct CameraPose_ 00213 } // namespace serialization 00214 } // namespace ros 00215 00216 namespace ros 00217 { 00218 namespace message_operations 00219 { 00220 00221 template<class ContainerAllocator> 00222 struct Printer< ::camera_pose_calibration::CameraPose_<ContainerAllocator> > 00223 { 00224 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::camera_pose_calibration::CameraPose_<ContainerAllocator> & v) 00225 { 00226 s << indent << "camera_id: "; 00227 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.camera_id); 00228 s << indent << "pose: "; 00229 s << std::endl; 00230 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.pose); 00231 } 00232 }; 00233 00234 00235 } // namespace message_operations 00236 } // namespace ros 00237 00238 #endif // CAMERA_POSE_CALIBRATION_MESSAGE_CAMERAPOSE_H 00239