|
Client-side working entity instance. More...
#include <RobotAPI/libraries/armem/core/wm/memory_definitions.h>
Public Member Functions | |
bool | equalsDeep (const EntityInstance &other) const |
void | update (const EntityUpdate &update) |
Fill *this with the update's values. More... | |
Public Member Functions inherited from EntityInstanceBase< EntityInstanceDataPtr, EntityInstanceMetadata > | |
DataT & | data () |
const DataT & | data () const |
AronDtoT | dataAs () const |
Get the data converted to a generated Aron DTO class. More... | |
EntityInstanceBase () | |
EntityInstanceBase (const MemoryID &id) | |
EntityInstanceBase (int index, const MemoryID &parentID={}) | |
std::string | getKeyString () const |
int & | index () |
int | index () const |
MetadataT & | metadata () |
const MetadataT & | metadata () const |
void | setData (const DataT &data) |
void | setMetadata (const MetadataT &metadata) |
EntityInstanceBase< AronDtoT, MetadataT > | withDataAs () 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 |
Additional Inherited Members | |
Public Types inherited from EntityInstanceBase< EntityInstanceDataPtr, EntityInstanceMetadata > | |
using | DataT = EntityInstanceDataPtr |
using | MetadataT = EntityInstanceMetadata |
Static Public Member Functions inherited from EntityInstanceBase< EntityInstanceDataPtr, EntityInstanceMetadata > | |
static std::string | getLevelName () |
Protected Member Functions inherited from MemoryItem | |
~MemoryItem () | |
Protected Attributes inherited from EntityInstanceBase< EntityInstanceDataPtr, EntityInstanceMetadata > | |
DataT | _data |
The data. May be nullptr. More... | |
MetadataT | _metadata |
The metadata. More... | |
Protected Attributes inherited from MemoryItem | |
MemoryID | _id |
Client-side working entity instance.
Definition at line 32 of file memory_definitions.h.
bool equalsDeep | ( | const EntityInstance & | other | ) | const |
void update | ( | const EntityUpdate & | update | ) |
Fill *this
with the update's values.
update | The update. |
index | The instances index. |
Definition at line 30 of file memory_definitions.cpp.