neoGFX
Cross-platform C++ app/game engine
|
#include <lifetime.hpp>
Public Types | |
typedef neolib::destroyed_flag | destroyed_flag |
Public Member Functions | |
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_lifetime | |
virtual | ~i_lifetime ()=default |
Definition at line 81 of file lifetime.hpp.
typedef neolib::destroyed_flag neolib::lifetime< Base >::destroyed_flag |
Definition at line 87 of file lifetime.hpp.
|
inline |
Definition at line 106 of file lifetime.hpp.
|
inlinevirtual |
Definition at line 111 of file lifetime.hpp.
|
inlinefinalvirtual |
Implements neolib::i_lifetime.
Reimplemented in neolib::object< Base >, neolib::object< i_app >, neolib::object< i_button >, neolib::object< i_ecs >, neolib::object< i_image_widget >, neolib::object< i_layout >, neolib::object< i_object >, neolib::object< i_push_button >, neolib::object< i_radio_button >, neolib::object< i_spacer >, neolib::object< i_status_bar >, neolib::object< i_surface_window >, neolib::object< i_terminal >, neolib::object< i_text_widget >, neolib::object< i_title_bar >, neolib::object< i_widget >, neolib::object< i_window >, and neolib::object< neogfx::i_window >.
Definition at line 139 of file lifetime.hpp.
|
inlinefinalvirtual |
Implements neolib::i_lifetime.
Definition at line 133 of file lifetime.hpp.
|
inlinefinalvirtual |
Implements neolib::i_lifetime.
Reimplemented in neolib::object< Base >, neolib::object< i_app >, neolib::object< i_button >, neolib::object< i_ecs >, neolib::object< i_image_widget >, neolib::object< i_layout >, neolib::object< i_object >, neolib::object< i_push_button >, neolib::object< i_radio_button >, neolib::object< i_spacer >, neolib::object< i_status_bar >, neolib::object< i_surface_window >, neolib::object< i_terminal >, neolib::object< i_text_widget >, neolib::object< i_title_bar >, neolib::object< i_widget >, neolib::object< i_window >, and neolib::object< neogfx::i_window >.
Definition at line 151 of file lifetime.hpp.
|
inlinefinalvirtual |
Implements neolib::i_lifetime.
Definition at line 145 of file lifetime.hpp.
|
inlinefinalvirtual |
Implements neolib::i_lifetime.
Definition at line 121 of file lifetime.hpp.
|
inlinefinalvirtual |
Implements neolib::i_lifetime.
Definition at line 127 of file lifetime.hpp.
|
inlineoverridevirtual |
Implements neolib::i_lifetime.
Definition at line 157 of file lifetime.hpp.
|
inlineoverridevirtual |
Implements neolib::i_lifetime.
Reimplemented in neolib::object< Base >, neolib::object< i_app >, neolib::object< i_button >, neolib::object< i_ecs >, neolib::object< i_image_widget >, neolib::object< i_layout >, neolib::object< i_object >, neolib::object< i_push_button >, neolib::object< i_radio_button >, neolib::object< i_spacer >, neolib::object< i_status_bar >, neolib::object< i_surface_window >, neolib::object< i_terminal >, neolib::object< i_text_widget >, neolib::object< i_title_bar >, neolib::object< i_widget >, neolib::object< i_window >, and neolib::object< neogfx::i_window >.
Definition at line 176 of file lifetime.hpp.
|
inlineoverridevirtual |
Implements neolib::i_lifetime.
Reimplemented in neolib::object< Base >, neolib::object< i_app >, neolib::object< i_button >, neolib::object< i_ecs >, neolib::object< i_image_widget >, neolib::object< i_layout >, neolib::object< i_object >, neolib::object< i_push_button >, neolib::object< i_radio_button >, neolib::object< i_spacer >, neolib::object< i_status_bar >, neolib::object< i_surface_window >, neolib::object< i_terminal >, neolib::object< i_text_widget >, neolib::object< i_title_bar >, neolib::object< i_widget >, neolib::object< i_window >, and neolib::object< neogfx::i_window >.
Definition at line 165 of file lifetime.hpp.