|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include <EntityChangeJournal.hpp>
Public Member Functions | |
| u32 | watch () |
| void | unwatch (u32 reader) |
| double | sequence () const |
| double | resetEpoch () const |
| double | componentRevision (u32 component, bool topology) const |
| usize | readerCount () const |
| usize | retainedRows () const |
| void | record (u32 entity, u32 flags=0, u32 component=ENTITY_CHANGE_NO_COMPONENT) |
| i32 | read (double after, std::span< EntityChangeRow > output) const |
Independent cursors share bounded history. Exhausted or invalid cursors must rescan; reading never consumes another observer's rows. History exists only while observed; component stamps persist across unobserved periods. Raw component references require an explicit record.
Definition at line 36 of file EntityChangeJournal.hpp.
|
inline |
Definition at line 54 of file EntityChangeJournal.hpp.
References esengine::ecs::ENTITY_CHANGE_NO_COMPONENT.
|
inline |
Definition at line 76 of file EntityChangeJournal.hpp.
References esengine::ecs::ENTITY_CHANGE_CAPACITY, and sequence().
|
inline |
Definition at line 59 of file EntityChangeJournal.hpp.
|
inline |
Definition at line 62 of file EntityChangeJournal.hpp.
References esengine::ecs::ENTITY_CHANGE_CAPACITY, esengine::ecs::ENTITY_CHANGE_NO_COMPONENT, esengine::ecs::ENTITY_CHANGE_REPLACED, and esengine::ecs::ENTITY_CHANGE_RESET.
|
inline |
Definition at line 53 of file EntityChangeJournal.hpp.
|
inline |
Definition at line 60 of file EntityChangeJournal.hpp.
References esengine::ecs::ENTITY_CHANGE_CAPACITY.
|
inline |
Definition at line 52 of file EntityChangeJournal.hpp.
Referenced by read().
|
inline |
Definition at line 48 of file EntityChangeJournal.hpp.
|
inline |
Definition at line 38 of file EntityChangeJournal.hpp.
References esengine::ecs::ENTITY_CHANGE_CAPACITY.