![]() |
neoGFX
Cross-platform C++ app/game engine
|
#include <event.hpp>
Public Member Functions | |
| async_event_queue () | |
| ~async_event_queue () | |
| template<typename... Args> | |
| void | enqueue (i_slot< Args... > &aSlot, bool aNoDuplicates, Args... aArgs) |
| void | register_with_task (i_async_task &aTask) final |
| bool | pump_events () final |
Public Member Functions inherited from neolib::lifetime< i_async_event_queue > | |
| lifetime (lifetime_state aState=lifetime_state::Alive) | |
| virtual | ~lifetime () |
| lifetime_state | object_state () const final |
| std::shared_ptr< std::atomic< lifetime_state > > | object_state_ptr () const final |
| bool | is_creating () const final |
| bool | is_alive () const final |
| bool | is_destroying () const final |
| bool | is_destroyed () const final |
| void | set_alive () override |
| void | set_destroying () override |
| void | set_destroyed () override |
Public Member Functions inherited from neolib::i_lifetime | |
| virtual | ~i_lifetime ()=default |
Static Public Member Functions | |
| static async_event_queue & | instance () |
| static async_event_queue & | instance (std::thread::id aThreadId) |
Additional Inherited Members | |
Public Types inherited from neolib::lifetime< i_async_event_queue > | |
| typedef neolib::destroyed_flag | destroyed_flag |
| neolib::async_event_queue::async_event_queue | ( | ) |
| neolib::async_event_queue::~async_event_queue | ( | ) |
|
static |
|
static |
|
finalvirtual |
Implements neolib::i_async_event_queue.
|
finalvirtual |
Implements neolib::i_async_event_queue.