tec::EventQueue

More...

#include <event-queue.hpp>

Public Functions

Name
EventQueue()
EventQueue(eid entity_id)
virtual ~EventQueue()
void ProcessEventQueue()
void QueueEvent(Event< T > && e)
virtual void On(const eid, std::shared_ptr< T > )

Protected Attributes

Name
Queue< Event< T > > * read_event_queue
std::atomic< Queue< Event< T > > * > write_event_queue

Detailed Description

template <class T >
class tec::EventQueue;

Public Functions Documentation

function EventQueue

inline EventQueue()

function EventQueue

inline EventQueue(
    eid entity_id
)

function ~EventQueue

inline virtual ~EventQueue()

function ProcessEventQueue

inline void ProcessEventQueue()

function QueueEvent

inline void QueueEvent(
    Event< T > && e
)

function On

inline virtual void On(
    const eid,
    std::shared_ptr< T > 
)

Reimplemented by: tec::LuaSystem::On, tec::Simulation::On, tec::Simulation::On, tec::Simulation::On, tec::ClientGameStateQueue::On, tec::RenderSystem::On, tec::SoundSystem::On, tec::LuaSystem::On, tec::PhysicsSystem::On, tec::VComputerSystem::On, tec::ServerGameStateQueue::On, tec::networking::Server::On, tec::ClientGameStateQueue::On, tec::RenderSystem::On, tec::SoundSystem::On, tec::LuaSystem::On, tec::PhysicsSystem::On, tec::VComputerSystem::On, tec::ServerGameStateQueue::On, tec::networking::Server::On, tec::Simulation::On, tec::Simulation::On, tec::Game::On, tec::Console::On, tec::IMGUISystem::On, tec::Simulation::On, tec::VComputerSystem::On, tec::IMGUISystem::On, tec::PhysicsSystem::On, tec::Simulation::On, tec::VComputerSystem::On, tec::Game::On, tec::VoxelSystem::On, tec::Simulation::On, tec::VComputerSystem::On, tec::IMGUISystem::On, tec::Simulation::On, tec::IMGUISystem::On, tec::ClientGameStateQueue::On, tec::Console::On, tec::IMGUISystem::On, tec::RenderSystem::On

Protected Attributes Documentation

variable read_event_queue

Queue< Event< T > > * read_event_queue;

variable write_event_queue

std::atomic< Queue< Event< T > > * > write_event_queue;

Updated on 2022-07-24 at 19:27:35 +0000