Main MRPT website > C++ reference for MRPT 1.4.0
List of all members | Public Member Functions | Public Attributes
mrpt::hmtslam::THypothesisIDSet Class Reference

Detailed Description

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>

Inheritance diagram for mrpt::hmtslam::THypothesisIDSet:
Inheritance graph

Public Member Functions

 THypothesisIDSet ()
 Default constructor. More...
 
 THypothesisIDSet (const THypothesisID &val)
 Constructor with one initial element. More...
 
virtual ~THypothesisIDSet ()
 
bool has (const THypothesisID &val) const
 Returns true if the hypothesis is into the set. More...
 
void debugDump () const
 Dump to console. More...
 

Public Attributes

K keys
 STL member. More...
 

Protected Member Functions

CSerializable virtual methods
void writeToStream (mrpt::utils::CStream &out, int *getVersion) const MRPT_OVERRIDE
 
void readFromStream (mrpt::utils::CStream &in, int version) MRPT_OVERRIDE
 

RTTI stuff <br>

typedef THypothesisIDSetPtr SmartPtr
 
static mrpt::utils::CLASSINIT _init_THypothesisIDSet
 
static mrpt::utils::TRuntimeClassId classTHypothesisIDSet
 
static const mrpt::utils::TRuntimeClassId * classinfo
 
static const mrpt::utils::TRuntimeClassId * _GetBaseClass ()
 
virtual const mrpt::utils::TRuntimeClassId * GetRuntimeClass () const MRPT_OVERRIDE
 
virtual mrpt::utils::CObject * duplicate () const MRPT_OVERRIDE
 
static mrpt::utils::CObject * CreateObject ()
 
static THypothesisIDSetPtr Create ()
 

Member Typedef Documentation

◆ SmartPtr

A typedef for the associated smart pointer

Definition at line 81 of file HMT_SLAM_common.h.

Constructor & Destructor Documentation

◆ THypothesisIDSet() [1/2]

mrpt::hmtslam::THypothesisIDSet::THypothesisIDSet ( )
inline

Default constructor.

Definition at line 86 of file HMT_SLAM_common.h.

◆ THypothesisIDSet() [2/2]

mrpt::hmtslam::THypothesisIDSet::THypothesisIDSet ( const THypothesisID &  val)
inline

Constructor with one initial element.

Definition at line 92 of file HMT_SLAM_common.h.

◆ ~THypothesisIDSet()

virtual mrpt::hmtslam::THypothesisIDSet::~THypothesisIDSet ( )
inlinevirtual

Definition at line 97 of file HMT_SLAM_common.h.

Member Function Documentation

◆ _GetBaseClass()

static const mrpt::utils::TRuntimeClassId * mrpt::hmtslam::THypothesisIDSet::_GetBaseClass ( )
staticprotected

◆ Create()

static THypothesisIDSetPtr mrpt::hmtslam::THypothesisIDSet::Create ( )
static

◆ CreateObject()

static mrpt::utils::CObject * mrpt::hmtslam::THypothesisIDSet::CreateObject ( )
static

◆ debugDump()

void mrpt::hmtslam::THypothesisIDSet::debugDump ( ) const

Dump to console.

◆ duplicate()

virtual mrpt::utils::CObject * mrpt::hmtslam::THypothesisIDSet::duplicate ( ) const
virtual

◆ GetRuntimeClass()

virtual const mrpt::utils::TRuntimeClassId * mrpt::hmtslam::THypothesisIDSet::GetRuntimeClass ( ) const
virtual

◆ has()

bool mrpt::hmtslam::THypothesisIDSet::has ( const THypothesisID &  val) const
inline

Returns true if the hypothesis is into the set.

Definition at line 103 of file HMT_SLAM_common.h.

References COMMON_TOPOLOG_HYP, and end().

◆ readFromStream()

void mrpt::hmtslam::THypothesisIDSet::readFromStream ( mrpt::utils::CStream &  in,
int  version 
)
protected

◆ writeToStream()

void mrpt::hmtslam::THypothesisIDSet::writeToStream ( mrpt::utils::CStream &  out,
int *  getVersion 
) const
protected

Member Data Documentation

◆ _init_THypothesisIDSet

mrpt::utils::CLASSINIT mrpt::hmtslam::THypothesisIDSet::_init_THypothesisIDSet
staticprotected

Definition at line 81 of file HMT_SLAM_common.h.

◆ classinfo

const mrpt::utils::TRuntimeClassId* mrpt::hmtslam::THypothesisIDSet::classinfo
static

Definition at line 81 of file HMT_SLAM_common.h.

◆ classTHypothesisIDSet

mrpt::utils::TRuntimeClassId mrpt::hmtslam::THypothesisIDSet::classTHypothesisIDSet
static

Definition at line 81 of file HMT_SLAM_common.h.

◆ keys

K std::set< K >::keys
inherited

STL member.




Page generated by Doxygen 1.9.5 for MRPT 1.4.0 SVN: at Sun Nov 27 02:56:26 UTC 2022