|
virtual std::shared_ptr< EntitySnapshotT > | findFirstSnapshotAfter (const Time &time) const =0 |
|
virtual std::shared_ptr< EntitySnapshotT > | findFirstSnapshotAfterOrAt (const Time &time) const =0 |
|
virtual std::shared_ptr< EntitySnapshotT > | findLatestSnapshot () const =0 |
|
virtual std::shared_ptr< EntitySnapshotT > | findLatestSnapshotBefore (const Time &time) const =0 |
|
virtual std::shared_ptr< EntitySnapshotT > | findLatestSnapshotBeforeOrAt (const Time &time) const =0 |
|
virtual std::shared_ptr< EntitySnapshotT > | findSnapshot (const Time &) const =0 |
| find entity snapshot segment More...
|
|
virtual bool | forEachSnapshot (std::function< void(EntitySnapshotT &)> func) const =0 |
| iterate over all entity snapshots of this ltm More...
|
|
virtual bool | forEachSnapshotBefore (const Time &time, std::function< void(EntitySnapshotT &)> func) const =0 |
|
virtual bool | forEachSnapshotBeforeOrAt (const Time &time, std::function< void(EntitySnapshotT &)> func) const =0 |
|
virtual bool | forEachSnapshotInIndexRange (long first, long last, std::function< void(EntitySnapshotT &)> func) const =0 |
|
virtual bool | forEachSnapshotInTimeRange (const Time &min, const Time &max, std::function< void(EntitySnapshotT &)> func) const =0 |
|
Statistics | getStatistics () const |
|
virtual bool | hasSnapshot (const Time &) const =0 |
| check if snapshot segment exists More...
|
|
void | loadAllReferences (armem::wm::Entity &e) |
| return the full sub-ltm as a wm::Entity with only references the ltm may be huge, use with caution More...
|
|
void | loadLatestNReferences (int n, armem::wm::Entity &e) |
|
| MemoryItem (const std::string &exportName, const MemoryID &) |
|
| MemoryItem (const std::string &exportName, const MemoryID &, const std::shared_ptr< Processors > &) |
|
void | resetStatistics () |
| statistics More...
|
|
void | resolve (armem::wm::Entity &e) |
| convert the references of the input into a wm::Memory More...
|
|
void | store (const armem::wm::Entity &e) |
| encode the content of a wm::Memory and store More...
|
|
virtual std::string | getExportName () const |
|
MemoryID | getMemoryID () const |
|
MemoryID | id () const |
|
| MemoryItem (const std::string &exportName, const MemoryID &) |
|
| MemoryItem (const std::string &exportName, const MemoryID &, const std::shared_ptr< Processors > &) |
|
std::string | name () const |
|
void | setExportName (const std::string &n) |
|
void | setMemoryID (const MemoryID &) |
|
void | setMemoryName (const std::string &memoryName) |
|
virtual | ~MemoryItem ()=default |
|
template<class _EntitySnapshotT>
class armarx::armem::server::ltm::detail::EntityBase< _EntitySnapshotT >
Interface functions for the longterm memory classes.
Definition at line 17 of file EntityBase.h.