$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-vision_visp/doc_stacks/2013-03-02_14-13-07.148743/vision_visp/visp_camera_calibration/msg/CalibPoint.msg */ 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 private: 00059 static const char* __s_getDataType_() { return "visp_camera_calibration/CalibPoint"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00062 00063 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00064 00065 private: 00066 static const char* __s_getMD5Sum_() { return "9b9d41ff2127a593c07cec2a11858ac5"; } 00067 public: 00068 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00069 00070 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00071 00072 private: 00073 static const char* __s_getMessageDefinition_() { return "# a vpPoint\n\ 00074 \n\ 00075 int32 i\n\ 00076 int32 j\n\ 00077 float64 X\n\ 00078 float64 Y\n\ 00079 float64 Z\n\ 00080 \n\ 00081 \n\ 00082 "; } 00083 public: 00084 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00085 00086 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00087 00088 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00089 { 00090 ros::serialization::OStream stream(write_ptr, 1000000000); 00091 ros::serialization::serialize(stream, i); 00092 ros::serialization::serialize(stream, j); 00093 ros::serialization::serialize(stream, X); 00094 ros::serialization::serialize(stream, Y); 00095 ros::serialization::serialize(stream, Z); 00096 return stream.getData(); 00097 } 00098 00099 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00100 { 00101 ros::serialization::IStream stream(read_ptr, 1000000000); 00102 ros::serialization::deserialize(stream, i); 00103 ros::serialization::deserialize(stream, j); 00104 ros::serialization::deserialize(stream, X); 00105 ros::serialization::deserialize(stream, Y); 00106 ros::serialization::deserialize(stream, Z); 00107 return stream.getData(); 00108 } 00109 00110 ROS_DEPRECATED virtual uint32_t serializationLength() const 00111 { 00112 uint32_t size = 0; 00113 size += ros::serialization::serializationLength(i); 00114 size += ros::serialization::serializationLength(j); 00115 size += ros::serialization::serializationLength(X); 00116 size += ros::serialization::serializationLength(Y); 00117 size += ros::serialization::serializationLength(Z); 00118 return size; 00119 } 00120 00121 typedef boost::shared_ptr< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > Ptr; 00122 typedef boost::shared_ptr< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> const> ConstPtr; 00123 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00124 }; // struct CalibPoint 00125 typedef ::visp_camera_calibration::CalibPoint_<std::allocator<void> > CalibPoint; 00126 00127 typedef boost::shared_ptr< ::visp_camera_calibration::CalibPoint> CalibPointPtr; 00128 typedef boost::shared_ptr< ::visp_camera_calibration::CalibPoint const> CalibPointConstPtr; 00129 00130 00131 template<typename ContainerAllocator> 00132 std::ostream& operator<<(std::ostream& s, const ::visp_camera_calibration::CalibPoint_<ContainerAllocator> & v) 00133 { 00134 ros::message_operations::Printer< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> >::stream(s, "", v); 00135 return s;} 00136 00137 } // namespace visp_camera_calibration 00138 00139 namespace ros 00140 { 00141 namespace message_traits 00142 { 00143 template<class ContainerAllocator> struct IsMessage< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > : public TrueType {}; 00144 template<class ContainerAllocator> struct IsMessage< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> const> : public TrueType {}; 00145 template<class ContainerAllocator> 00146 struct MD5Sum< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > { 00147 static const char* value() 00148 { 00149 return "9b9d41ff2127a593c07cec2a11858ac5"; 00150 } 00151 00152 static const char* value(const ::visp_camera_calibration::CalibPoint_<ContainerAllocator> &) { return value(); } 00153 static const uint64_t static_value1 = 0x9b9d41ff2127a593ULL; 00154 static const uint64_t static_value2 = 0xc07cec2a11858ac5ULL; 00155 }; 00156 00157 template<class ContainerAllocator> 00158 struct DataType< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > { 00159 static const char* value() 00160 { 00161 return "visp_camera_calibration/CalibPoint"; 00162 } 00163 00164 static const char* value(const ::visp_camera_calibration::CalibPoint_<ContainerAllocator> &) { return value(); } 00165 }; 00166 00167 template<class ContainerAllocator> 00168 struct Definition< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > { 00169 static const char* value() 00170 { 00171 return "# a vpPoint\n\ 00172 \n\ 00173 int32 i\n\ 00174 int32 j\n\ 00175 float64 X\n\ 00176 float64 Y\n\ 00177 float64 Z\n\ 00178 \n\ 00179 \n\ 00180 "; 00181 } 00182 00183 static const char* value(const ::visp_camera_calibration::CalibPoint_<ContainerAllocator> &) { return value(); } 00184 }; 00185 00186 template<class ContainerAllocator> struct IsFixedSize< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > : public TrueType {}; 00187 } // namespace message_traits 00188 } // namespace ros 00189 00190 namespace ros 00191 { 00192 namespace serialization 00193 { 00194 00195 template<class ContainerAllocator> struct Serializer< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > 00196 { 00197 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00198 { 00199 stream.next(m.i); 00200 stream.next(m.j); 00201 stream.next(m.X); 00202 stream.next(m.Y); 00203 stream.next(m.Z); 00204 } 00205 00206 ROS_DECLARE_ALLINONE_SERIALIZER; 00207 }; // struct CalibPoint_ 00208 } // namespace serialization 00209 } // namespace ros 00210 00211 namespace ros 00212 { 00213 namespace message_operations 00214 { 00215 00216 template<class ContainerAllocator> 00217 struct Printer< ::visp_camera_calibration::CalibPoint_<ContainerAllocator> > 00218 { 00219 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::visp_camera_calibration::CalibPoint_<ContainerAllocator> & v) 00220 { 00221 s << indent << "i: "; 00222 Printer<int32_t>::stream(s, indent + " ", v.i); 00223 s << indent << "j: "; 00224 Printer<int32_t>::stream(s, indent + " ", v.j); 00225 s << indent << "X: "; 00226 Printer<double>::stream(s, indent + " ", v.X); 00227 s << indent << "Y: "; 00228 Printer<double>::stream(s, indent + " ", v.Y); 00229 s << indent << "Z: "; 00230 Printer<double>::stream(s, indent + " ", v.Z); 00231 } 00232 }; 00233 00234 00235 } // namespace message_operations 00236 } // namespace ros 00237 00238 #endif // VISP_CAMERA_CALIBRATION_MESSAGE_CALIBPOINT_H 00239