Go to the documentation of this file.
24 const std::shared_ptr<Processors>&);
43 std::shared_ptr<EntitySnapshot>
bool forEachSnapshotBefore(const Time &time, std::function< void(EntitySnapshot &)> func) const override
std::shared_ptr< EntitySnapshot > findLatestSnapshotBefore(const Time &time) const override
void _resolve(armem::wm::Entity &) override
void _loadLatestNReferences(int n, armem::wm::Entity &e) override
std::shared_ptr< EntitySnapshot > findFirstSnapshotAfterOrAt(const Time &time) const override
A memory storing data in mongodb (needs 'armarx memory start' to start the mongod instance)
std::vector< T > max(const std::vector< T > &v1, const std::vector< T > &v2)
std::shared_ptr< EntitySnapshot > findFirstSnapshotAfter(const Time &time) const override
bool forEachSnapshot(std::function< void(EntitySnapshot &)> func) const override
iterate over all entity snapshots of this ltm
bool hasSnapshot(const Time &) const override
check if snapshot segment exists
bool forEachSnapshotInTimeRange(const Time &min, const Time &max, std::function< void(EntitySnapshot &)> func) const override
std::shared_ptr< EntitySnapshot > findSnapshot(const Time &) const override
find entity snapshot segment
bool forEachSnapshotBeforeOrAt(const Time &time, std::function< void(EntitySnapshot &)> func) const override
void _store(const armem::wm::Entity &) override
Entity(const detail::mixin::Path &, const detail::mixin::MongoDBSettings &, const std::string &, const MemoryID &id, const std::shared_ptr< Processors > &)
void _loadAllReferences(armem::wm::Entity &) override
Represents a point in time.
Interface functions for the longterm memory classes.
bool forEachSnapshotInIndexRange(long first, long last, std::function< void(EntitySnapshot &)> func) const override
std::vector< T > min(const std::vector< T > &v1, const std::vector< T > &v2)
std::shared_ptr< EntitySnapshot > findLatestSnapshot() const override
std::shared_ptr< EntitySnapshot > findLatestSnapshotBeforeOrAt(const Time &time) const override
std::filesystem::path Path
Client-side working memory entity.