Interface functions for the longterm memory classes.
virtual void _loadAllReferences(armem::wm::EntitySnapshot &) const =0
Client-side working entity instance.
virtual void _resolve(armem::wm::EntityInstance &) const =0
void resetStatistics()
statistics
Statistics getStatistics() const
MemoryItem(const std::string &exportName, const MemoryID &)
virtual nlohmann::json _store(const armem::wm::EntityInstance &)=0
std::recursive_mutex ltm_mutex
nlohmann::json store(const armem::wm::EntityInstance &e)
encode the content of a wm::Memory and store
Client-side working memory entity snapshot.
void resolve(armem::wm::EntityInstance &e) const
convert the references of the input into a wm::Memory
Interface functions for the longterm memory classes.
void loadAllReferences(armem::wm::EntitySnapshot &e) const
return the full sub-ltm as a wm::EntitySnapshot with only references the ltm may be huge,...
static std::string getLevelName()