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

#include <i_lifetime.hpp>

Inheritance diagram for neolib::i_lifetime:
neolib::i_event< Args... > neolib::i_async_event_queue neolib::i_event< Args > neolib::i_object neolib::i_slot_base neolib::i_timer_object neolib::i_timer_subscriber neolib::lifetime< Base >

Classes

struct  already_destroyed
 
struct  not_creating
 

Public Member Functions

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

Definition at line 68 of file i_lifetime.hpp.

Constructor & Destructor Documentation

◆ ~i_lifetime()

virtual neolib::i_lifetime::~i_lifetime ( )
virtualdefault

Member Function Documentation

◆ is_alive()

◆ is_creating()

◆ is_destroyed()

◆ is_destroying()

◆ object_state()

◆ object_state_ptr()

◆ set_alive()

◆ set_destroyed()

◆ set_destroying()


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