Contains change information for a WorldModel entity.
More...
#include <WorldModelAction.h>
Contains change information for a WorldModel entity.
Definition at line 33 of file WorldModelAction.h.
weave::WorldModelAction::WorldModelAction |
( |
| ) |
|
|
inline |
- Parameters
-
actionType | The type of change produced by this action |
entity | The entity being changed in the world model |
Definition at line 46 of file WorldModelAction.h.
- Parameters
-
actionType | The type of change produced by this action |
entity | The entity being changed in the world model |
metaData | The new metadata for the given entity. If the actionType is KEEP or DELETE, then this data is not used by the world model. |
Definition at line 56 of file WorldModelAction.h.
Returns the type of change produced by this action.
std::shared_ptr<WorldEntity> weave::WorldModelAction::GetEntity |
( |
| ) |
const |
|
noexcept |
Returns the entity being changed in the world model.
MetaData weave::WorldModelAction::GetMetaData |
( |
| ) |
const |
|
noexcept |
Returns the new metadata for the given entity.
If the actionType is KEEP or DELETE, then this data is not used by the world model.
The documentation for this class was generated from the following file: