|
Provides default implmentations of MemoryContainer
, as well as iterators (which requires a template).
More...
#include <RobotAPI/libraries/armem/core/base/detail/MemoryContainerBase.h>
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 16 of file MemoryContainerBase.h.
using ContainerT = _ContainerT |
Definition at line 24 of file MemoryContainerBase.h.
using DerivedT = _DerivedT |
Definition at line 23 of file MemoryContainerBase.h.
|
inline |
Definition at line 29 of file MemoryContainerBase.h.
|
inlineexplicit |
Definition at line 31 of file MemoryContainerBase.h.
|
default |
|
default |
|
inlineprotected |
Definition at line 136 of file MemoryContainerBase.h.
|
inlineprotected |
<tt>armem::error::ContainerNameMismatch</tt> | if gottenName does not match actualName . |
Definition at line 124 of file MemoryContainerBase.h.
|
inlineprotected |
|
inlineprotected |
Definition at line 115 of file MemoryContainerBase.h.
|
inline |
Definition at line 84 of file MemoryContainerBase.h.
|
inline |
Definition at line 79 of file MemoryContainerBase.h.
|
inline |
|
inlineprotected |
Definition at line 106 of file MemoryContainerBase.h.
|
inlineprotected |
Definition at line 102 of file MemoryContainerBase.h.
|
inline |
|
inline |
Definition at line 94 of file MemoryContainerBase.h.
|
inline |
Definition at line 89 of file MemoryContainerBase.h.
|
inline |
func | Function like: bool process(ChildT& provSeg) |
Definition at line 64 of file MemoryContainerBase.h.
|
inline |
func | Function like: bool process(const ChildT& provSeg) |
Definition at line 72 of file MemoryContainerBase.h.
|
default |
|
default |
|
inline |
|
mutableprotected |
Definition at line 150 of file MemoryContainerBase.h.