A set of hypothesis IDs, used for arcs and nodes in multi-hypothesis hybrid maps.
- See also
- THypothesisID, CHierarchicalMHMap
Definition at line 78 of file HMT_SLAM_common.h.
#include <mrpt/hmtslam/HMT_SLAM_common.h>
|
|
void | writeToStream (mrpt::utils::CStream &out, int *getVersion) const override |
| Introduces a pure virtual method responsible for writing to a CStream. More...
|
|
void | readFromStream (mrpt::utils::CStream &in, int version) override |
| Introduces a pure virtual method responsible for loading from a CStream This can not be used directly be users, instead use "stream >> object;" for reading it from a stream or "stream >> object_ptr;" if the class is unknown apriori. More...
|
|
◆ ConstPtr
◆ Ptr
◆ THypothesisIDSet() [1/2]
mrpt::hmtslam::THypothesisIDSet::THypothesisIDSet |
( |
| ) |
|
|
inline |
◆ THypothesisIDSet() [2/2]
mrpt::hmtslam::THypothesisIDSet::THypothesisIDSet |
( |
const THypothesisID & |
val | ) |
|
|
inline |
◆ ~THypothesisIDSet()
virtual mrpt::hmtslam::THypothesisIDSet::~THypothesisIDSet |
( |
| ) |
|
|
inlinevirtual |
◆ _GetBaseClass()
◆ clone()
Returns a deep copy (clone) of the object, indepently of its class.
Implements mrpt::utils::CObject.
◆ Create()
template<typename... Args>
static Ptr mrpt::hmtslam::THypothesisIDSet::Create |
( |
Args &&... |
args | ) |
|
|
inlinestatic |
◆ CreateObject()
◆ debugDump()
void mrpt::hmtslam::THypothesisIDSet::debugDump |
( |
| ) |
const |
◆ GetRuntimeClass()
◆ GetRuntimeClassIdStatic()
◆ has()
bool mrpt::hmtslam::THypothesisIDSet::has |
( |
const THypothesisID & |
val | ) |
const |
|
inline |
◆ operator delete() [1/3]
void mrpt::hmtslam::THypothesisIDSet::operator delete |
( |
void * |
ptr | ) |
|
|
inlinenoexcept |
◆ operator delete() [2/3]
void mrpt::hmtslam::THypothesisIDSet::operator delete |
( |
void * |
memory, |
|
|
void * |
ptr |
|
) |
| |
|
inlinenoexcept |
◆ operator delete() [3/3]
void mrpt::hmtslam::THypothesisIDSet::operator delete |
( |
void * |
ptr, |
|
|
const std::nothrow_t & |
|
|
) |
| |
|
inlinenoexcept |
◆ operator delete[]()
void mrpt::hmtslam::THypothesisIDSet::operator delete[] |
( |
void * |
ptr | ) |
|
|
inlinenoexcept |
◆ operator new() [1/3]
void* mrpt::hmtslam::THypothesisIDSet::operator new |
( |
size_t |
size | ) |
|
|
inline |
◆ operator new() [2/3]
static void* mrpt::hmtslam::THypothesisIDSet::operator new |
( |
size_t |
size, |
|
|
void * |
ptr |
|
) |
| |
|
inlinestatic |
◆ operator new() [3/3]
void* mrpt::hmtslam::THypothesisIDSet::operator new |
( |
size_t |
size, |
|
|
const std::nothrow_t & |
|
|
) |
| |
|
inlinenoexcept |
◆ operator new[]()
void* mrpt::hmtslam::THypothesisIDSet::operator new[] |
( |
size_t |
size | ) |
|
|
inline |
◆ readFromStream()
Introduces a pure virtual method responsible for loading from a CStream This can not be used directly be users, instead use "stream >> object;" for reading it from a stream or "stream >> object_ptr;" if the class is unknown apriori.
- Parameters
-
in | The input binary stream where the object data must read from. |
version | The version of the object stored in the stream: use this version number in your code to know how to read the incoming data. |
- Exceptions
-
std::exception | On any error, see CStream::ReadBuffer |
- See also
- CStream
Implements mrpt::utils::CSerializable.
Definition at line 40 of file THypothesisIDSet.cpp.
References mrpt::utils::clear(), and MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION.
◆ writeToMatlab()
virtual mxArray* mrpt::utils::CSerializable::writeToMatlab |
( |
| ) |
const |
|
inlinevirtualinherited |
Introduces a pure virtual method responsible for writing to a mxArray
Matlab object, typically a MATLAB struct
whose contents are documented in each derived class.
- Returns
- A new
mxArray
(caller is responsible of memory freeing) or nullptr is class does not support conversion to MATLAB.
Definition at line 89 of file CSerializable.h.
◆ writeToStream()
Introduces a pure virtual method responsible for writing to a CStream.
This can not be used directly be users, instead use "stream << object;" for writing it to a stream.
- Parameters
-
out | The output binary stream where object must be dumped. |
getVersion | If nullptr, the object must be dumped. If not, only the version of the object dump must be returned in this pointer. This enables the versioning of objects dumping and backward compatibility with previously stored data. |
- Exceptions
-
std::exception | On any error, see CStream::WriteBuffer |
- See also
- CStream
Implements mrpt::utils::CSerializable.
Definition at line 22 of file THypothesisIDSet.cpp.
References begin().
◆ _init_THypothesisIDSet
◆ className
constexpr const char* mrpt::hmtslam::THypothesisIDSet::className = "THypothesisIDSet" |
|
static |
◆ keys
◆ runtimeClassId