neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::i_slot< Args > Class Template Referenceabstract

#include <i_event.hpp>

Inheritance diagram for neolib::i_slot< Args >:
neolib::i_slot_base neolib::i_reference_counted neolib::i_lifetime

Public Types

typedef i_slot abstract_type
 
- Public Types inherited from neolib::i_slot_base
typedef i_slot_base abstract_type
 

Public Member Functions

virtual i_event< Args... > constevent () const =0
 
virtual void call (Args... aArgs) const =0
 
virtual std::thread::id call_thread () const =0
 
virtual bool call_in_emitter_thread () const =0
 
virtual void set_call_in_emitter_thread (bool aCallInEmitterThread)=0
 
virtual bool stateless () const =0
 
virtual void set_stateless (bool aStateless)=0
 
- Public Member Functions inherited from neolib::i_slot_base
virtual void remove ()=0
 
- Public Member Functions inherited from neolib::i_reference_counted
virtual ~i_reference_counted ()=default
 
virtual void add_ref () const noexcept=0
 
virtual void release () const =0
 
virtual int32_t use_count () const noexcept=0
 
virtual const i_reference_countedrelease_and_take_ownership () const =0
 
virtual i_reference_countedrelease_and_take_ownership ()=0
 
virtual void pin () const noexcept=0
 
virtual void unpin () const =0
 
virtual i_ref_control_blockcontrol_block ()=0
 
- Public Member Functions inherited from neolib::i_lifetime
virtual ~i_lifetime ()=default
 
virtual lifetime_state object_state () const =0
 
virtual std::shared_ptr< std::atomic< lifetime_state > > object_state_ptr () const =0
 
virtual bool is_creating () const =0
 
virtual bool is_alive () const =0
 
virtual bool is_destroying () const =0
 
virtual bool is_destroyed () const =0
 
virtual void set_alive ()=0
 
virtual void set_destroying ()=0
 
virtual void set_destroyed ()=0
 

Detailed Description

template<typename... Args>
class neolib::i_slot< Args >

Definition at line 86 of file i_event.hpp.

Member Typedef Documentation

◆ abstract_type

template<typename... Args>
typedef i_slot neolib::i_slot< Args >::abstract_type

Definition at line 89 of file i_event.hpp.

Member Function Documentation

◆ call()

template<typename... Args>
virtual void neolib::i_slot< Args >::call ( Args...  aArgs) const
pure virtual

◆ call_in_emitter_thread()

template<typename... Args>
virtual bool neolib::i_slot< Args >::call_in_emitter_thread ( ) const
pure virtual

◆ call_thread()

template<typename... Args>
virtual std::thread::id neolib::i_slot< Args >::call_thread ( ) const
pure virtual

◆ event()

template<typename... Args>
virtual i_event< Args... > const & neolib::i_slot< Args >::event ( ) const
pure virtual

◆ set_call_in_emitter_thread()

template<typename... Args>
virtual void neolib::i_slot< Args >::set_call_in_emitter_thread ( bool  aCallInEmitterThread)
pure virtual

◆ set_stateless()

template<typename... Args>
virtual void neolib::i_slot< Args >::set_stateless ( bool  aStateless)
pure virtual

◆ stateless()

template<typename... Args>
virtual bool neolib::i_slot< Args >::stateless ( ) const
pure virtual

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