|
Classes | |
class | AronTyped |
Something with a specific ARON type. More... | |
struct | ForEachEntityInstanceMixin |
struct | ForEachEntityMixin |
struct | ForEachEntitySnapshotMixin |
struct | ForEachProviderSegmentMixin |
struct | GetFindEntityMixin |
struct | GetFindInstanceMixin |
struct | GetFindProviderSegmentMixin |
struct | GetFindSnapshotMixin |
struct | GetLatestInstanceMixin |
struct | GetLatestSnapshotMixin |
struct | has_mapped_type |
struct | has_mapped_type< T, std::void_t< typename T::mapped_type > > |
class | MemoryContainerBase |
Provides default implmentations of MemoryContainer , as well as iterators (which requires a template). More... | |
class | MemoryItem |
Base class of memory classes on different levels. More... | |
class | Predictive |
Something that supports a set of prediction engines. More... | |
class | PredictiveContainer |
Something that supports a set of prediction engines. More... | |
Functions | |
template<class FunctionT , class ChildT > | |
bool | call (FunctionT &&func, ChildT &&child) |
void | checkHasCoreSegmentName (const MemoryID &coreSegmentID) |
Throw armem::error::InvalidMemoryID if the given ID has core segment name. More... | |
void | checkHasEntityName (const MemoryID &entityID) |
Throw armem::error::InvalidMemoryID if the given ID has no entity name. More... | |
void | checkHasInstanceIndex (const MemoryID &instanceID) |
Throw armem::error::InvalidMemoryID if the given ID has no instance index. More... | |
void | checkHasMemoryName (const MemoryID &memory) |
Throw armem::error::InvalidMemoryID if the given ID has memory name. More... | |
void | checkHasProviderSegmentName (const MemoryID &providerSegmentID) |
Throw armem::error::InvalidMemoryID if the given ID has provider segment name. More... | |
void | checkHasTimestamp (const MemoryID &snapshotID) |
Throw armem::error::InvalidMemoryID if the given ID has no timestamp. More... | |
template<class DerivedT , class ThisT > | |
const DerivedT & | derived (const ThisT *t) |
template<class DerivedT , class ThisT > | |
DerivedT & | derived (ThisT *t) |
template<class KeyT , class ContainerT > | |
auto * | findChildByKey (const KeyT &key, ContainerT &&container) |
Find a child in a container by its key. More... | |
template<class ContainerT , class FunctionT > | |
bool | forEachChild (ContainerT &container, FunctionT &&func) |
template<class ContainerT , class FunctionT > | |
bool | forEachChildPair (ContainerT &container, FunctionT &&func) |
template<class ContainerT , class FunctionT > | |
bool | forEachChildSingle (ContainerT &container, FunctionT &&func) |
template<class FunctionT , class ParentT , class ChildT > | |
bool | forEachInstanceIn (const MemoryID &id, FunctionT &&func, ParentT &parent, bool single, ChildT *child) |
void | fromIce (const aron::data::dto::DictPtr &ice, aron::data::DictPtr &bo) |
void | fromIce (const aron::type::dto::GenericTypePtr &ice, aron::type::ObjectPtr &bo) |
void | fromIceItem (const data::detail::MemoryItem &ice, MemoryItem &item) |
template<class KeyT , class ContainerT , class ParentT , class KeyStringFn > | |
auto & | getChildByKey (const KeyT &key, ContainerT &&container, const ParentT &owner, KeyStringFn &&keyStringFn) |
Retrieve a child in a container by its key. More... | |
template<class KeyT , class ContainerT , class ParentT > | |
auto & | getChildByKey (const KeyT &key, ContainerT &&container, const ParentT &parent) |
Retrieve a child in a container by its key. More... | |
size_t | negativeIndexSemantics (long index, size_t size) |
void | throwIfNotEqual (const Time &ownTime, const Time &updateTime) |
void | toIce (aron::data::dto::DictPtr &ice, const aron::data::DictPtr &bo) |
void | toIce (aron::type::dto::GenericTypePtr &ice, const aron::type::ObjectPtr &bo) |
void | toIceItem (data::detail::MemoryItem &ice, const MemoryItem &item) |
bool armarx::armem::base::detail::call | ( | FunctionT && | func, |
ChildT && | child | ||
) |
void checkHasCoreSegmentName | ( | const MemoryID & | coreSegmentID | ) |
Throw armem::error::InvalidMemoryID if the given ID has core segment name.
Definition at line 45 of file lookup_mixins.cpp.
void checkHasEntityName | ( | const MemoryID & | entityID | ) |
Throw armem::error::InvalidMemoryID if the given ID has no entity name.
Definition at line 27 of file lookup_mixins.cpp.
void checkHasInstanceIndex | ( | const MemoryID & | instanceID | ) |
Throw armem::error::InvalidMemoryID if the given ID has no instance index.
Definition at line 9 of file lookup_mixins.cpp.
void checkHasMemoryName | ( | const MemoryID & | memory | ) |
Throw armem::error::InvalidMemoryID if the given ID has memory name.
Definition at line 54 of file lookup_mixins.cpp.
void checkHasProviderSegmentName | ( | const MemoryID & | providerSegmentID | ) |
Throw armem::error::InvalidMemoryID if the given ID has provider segment name.
Definition at line 36 of file lookup_mixins.cpp.
void checkHasTimestamp | ( | const MemoryID & | snapshotID | ) |
Throw armem::error::InvalidMemoryID if the given ID has no timestamp.
Definition at line 18 of file lookup_mixins.cpp.
const DerivedT& armarx::armem::base::detail::derived | ( | const ThisT * | t | ) |
auto* armarx::armem::base::detail::findChildByKey | ( | const KeyT & | key, |
ContainerT && | container | ||
) |
Find a child in a container by its key.
key | The child's key. |
container | The child's container. |
Definition at line 32 of file lookup_mixins.h.
bool armarx::armem::base::detail::forEachChild | ( | ContainerT & | container, |
FunctionT && | func | ||
) |
Definition at line 102 of file iteration_mixins.h.
bool armarx::armem::base::detail::forEachChildPair | ( | ContainerT & | container, |
FunctionT && | func | ||
) |
Definition at line 74 of file iteration_mixins.h.
bool armarx::armem::base::detail::forEachChildSingle | ( | ContainerT & | container, |
FunctionT && | func | ||
) |
Definition at line 59 of file iteration_mixins.h.
bool armarx::armem::base::detail::forEachInstanceIn | ( | const MemoryID & | id, |
FunctionT && | func, | ||
ParentT & | parent, | ||
bool | single, | ||
ChildT * | child | ||
) |
void fromIce | ( | const aron::data::dto::DictPtr & | ice, |
aron::data::DictPtr & | bo | ||
) |
Definition at line 29 of file ice_conversions.cpp.
void fromIce | ( | const aron::type::dto::GenericTypePtr & | ice, |
aron::type::ObjectPtr & | bo | ||
) |
void fromIceItem | ( | const data::detail::MemoryItem & | ice, |
MemoryItem & | item | ||
) |
Definition at line 19 of file ice_conversions.cpp.
auto& armarx::armem::base::detail::getChildByKey | ( | const KeyT & | key, |
ContainerT && | container, | ||
const ParentT & | owner, | ||
KeyStringFn && | keyStringFn | ||
) |
Retrieve a child in a container by its key.
key | The child's key. |
container | The container. |
parent | The container's owner. Used for the error message. |
keyStringFn | A function which turns key into a string. Used for the error message. |
armem::error::ArMemError | If the child was not found. |
Definition at line 49 of file lookup_mixins.h.
auto& armarx::armem::base::detail::getChildByKey | ( | const KeyT & | key, |
ContainerT && | container, | ||
const ParentT & | parent | ||
) |
Retrieve a child in a container by its key.
key | The child's key. |
container | The container. |
parent | The container's owner. Used for the error message. |
armem::error::ArMemError | If the child was not found. |
Definition at line 75 of file lookup_mixins.h.
size_t negativeIndexSemantics | ( | long | index, |
size_t | size | ||
) |
Definition at line 6 of file negative_index_semantics.cpp.
void toIce | ( | aron::data::dto::DictPtr & | ice, |
const aron::data::DictPtr & | bo | ||
) |
void toIce | ( | aron::type::dto::GenericTypePtr & | ice, |
const aron::type::ObjectPtr & | bo | ||
) |
Definition at line 41 of file ice_conversions.cpp.
void toIceItem | ( | data::detail::MemoryItem & | ice, |
const MemoryItem & | item | ||
) |
Definition at line 15 of file ice_conversions.cpp.