|
CoreSegmentT & | addCoreSegment (const CoreSegmentT &coreSegment) |
| Copy and insert a core segment. More...
|
|
template<class... Args> |
CoreSegmentT & | addCoreSegment (const std::string &name, Args... args) |
| Move and insert a core segment. More...
|
|
CoreSegmentT & | addCoreSegment (const std::string &name, aron::type::ObjectPtr coreSegmentType=nullptr, const std::vector< PredictionEngine > &predictionEngines={}) |
| Add an empty core segment with the given name, type and prediction engines. More...
|
|
CoreSegmentT & | addCoreSegment (CoreSegmentT &&coreSegment) |
| Move and insert a core segment. More...
|
|
template<class OtherDerivedT > |
void | append (const OtherDerivedT &other) |
| Merge another memory into this one. More...
|
|
bool | equalsDeep (const MemoryBase &other) const |
|
CoreSegmentT * | findCoreSegment (const MemoryID &coreSegmentID) |
|
const CoreSegmentT * | findCoreSegment (const MemoryID &coreSegmentID) const |
|
CoreSegmentT * | findCoreSegment (const std::string &name) |
|
const CoreSegmentT * | findCoreSegment (const std::string &name) const |
|
template<class CoreSegmentFunctionT > |
bool | forEachCoreSegment (CoreSegmentFunctionT &&func) |
|
template<class CoreSegmentFunctionT > |
bool | forEachCoreSegment (CoreSegmentFunctionT &&func) const |
|
template<class InstanceFunctionT > |
bool | forEachInstanceIn (const MemoryID &id, InstanceFunctionT &&func) |
|
template<class InstanceFunctionT > |
bool | forEachInstanceIn (const MemoryID &id, InstanceFunctionT &&func) const |
|
CoreSegmentT & | getCoreSegment (const MemoryID &coreSegmentID) |
|
const CoreSegmentT & | getCoreSegment (const MemoryID &coreSegmentID) const |
|
CoreSegmentT & | getCoreSegment (const std::string &name) |
|
const CoreSegmentT & | getCoreSegment (const std::string &name) const |
|
std::vector< std::string > | getCoreSegmentNames () const |
|
std::string | getKeyString () const |
|
bool | hasCoreSegment (const MemoryID &coreSegmentID) const |
|
bool | hasCoreSegment (const std::string &name) const |
|
| MemoryBase () |
|
| MemoryBase (const MemoryBase &other)=default |
|
| MemoryBase (const MemoryID &id, const std::vector< PredictionEngine > &predictionEngines={}) |
|
| MemoryBase (const std::string &name, const std::vector< PredictionEngine > &predictionEngines={}) |
|
| MemoryBase (MemoryBase &&other)=default |
|
std::string & | name () |
|
const std::string & | name () const |
|
MemoryBase & | operator= (const MemoryBase &other)=default |
|
MemoryBase & | operator= (MemoryBase &&other)=default |
|
void | setName (const std::string &name) |
|
std::vector< UpdateResult > | update (const Commit &commit, const bool addMissingCoreSegmentDuringUpdate=false, const bool checkMemoryName=true) |
| Store all updates in commit . More...
|
|
UpdateResult | update (const EntityUpdate &update, const bool addMissingCoreSegmentDuringUpdate=false, const bool checkMemoryName=true) |
| Store the given update. More...
|
|
ContainerT::iterator | begin () |
|
ContainerT::const_iterator | begin () const |
|
void | clear () |
|
bool | empty () const |
|
ContainerT::iterator | end () |
|
ContainerT::const_iterator | end () const |
|
bool | forEachChild (ChildFunctionT &&func) |
|
bool | forEachChild (ChildFunctionT &&func) const |
|
| MemoryContainerBase () |
|
| MemoryContainerBase (const MemoryContainerBase &other)=default |
|
| MemoryContainerBase (const MemoryID &id) |
|
| MemoryContainerBase (MemoryContainerBase &&other)=default |
|
MemoryContainerBase & | operator= (const MemoryContainerBase &other)=default |
|
MemoryContainerBase & | operator= (MemoryContainerBase &&other)=default |
|
std::size_t | size () const |
|
MemoryID & | id () |
|
const MemoryID & | id () const |
|
| MemoryItem () |
|
| MemoryItem (const MemoryID &id) |
|
| MemoryItem (const MemoryItem &other)=default |
|
| MemoryItem (MemoryItem &&other)=default |
|
MemoryItem & | operator= (const MemoryItem &other)=default |
|
MemoryItem & | operator= (MemoryItem &&other)=default |
|
std::map< MemoryID, std::vector< PredictionEngine > > | getAllPredictionEngines () const |
|
void | addPredictionEngine (const PredictionEngine &engine) |
|
std::map< MemoryID, std::vector< PredictionEngine > > | getAllPredictionEngines () const |
|
const std::vector< PredictionEngine > & | predictionEngines () const |
|
| Predictive (const std::vector< PredictionEngine > &engines={}) |
|
void | setPredictionEngines (const std::vector< PredictionEngine > &engines) |
|
bool | forEachInstance (InstanceFunctionT &&func) |
|
bool | forEachInstance (InstanceFunctionT &&func) const |
|
bool | forEachInstanceAs (AronDtoFunctionT &&func) const |
| Call func on the data of each instance converted to Aron DTO class. More...
|
|
bool | forEachInstanceWithDataAs (EntityInstanceBaseAronDtoFunctionT &&func) const |
| Call func on each instance with its data converted to Aron DTO class. More...
|
|
bool | forEachSnapshot (SnapshotFunctionT &&func) |
|
bool | forEachSnapshot (SnapshotFunctionT &&func) const |
|
bool | forEachEntity (FunctionT &&func) |
|
bool | forEachEntity (FunctionT &&func) const |
|
bool | forEachProviderSegment (FunctionT &&func) |
|
bool | forEachProviderSegment (FunctionT &&func) const |
|
auto * | findInstance (const MemoryID &instanceID) |
| Find an entity instance. More...
|
|
const auto * | findInstance (const MemoryID &instanceID) const |
|
auto & | getInstance (const MemoryID &instanceID) |
| Retrieve an entity instance. More...
|
|
const auto & | getInstance (const MemoryID &instanceID) const |
|
bool | hasInstance (const MemoryID &instanceID) const |
| Indicate whether this container has an instance with the given ID. More...
|
|
bool | hasInstances () const |
| Indicate whether this container contains at least one entity instance. More...
|
|
auto * | findLatestInstance (const MemoryID &entityID, int instanceIndex=0) |
| Find the latest entity instance in the given entity. More...
|
|
const auto * | findLatestInstance (const MemoryID &entityID, int instanceIndex=0) const |
|
auto * | findLatestInstance (int instanceIndex=0) |
|
const auto * | findLatestInstance (int instanceIndex=0) const |
| Find the latest entity instance. More...
|
|
auto * | findLatestSnapshot () |
|
const auto * | findLatestSnapshot () const |
| Find the latest entity snapshot. More...
|
|
auto * | findLatestSnapshot (const MemoryID &entityID) |
| Find the latest entity snapshot in the given entity. More...
|
|
const auto * | findLatestSnapshot (const MemoryID &entityID) const |
|
auto * | findSnapshot (const MemoryID &snapshotID) |
| Find an entity snapshot. More...
|
|
const auto * | findSnapshot (const MemoryID &snapshotID) const |
|
auto & | getSnapshot (const MemoryID &snapshotID) |
| Retrieve an entity snapshot. More...
|
|
const auto & | getSnapshot (const MemoryID &snapshotID) const |
|
bool | hasSnapshot (const MemoryID &snapshotID) const |
| Indicates whether a snapshot with the given ID exists. More...
|
|
bool | hasSnapshots () const |
| Indicate whether this container contains at least one entity snapshot. More...
|
|
auto & | getLatestInstance (int instanceIndex=0) |
| Retrieve the latest entity instance. More...
|
|
const auto & | getLatestInstance (int instanceIndex=0) const |
|
auto & | getLatestSnapshot (int snapshotIndex=0) |
| Retrieve the latest entity snapshot. More...
|
|
const auto & | getLatestSnapshot (int snapshotIndex=0) const |
|
auto * | findEntity (const MemoryID &entityID) |
| Find an entity. More...
|
|
const auto * | findEntity (const MemoryID &entityID) const |
|
auto & | getEntity (const MemoryID &entityID) |
| Retrieve an entity. More...
|
|
const auto & | getEntity (const MemoryID &entityID) const |
|
bool | hasEntity (const MemoryID &entityID) const |
|
auto * | findProviderSegment (const MemoryID &providerSegmentID) |
| Retrieve a provider segment. More...
|
|
const auto * | findProviderSegment (const MemoryID &providerSegmentID) const |
|
auto & | getProviderSegment (const MemoryID &providerSegmentID) |
| Retrieve a provider segment. More...
|
|
const auto & | getProviderSegment (const MemoryID &providerSegmentID) const |
|
bool | hasProviderSegment (const MemoryID &providerSegmentID) const |
|
template<class _CoreSegmentT, class _Derived>
class armarx::armem::base::MemoryBase< _CoreSegmentT, _Derived >
Data of a memory consisting of multiple core segments.
Definition at line 19 of file MemoryBase.h.