|
|
Provides default implmentations of MemoryContainer, as well as iterators (which requires a template).
More...
#include <RobotAPI/libraries/armem/core/base/detail/MemoryContainerBase.h>
Inheritance diagram for MemoryContainerBase< _ContainerT, _DerivedT >:Public Types | |
| using | ContainerT = _ContainerT |
| using | DerivedT = _DerivedT |
Public Member Functions | |
| ContainerT::iterator | begin () |
| ContainerT::const_iterator | begin () const |
| void | clear () |
| bool | empty () const |
| ContainerT::iterator | end () |
| ContainerT::const_iterator | end () const |
| template<class ChildFunctionT > | |
| bool | forEachChild (ChildFunctionT &&func) |
| template<class ChildFunctionT > | |
| 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 |
Public Member Functions inherited from MemoryItem | |
| 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 |
Protected Member Functions | |
| template<class ChildT , class KeyT , class... ChildArgs> | |
| ChildT & | _addChild (const KeyT &key, ChildArgs... childArgs) |
| void | _checkContainerName (const std::string &gottenName, const std::string &actualName, bool emptyOk=true) const |
| DerivedT & | _derived () |
| const DerivedT & | _derived () const |
| ContainerT & | container () |
| const ContainerT & | container () const |
Protected Member Functions inherited from MemoryItem | |
| ~MemoryItem () | |
Protected Attributes | |
| ContainerT | _container |
Protected Attributes inherited from MemoryItem | |
| MemoryID | _id |
Provides default implmentations of MemoryContainer, as well as iterators (which requires a template).
Definition at line 15 of file MemoryContainerBase.h.
| using ContainerT = _ContainerT |
Definition at line 21 of file MemoryContainerBase.h.
| using DerivedT = _DerivedT |
Definition at line 20 of file MemoryContainerBase.h.
|
inline |
Definition at line 25 of file MemoryContainerBase.h.
|
inlineexplicit |
Definition at line 29 of file MemoryContainerBase.h.
|
default |
|
default |
|
inlineprotected |
Definition at line 151 of file MemoryContainerBase.h.
|
inlineprotected |
| <tt>armem::error::ContainerNameMismatch</tt> | if gottenName does not match actualName. |
Definition at line 138 of file MemoryContainerBase.h.
|
inlineprotected |
|
inlineprotected |
Definition at line 129 of file MemoryContainerBase.h.
|
inline |
Definition at line 89 of file MemoryContainerBase.h.
|
inline |
Definition at line 82 of file MemoryContainerBase.h.
|
inline |
|
inlineprotected |
Definition at line 117 of file MemoryContainerBase.h.
|
inlineprotected |
Definition at line 111 of file MemoryContainerBase.h.
|
inline |
|
inline |
Definition at line 103 of file MemoryContainerBase.h.
|
inline |
Definition at line 96 of file MemoryContainerBase.h.
|
inline |
| func | Function like: bool process(ChildT& provSeg) |
Definition at line 65 of file MemoryContainerBase.h.
Here is the caller graph for this function:
|
inline |
| func | Function like: bool process(const ChildT& provSeg) |
Definition at line 75 of file MemoryContainerBase.h.
|
default |
|
default |
|
inline |
|
mutableprotected |
Definition at line 164 of file MemoryContainerBase.h.