|
|
#include <RobotAPI/libraries/armem/server/ltm/CoreSegment.h>
Inheritance diagram for CoreSegment:Public Member Functions | |
| CoreSegment (const std::string &exportName, const MemoryID &memoryId, const std::shared_ptr< Processors > &filters, const std::shared_ptr< persistence::MemoryPersistenceStrategy > &persistenceStrategy) | |
| std::shared_ptr< ProviderSegment > | findProviderSegment (const std::string &name) const override |
| find provider segment More... | |
| bool | forEachProviderSegment (std::function< void(ProviderSegment &)> func) const override |
| iterate over all provider segments of this ltm More... | |
| std::shared_ptr< persistence::MemoryPersistenceStrategy > | getPersistenceStrategy () const |
| bool | hasProviderSegment (const std::string &name) const override |
| check if provider segment exists More... | |
Public Member Functions inherited from CoreSegmentBase< ProviderSegment > | |
| aron::type::ObjectPtr | aronType () const |
| get aron type More... | |
| 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, use with caution More... | |
| void | loadLatestNReferences (int n, armem::wm::CoreSegment &coreSeg) |
| 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::CoreSegment &coreSeg) |
| convert the references of the input into a wm::Memory More... | |
| void | store (const armem::wm::CoreSegment &coreSeg, bool simulatedVersion) |
| encode the content of a wm::Memory and store More... | |
Public Member Functions inherited from MemoryItem | |
| 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 |
Protected Member Functions | |
| void | _loadAllReferences (armem::wm::CoreSegment &wmCoreSegment) override |
| void | _loadLatestNReferences (int n, armem::wm::CoreSegment &wmCoreSegment) override |
| void | _resolve (armem::wm::CoreSegment &wmCoreSegment) override |
| void | _store (const armem::wm::CoreSegment &wmCoreSegment, bool simulatedVersion) override |
Protected Member Functions inherited from MemoryItem | |
| virtual void | _setExportName (const std::string &) |
| virtual void | _setMemoryID (const MemoryID &) |
Additional Inherited Members | |
Public Types inherited from CoreSegmentBase< ProviderSegment > | |
| using | ProviderSegmentT = ProviderSegment |
Static Public Member Functions inherited from CoreSegmentBase< ProviderSegment > | |
| static std::string | getLevelName () |
| get level name More... | |
Protected Attributes inherited from CoreSegmentBase< ProviderSegment > | |
| std::recursive_mutex | ltm_mutex |
| Statistics | statistics |
Protected Attributes inherited from MemoryItem | |
| std::shared_ptr< Processors > | processors |
Definition at line 13 of file CoreSegment.h.
| CoreSegment | ( | const std::string & | exportName, |
| const MemoryID & | memoryId, | ||
| const std::shared_ptr< Processors > & | filters, | ||
| const std::shared_ptr< persistence::MemoryPersistenceStrategy > & | persistenceStrategy | ||
| ) |
Definition at line 14 of file CoreSegment.cpp.
|
overrideprotectedvirtual |
Implements CoreSegmentBase< ProviderSegment >.
Definition at line 83 of file CoreSegment.cpp.
Here is the call graph for this function:
|
overrideprotectedvirtual |
Implements CoreSegmentBase< ProviderSegment >.
Definition at line 133 of file CoreSegment.cpp.
Here is the call graph for this function:
|
overrideprotectedvirtual |
Implements CoreSegmentBase< ProviderSegment >.
Definition at line 175 of file CoreSegment.cpp.
Here is the call graph for this function:
|
overrideprotectedvirtual |
Implements CoreSegmentBase< ProviderSegment >.
Definition at line 200 of file CoreSegment.cpp.
Here is the call graph for this function:
|
overridevirtual |
find provider segment
Implements CoreSegmentBase< ProviderSegment >.
Definition at line 64 of file CoreSegment.cpp.
Here is the call graph for this function:
|
overridevirtual |
iterate over all provider segments of this ltm
Implements CoreSegmentBase< ProviderSegment >.
Definition at line 24 of file CoreSegment.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 26 of file CoreSegment.h.
|
overridevirtual |
check if provider segment exists
Implements CoreSegmentBase< ProviderSegment >.
Definition at line 54 of file CoreSegment.cpp.
Here is the caller graph for this function: