EventManager

Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

allocateData
void allocateData(uint threads_count)
Undocumented in source. Be warned that the author may not have intended to support it.
clearEvents
void clearEvents()
Undocumented in source. Be warned that the author may not have intended to support it.
destroy
void destroy()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void initialize(EntityManager* m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendEvent
void sendEvent(EntityID id, Ev event, uint thread_id)
Undocumented in source. Be warned that the author may not have intended to support it.
swapCurrent
void swapCurrent()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

events_block_size
enum events_block_size;

Single page size. Must be power of two.

events_blocks_in_allocation
enum events_blocks_in_allocation;

Number of pages in block.

Structs

EventBlock
struct EventBlock
Undocumented in source.
EventData
struct EventData
Undocumented in source.

Variables

allocator
BlockAllocator allocator;
Undocumented in source.
current_index
uint current_index;
Undocumented in source.
event_block_alloc_mutex
Mutex* event_block_alloc_mutex;
Undocumented in source.
events
EventData[] events;
Undocumented in source.
manager
EntityManager* manager;
Undocumented in source.

Meta