Go to the documentation of this file.
16 template <
class _Prov
iderSegmentT>
78 virtual std::shared_ptr<ProviderSegmentT>
findProviderSegment(
const std::string&)
const = 0;
91 return "LT-CoreSegment";
std::recursive_mutex ltm_mutex
MemoryItem(const std::string &exportName, const MemoryID &)
_ProviderSegmentT ProviderSegmentT
void resolve(armem::wm::CoreSegment &coreSeg)
convert the references of the input into a wm::Memory
virtual void _resolve(armem::wm::CoreSegment &)=0
Interface functions for the longterm memory classes.
Client-side working memory core segment.
virtual bool hasProviderSegment(const std::string &) const =0
check if provider segment exists
virtual void _loadAllReferences(armem::wm::CoreSegment &)=0
virtual bool forEachProviderSegment(std::function< void(ProviderSegmentT &)> func) const =0
iterate over all provider segments of this ltm
Statistics getStatistics() const
void loadAllReferences(armem::wm::CoreSegment &coreSeg)
return the full sub-ltm as a wm::CoreSegment with only references the ltm may be huge,...
long recordedProviderSegments
aron::type::ObjectPtr aronType() const
get aron type
virtual std::shared_ptr< ProviderSegmentT > findProviderSegment(const std::string &) const =0
find provider segment
std::shared_ptr< Object > ObjectPtr
void loadLatestNReferences(int n, armem::wm::CoreSegment &coreSeg)
virtual void _loadLatestNReferences(int n, armem::wm::CoreSegment &c)=0
Interface functions for the longterm memory classes.
void store(const armem::wm::CoreSegment &coreSeg)
encode the content of a wm::Memory and store
virtual void _store(const armem::wm::CoreSegment &)=0
void resetStatistics()
statistics
static std::string getLevelName()
get level name