Class EntityBase

Inheritance Relationships

Base Type

  • public mrpt::serialization::CSerializable

Derived Types

Class Documentation

class EntityBase : public mrpt::serialization::CSerializable

Base class for all “entities” in the world model

Subclassed by mola::EntityRelativeBase, mola::LandmarkPoint3, mola::RefPose3

Public Functions

EntityBase()
virtual ~EntityBase()
void load()
void unload()
bool is_unloaded() const

Public Members

mola::id_t my_id_ = {mola::INVALID_ID}

The unique ID of this entity in the world model. Stored here for convenience, notice that it is redundant since entities are already stored in the WorldModel indexed by ID.

mrpt::Clock::time_point timestamp_ = {}

Entity creation timestamp

annotations_data_t annotations_

See annotations_data_t

Protected Functions

void baseSerializeTo(mrpt::serialization::CArchive &out) const
void baseSerializeFrom(mrpt::serialization::CArchive &in)