neoGFX
Cross-platform C++ app/game engine
|
#include <event.hpp>
Public Member Functions | |
event () | |
~event () | |
neolib::trigger_type | trigger_type () const final |
void | set_trigger_type (neolib::trigger_type aTriggerType) final |
trigger_result | sync_trigger (Args... aArgs) const final |
void | async_trigger (Args... aArgs) const final |
void | accept () const final |
bool | has_slots () const final |
void | add_slot (i_slot< Args... > &aSlot) const final |
void | remove_slot (i_slot< Args... > &aSlot) const final |
Public Member Functions inherited from neolib::lifetime< i_event< Args... > > | |
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_event< Args... > | |
virtual | ~i_event ()=default |
trigger_result | trigger (Args... aArgs) const |
slot_proxy< Args... > | operator() (std::function< void(Args...)> const &aCallback) const |
Public Member Functions inherited from neolib::i_lifetime | |
virtual | ~i_lifetime ()=default |
Additional Inherited Members | |
Public Types inherited from neolib::lifetime< i_event< Args... > > | |
typedef neolib::destroyed_flag | destroyed_flag |
Public Types inherited from neolib::i_event< Args... > | |
typedef self_type | abstract_type |
|
inline |
|
inline |
|
inlinefinalvirtual |
Implements neolib::i_event< Args... >.
|
inlinefinalvirtual |
Implements neolib::i_event< Args... >.
|
inlinefinalvirtual |
Implements neolib::i_event< Args... >.
|
inlinefinalvirtual |
Implements neolib::i_event< Args... >.
|
inlinefinalvirtual |
Implements neolib::i_event< Args... >.
|
inlinefinalvirtual |
Implements neolib::i_event< Args... >.
|
inlinefinalvirtual |
Implements neolib::i_event< Args... >.
|
inlinefinalvirtual |
Implements neolib::i_event< Args... >.