EntityInstance Class Reference

Client-side working entity instance. More...

#include <RobotAPI/libraries/armem/core/wm/memory_definitions.h>

+ Inheritance diagram for EntityInstance:

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 >
DataTdata ()
 
const DataTdata () 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
 
MetadataTmetadata ()
 
const MetadataTmetadata () const
 
void setData (const DataT &data)
 
void setMetadata (const MetadataT &metadata)
 
EntityInstanceBase< AronDtoT, MetadataTwithDataAs () const
 
- Public Member Functions inherited from MemoryItem
MemoryIDid ()
 
const MemoryIDid () const
 
 MemoryItem ()
 
 MemoryItem (const MemoryID &id)
 
 MemoryItem (const MemoryItem &other)=default
 
 MemoryItem (MemoryItem &&other)=default
 
MemoryItemoperator= (const MemoryItem &other)=default
 
MemoryItemoperator= (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
 

Detailed Description

Client-side working entity instance.

See also
base::EntityInstanceBase

Definition at line 32 of file memory_definitions.h.

Member Function Documentation

◆ equalsDeep()

bool equalsDeep ( const EntityInstance other) const

Definition at line 16 of file memory_definitions.cpp.

+ Here is the call graph for this function:

◆ update()

void update ( const EntityUpdate update)

Fill *this with the update's values.

Parameters
updateThe update.
indexThe instances index.

Definition at line 30 of file memory_definitions.cpp.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: