$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_calibration/doc_stacks/2013-03-01_16-35-11.769043/pr2_calibration/calibration_msgs/msg/DenseLaserPoint.msg */ 00002 #ifndef CALIBRATION_MSGS_MESSAGE_DENSELASERPOINT_H 00003 #define CALIBRATION_MSGS_MESSAGE_DENSELASERPOINT_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 calibration_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct DenseLaserPoint_ { 00022 typedef DenseLaserPoint_<ContainerAllocator> Type; 00023 00024 DenseLaserPoint_() 00025 : scan(0.0) 00026 , ray(0.0) 00027 { 00028 } 00029 00030 DenseLaserPoint_(const ContainerAllocator& _alloc) 00031 : scan(0.0) 00032 , ray(0.0) 00033 { 00034 } 00035 00036 typedef double _scan_type; 00037 double scan; 00038 00039 typedef double _ray_type; 00040 double ray; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "calibration_msgs/DenseLaserPoint"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "12821677bc3daf8fabbb485d5b0cc027"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getMessageDefinition_() { return "# Stores the xy subpixel location of a point in a DenseLaserSnapshot\n\ 00059 float64 scan # Which scan line we detected the feature\n\ 00060 float64 ray # Which ray in the specified scan we detected the feature\n\ 00061 \n\ 00062 "; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00065 00066 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00067 00068 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00069 { 00070 ros::serialization::OStream stream(write_ptr, 1000000000); 00071 ros::serialization::serialize(stream, scan); 00072 ros::serialization::serialize(stream, ray); 00073 return stream.getData(); 00074 } 00075 00076 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00077 { 00078 ros::serialization::IStream stream(read_ptr, 1000000000); 00079 ros::serialization::deserialize(stream, scan); 00080 ros::serialization::deserialize(stream, ray); 00081 return stream.getData(); 00082 } 00083 00084 ROS_DEPRECATED virtual uint32_t serializationLength() const 00085 { 00086 uint32_t size = 0; 00087 size += ros::serialization::serializationLength(scan); 00088 size += ros::serialization::serializationLength(ray); 00089 return size; 00090 } 00091 00092 typedef boost::shared_ptr< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> > Ptr; 00093 typedef boost::shared_ptr< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> const> ConstPtr; 00094 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00095 }; // struct DenseLaserPoint 00096 typedef ::calibration_msgs::DenseLaserPoint_<std::allocator<void> > DenseLaserPoint; 00097 00098 typedef boost::shared_ptr< ::calibration_msgs::DenseLaserPoint> DenseLaserPointPtr; 00099 typedef boost::shared_ptr< ::calibration_msgs::DenseLaserPoint const> DenseLaserPointConstPtr; 00100 00101 00102 template<typename ContainerAllocator> 00103 std::ostream& operator<<(std::ostream& s, const ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> & v) 00104 { 00105 ros::message_operations::Printer< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> >::stream(s, "", v); 00106 return s;} 00107 00108 } // namespace calibration_msgs 00109 00110 namespace ros 00111 { 00112 namespace message_traits 00113 { 00114 template<class ContainerAllocator> struct IsMessage< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> > : public TrueType {}; 00115 template<class ContainerAllocator> struct IsMessage< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> const> : public TrueType {}; 00116 template<class ContainerAllocator> 00117 struct MD5Sum< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> > { 00118 static const char* value() 00119 { 00120 return "12821677bc3daf8fabbb485d5b0cc027"; 00121 } 00122 00123 static const char* value(const ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> &) { return value(); } 00124 static const uint64_t static_value1 = 0x12821677bc3daf8fULL; 00125 static const uint64_t static_value2 = 0xabbb485d5b0cc027ULL; 00126 }; 00127 00128 template<class ContainerAllocator> 00129 struct DataType< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> > { 00130 static const char* value() 00131 { 00132 return "calibration_msgs/DenseLaserPoint"; 00133 } 00134 00135 static const char* value(const ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> &) { return value(); } 00136 }; 00137 00138 template<class ContainerAllocator> 00139 struct Definition< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> > { 00140 static const char* value() 00141 { 00142 return "# Stores the xy subpixel location of a point in a DenseLaserSnapshot\n\ 00143 float64 scan # Which scan line we detected the feature\n\ 00144 float64 ray # Which ray in the specified scan we detected the feature\n\ 00145 \n\ 00146 "; 00147 } 00148 00149 static const char* value(const ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> &) { return value(); } 00150 }; 00151 00152 template<class ContainerAllocator> struct IsFixedSize< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> > : public TrueType {}; 00153 } // namespace message_traits 00154 } // namespace ros 00155 00156 namespace ros 00157 { 00158 namespace serialization 00159 { 00160 00161 template<class ContainerAllocator> struct Serializer< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> > 00162 { 00163 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00164 { 00165 stream.next(m.scan); 00166 stream.next(m.ray); 00167 } 00168 00169 ROS_DECLARE_ALLINONE_SERIALIZER; 00170 }; // struct DenseLaserPoint_ 00171 } // namespace serialization 00172 } // namespace ros 00173 00174 namespace ros 00175 { 00176 namespace message_operations 00177 { 00178 00179 template<class ContainerAllocator> 00180 struct Printer< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> > 00181 { 00182 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> & v) 00183 { 00184 s << indent << "scan: "; 00185 Printer<double>::stream(s, indent + " ", v.scan); 00186 s << indent << "ray: "; 00187 Printer<double>::stream(s, indent + " ", v.ray); 00188 } 00189 }; 00190 00191 00192 } // namespace message_operations 00193 } // namespace ros 00194 00195 #endif // CALIBRATION_MSGS_MESSAGE_DENSELASERPOINT_H 00196