#include <RobotAPI/libraries/armem/server/ltm/EntitySnapshot.h>
|
| | EntitySnapshot (const std::string &exportName, const MemoryID &memoryId, const std::shared_ptr< Processors > &filters, const std::shared_ptr< persistence::MemoryPersistenceStrategy > &persistenceStrategy) |
| |
| std::shared_ptr< EntityInstance > | findInstance (const int instanceId) const |
| | find Instance segment
|
| |
| bool | forEachInstance (std::function< void(EntityInstance &)> func) const |
| | iterate over all Instance segments of this ltm
|
| |
| Statistics | getStatistics () const |
| |
| bool | hasInstance (const int instanceId) const |
| | check if Instance segment exists
|
| |
| void | loadAllReferences (armem::wm::EntitySnapshot &e) const |
| | return the full sub-ltm as a wm::EntitySnapshot with only references the ltm may be huge, use with caution
|
| |
| | MemoryItem (const std::string &exportName, const MemoryID &) |
| |
| | MemoryItem (const std::string &exportName, const MemoryID &) |
| |
| | MemoryItem (const std::string &exportName, const MemoryID &, const std::shared_ptr< Processors > &) |
| |
| | MemoryItem (const std::string &exportName, const MemoryID &, const std::shared_ptr< Processors > &) |
| |
| void | resetStatistics () |
| | statistics
|
| |
| void | resolve (armem::wm::EntitySnapshot &e) const |
| | convert the references of the input into a wm::Memory
|
| |
| void | store (const armem::wm::EntitySnapshot &e) |
| | encode the content of a wm::Memory and store
|
| |
| 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 |
| |
Definition at line 14 of file EntitySnapshot.h.
◆ EntitySnapshot()
◆ _implFindInstance()
| std::shared_ptr< EntityInstance > _implFindInstance |
( |
const int | entityInstanceIndex | ) |
const |
|
overrideprotectedvirtual |
◆ _implForEachInstance()
| bool _implForEachInstance |
( |
std::function< void(EntityInstance &)> | func | ) |
const |
|
overrideprotectedvirtual |
◆ _implHasInstance()
| bool _implHasInstance |
( |
const int | entityInstanceIndex | ) |
const |
|
overrideprotectedvirtual |
◆ _loadAllReferences()
◆ _resolve()
◆ _store()
The documentation for this class was generated from the following files: