neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::i_timer_subscriber Class Referenceabstract

#include <i_timer_object.hpp>

Inheritance diagram for neolib::i_timer_subscriber:
neolib::i_reference_counted neolib::i_lifetime neolib::reference_counted< i_timer_subscriber > neolib::lifetime< reference_counted< i_timer_subscriber > >

Public Types

typedef i_timer_subscriber abstract_type
 

Public Member Functions

virtual ~i_timer_subscriber ()=default
 
virtual void timer_expired (i_timer_object &aTimerObject)=0
 
virtual bool attached () const =0
 
virtual void detach ()=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
 

Friends

bool operator< (const i_timer_subscriber &aLeft, const i_timer_subscriber &aRight)
 

Detailed Description

Definition at line 49 of file i_timer_object.hpp.

Member Typedef Documentation

◆ abstract_type

Constructor & Destructor Documentation

◆ ~i_timer_subscriber()

virtual neolib::i_timer_subscriber::~i_timer_subscriber ( )
virtualdefault

Member Function Documentation

◆ attached()

virtual bool neolib::i_timer_subscriber::attached ( ) const
pure virtual

◆ detach()

virtual void neolib::i_timer_subscriber::detach ( )
pure virtual

◆ timer_expired()

virtual void neolib::i_timer_subscriber::timer_expired ( i_timer_object aTimerObject)
pure virtual

Friends And Related Symbol Documentation

◆ operator<

bool operator< ( const i_timer_subscriber aLeft,
const i_timer_subscriber aRight 
)
friend

Definition at line 60 of file i_timer_object.hpp.


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