neoGFX
Cross-platform C++ app/game engine
neolib::plugin_events::event< Args > Class Template Reference

#include <plugin_event.hpp>

Public Types

typedef base_type event_type
 
typedef i_event< Args... > abstract_plugin_event_type
 

Public Member Functions

const neolib::i_eventraw_event () const override
 
neolib::i_eventraw_event () override
 
void pre_trigger () const override
 
bool trigger (Args... aArguments) const override
 
bool sync_trigger (Args... aArguments) const override
 
void async_trigger (Args... aArguments) const override
 
bool accepted () const override
 
void accept () const override
 
void ignore () const override
 
event_handle subscribe (const concrete_callable &aCallable, const void *aUniqueId=nullptr) const
 
template<typename T >
event_handle subscribe (const concrete_callable &aCallable, const T *aClientId) const
 
template<typename T >
event_handle subscribe (const concrete_callable &aCallable, const T &aClientId) const
 
void unsubscribe (event_handle aHandle) const
 
void unsubscribe (const void *aClientId) const
 
template<typename T >
void unsubscribe (const T *aClientId) const
 
template<typename T >
void unsubscribe (const T &aClientId) const
 

Detailed Description

template<typename... Args>
class neolib::plugin_events::event< Args >

Definition at line 50 of file plugin_event.hpp.

Member Typedef Documentation

◆ abstract_plugin_event_type

template<typename... Args>
typedef i_event<Args...> neolib::plugin_events::event< Args >::abstract_plugin_event_type

Definition at line 57 of file plugin_event.hpp.

◆ event_type

template<typename... Args>
typedef base_type neolib::plugin_events::event< Args >::event_type

Definition at line 56 of file plugin_event.hpp.

Member Function Documentation

◆ accept()

template<typename... Args>
void neolib::plugin_events::event< Args >::accept ( ) const
inlineoverride

Definition at line 95 of file plugin_event.hpp.

◆ accepted()

template<typename... Args>
bool neolib::plugin_events::event< Args >::accepted ( ) const
inlineoverride

Definition at line 91 of file plugin_event.hpp.

◆ async_trigger()

template<typename... Args>
void neolib::plugin_events::event< Args >::async_trigger ( Args...  aArguments) const
inlineoverride

Definition at line 87 of file plugin_event.hpp.

◆ ignore()

template<typename... Args>
void neolib::plugin_events::event< Args >::ignore ( ) const
inlineoverride

Definition at line 99 of file plugin_event.hpp.

◆ pre_trigger()

template<typename... Args>
void neolib::plugin_events::event< Args >::pre_trigger ( ) const
inlineoverride

Definition at line 74 of file plugin_event.hpp.

◆ raw_event() [1/2]

template<typename... Args>
const neolib::i_event& neolib::plugin_events::event< Args >::raw_event ( ) const
inlineoverride

Definition at line 65 of file plugin_event.hpp.

◆ raw_event() [2/2]

template<typename... Args>
neolib::i_event& neolib::plugin_events::event< Args >::raw_event ( )
inlineoverride

Definition at line 69 of file plugin_event.hpp.

◆ subscribe() [1/3]

template<typename... Args>
template<typename T >
event_handle neolib::event< Args >::subscribe ( typename T  )
inline

Definition at line 652 of file event.hpp.

◆ subscribe() [2/3]

template<typename... Args>
template<typename T >
event_handle neolib::event< Args >::subscribe ( typename T  )
inline

Definition at line 642 of file event.hpp.

◆ subscribe() [3/3]

template<typename... Args>
event_handle neolib::event< Args >::subscribe
inline

Definition at line 629 of file event.hpp.

◆ sync_trigger()

template<typename... Args>
bool neolib::plugin_events::event< Args >::sync_trigger ( Args...  aArguments) const
inlineoverride

Definition at line 83 of file plugin_event.hpp.

◆ trigger()

template<typename... Args>
bool neolib::plugin_events::event< Args >::trigger ( Args...  aArguments) const
inlineoverride

Definition at line 79 of file plugin_event.hpp.

◆ unsubscribe() [1/4]

template<typename... Args>
template<typename T >
void neolib::event< Args >::unsubscribe ( typename T  )
inline

Definition at line 688 of file event.hpp.

◆ unsubscribe() [2/4]

template<typename... Args>
template<typename T >
void neolib::event< Args >::unsubscribe ( typename T  )
inline

Definition at line 683 of file event.hpp.

◆ unsubscribe() [3/4]

template<typename... Args>
void neolib::event< Args >::unsubscribe
inline

Definition at line 671 of file event.hpp.

◆ unsubscribe() [4/4]

template<typename... Args>
void neolib::event< Args >::unsubscribe
inline

Definition at line 661 of file event.hpp.


The documentation for this class was generated from the following files: