$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-tu-darmstadt-ros-pkg/doc_stacks/2013-03-05_12-22-58.304137/hector_slam/hector_mapping/msg/HectorDebugInfo.msg */ 00002 #ifndef HECTOR_MAPPING_MESSAGE_HECTORDEBUGINFO_H 00003 #define HECTOR_MAPPING_MESSAGE_HECTORDEBUGINFO_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 "hector_mapping/HectorIterData.h" 00018 00019 namespace hector_mapping 00020 { 00021 template <class ContainerAllocator> 00022 struct HectorDebugInfo_ { 00023 typedef HectorDebugInfo_<ContainerAllocator> Type; 00024 00025 HectorDebugInfo_() 00026 : iterData() 00027 { 00028 } 00029 00030 HectorDebugInfo_(const ContainerAllocator& _alloc) 00031 : iterData(_alloc) 00032 { 00033 } 00034 00035 typedef std::vector< ::hector_mapping::HectorIterData_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hector_mapping::HectorIterData_<ContainerAllocator> >::other > _iterData_type; 00036 std::vector< ::hector_mapping::HectorIterData_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hector_mapping::HectorIterData_<ContainerAllocator> >::other > iterData; 00037 00038 00039 ROS_DEPRECATED uint32_t get_iterData_size() const { return (uint32_t)iterData.size(); } 00040 ROS_DEPRECATED void set_iterData_size(uint32_t size) { iterData.resize((size_t)size); } 00041 ROS_DEPRECATED void get_iterData_vec(std::vector< ::hector_mapping::HectorIterData_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hector_mapping::HectorIterData_<ContainerAllocator> >::other > & vec) const { vec = this->iterData; } 00042 ROS_DEPRECATED void set_iterData_vec(const std::vector< ::hector_mapping::HectorIterData_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hector_mapping::HectorIterData_<ContainerAllocator> >::other > & vec) { this->iterData = vec; } 00043 private: 00044 static const char* __s_getDataType_() { return "hector_mapping/HectorDebugInfo"; } 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 "4d33c0696c0c536f5c1447c260756674"; } 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 "HectorIterData[] iterData\n\ 00059 ================================================================================\n\ 00060 MSG: hector_mapping/HectorIterData\n\ 00061 float64[9] hessian\n\ 00062 float64 conditionNum\n\ 00063 float64 determinant\n\ 00064 float64 conditionNum2d\n\ 00065 float64 determinant2d\n\ 00066 \n\ 00067 "; } 00068 public: 00069 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00070 00071 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00072 00073 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00074 { 00075 ros::serialization::OStream stream(write_ptr, 1000000000); 00076 ros::serialization::serialize(stream, iterData); 00077 return stream.getData(); 00078 } 00079 00080 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00081 { 00082 ros::serialization::IStream stream(read_ptr, 1000000000); 00083 ros::serialization::deserialize(stream, iterData); 00084 return stream.getData(); 00085 } 00086 00087 ROS_DEPRECATED virtual uint32_t serializationLength() const 00088 { 00089 uint32_t size = 0; 00090 size += ros::serialization::serializationLength(iterData); 00091 return size; 00092 } 00093 00094 typedef boost::shared_ptr< ::hector_mapping::HectorDebugInfo_<ContainerAllocator> > Ptr; 00095 typedef boost::shared_ptr< ::hector_mapping::HectorDebugInfo_<ContainerAllocator> const> ConstPtr; 00096 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00097 }; // struct HectorDebugInfo 00098 typedef ::hector_mapping::HectorDebugInfo_<std::allocator<void> > HectorDebugInfo; 00099 00100 typedef boost::shared_ptr< ::hector_mapping::HectorDebugInfo> HectorDebugInfoPtr; 00101 typedef boost::shared_ptr< ::hector_mapping::HectorDebugInfo const> HectorDebugInfoConstPtr; 00102 00103 00104 template<typename ContainerAllocator> 00105 std::ostream& operator<<(std::ostream& s, const ::hector_mapping::HectorDebugInfo_<ContainerAllocator> & v) 00106 { 00107 ros::message_operations::Printer< ::hector_mapping::HectorDebugInfo_<ContainerAllocator> >::stream(s, "", v); 00108 return s;} 00109 00110 } // namespace hector_mapping 00111 00112 namespace ros 00113 { 00114 namespace message_traits 00115 { 00116 template<class ContainerAllocator> struct IsMessage< ::hector_mapping::HectorDebugInfo_<ContainerAllocator> > : public TrueType {}; 00117 template<class ContainerAllocator> struct IsMessage< ::hector_mapping::HectorDebugInfo_<ContainerAllocator> const> : public TrueType {}; 00118 template<class ContainerAllocator> 00119 struct MD5Sum< ::hector_mapping::HectorDebugInfo_<ContainerAllocator> > { 00120 static const char* value() 00121 { 00122 return "4d33c0696c0c536f5c1447c260756674"; 00123 } 00124 00125 static const char* value(const ::hector_mapping::HectorDebugInfo_<ContainerAllocator> &) { return value(); } 00126 static const uint64_t static_value1 = 0x4d33c0696c0c536fULL; 00127 static const uint64_t static_value2 = 0x5c1447c260756674ULL; 00128 }; 00129 00130 template<class ContainerAllocator> 00131 struct DataType< ::hector_mapping::HectorDebugInfo_<ContainerAllocator> > { 00132 static const char* value() 00133 { 00134 return "hector_mapping/HectorDebugInfo"; 00135 } 00136 00137 static const char* value(const ::hector_mapping::HectorDebugInfo_<ContainerAllocator> &) { return value(); } 00138 }; 00139 00140 template<class ContainerAllocator> 00141 struct Definition< ::hector_mapping::HectorDebugInfo_<ContainerAllocator> > { 00142 static const char* value() 00143 { 00144 return "HectorIterData[] iterData\n\ 00145 ================================================================================\n\ 00146 MSG: hector_mapping/HectorIterData\n\ 00147 float64[9] hessian\n\ 00148 float64 conditionNum\n\ 00149 float64 determinant\n\ 00150 float64 conditionNum2d\n\ 00151 float64 determinant2d\n\ 00152 \n\ 00153 "; 00154 } 00155 00156 static const char* value(const ::hector_mapping::HectorDebugInfo_<ContainerAllocator> &) { return value(); } 00157 }; 00158 00159 } // namespace message_traits 00160 } // namespace ros 00161 00162 namespace ros 00163 { 00164 namespace serialization 00165 { 00166 00167 template<class ContainerAllocator> struct Serializer< ::hector_mapping::HectorDebugInfo_<ContainerAllocator> > 00168 { 00169 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00170 { 00171 stream.next(m.iterData); 00172 } 00173 00174 ROS_DECLARE_ALLINONE_SERIALIZER; 00175 }; // struct HectorDebugInfo_ 00176 } // namespace serialization 00177 } // namespace ros 00178 00179 namespace ros 00180 { 00181 namespace message_operations 00182 { 00183 00184 template<class ContainerAllocator> 00185 struct Printer< ::hector_mapping::HectorDebugInfo_<ContainerAllocator> > 00186 { 00187 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::hector_mapping::HectorDebugInfo_<ContainerAllocator> & v) 00188 { 00189 s << indent << "iterData[]" << std::endl; 00190 for (size_t i = 0; i < v.iterData.size(); ++i) 00191 { 00192 s << indent << " iterData[" << i << "]: "; 00193 s << std::endl; 00194 s << indent; 00195 Printer< ::hector_mapping::HectorIterData_<ContainerAllocator> >::stream(s, indent + " ", v.iterData[i]); 00196 } 00197 } 00198 }; 00199 00200 00201 } // namespace message_operations 00202 } // namespace ros 00203 00204 #endif // HECTOR_MAPPING_MESSAGE_HECTORDEBUGINFO_H 00205