neoGFX
Cross-platform C++ app/game engine
|
#include <lifetime.hpp>
Public Member Functions | |
lifetime_flag (const i_lifetime &aSubject) | |
template<typename Subject > | |
lifetime_flag (const Subject &aSubject, std::enable_if_t< std::is_base_of_v< i_lifetime, Subject >, sfinae >={}) | |
template<typename Subject > | |
lifetime_flag (const Subject &aSubject, std::enable_if_t<!std::is_base_of_v< i_lifetime, Subject >, sfinae >={}) | |
lifetime_flag (const lifetime_flag &aOther) | |
lifetime_flag (lifetime_flag &&aOther) | |
~lifetime_flag () | |
lifetime_flag & | operator= (const lifetime_flag &aOther) |
lifetime_flag & | operator= (lifetime_flag &&aOther) |
bool | is_creating () const final |
bool | is_alive () const final |
bool | is_destroying () const final |
bool | is_destroyed () const final |
operator bool () const final | |
bool | debug () const override |
void | set_debug (bool aDebug=true) override |
Public Member Functions inherited from neolib::i_lifetime_flag | |
virtual | ~i_lifetime_flag ()=default |
Definition at line 45 of file lifetime.hpp.
neolib::lifetime_flag< RequiredState >::lifetime_flag | ( | const i_lifetime & | aSubject | ) |
|
inline |
Definition at line 50 of file lifetime.hpp.
|
inline |
Definition at line 53 of file lifetime.hpp.
neolib::lifetime_flag< RequiredState >::lifetime_flag | ( | const lifetime_flag< RequiredState > & | aOther | ) |
neolib::lifetime_flag< RequiredState >::lifetime_flag | ( | lifetime_flag< RequiredState > && | aOther | ) |
neolib::lifetime_flag< RequiredState >::~lifetime_flag | ( | ) |
|
overridevirtual |
Implements neolib::i_lifetime_flag.
|
finalvirtual |
Implements neolib::i_lifetime_flag.
|
finalvirtual |
Implements neolib::i_lifetime_flag.
|
finalvirtual |
Implements neolib::i_lifetime_flag.
|
finalvirtual |
Implements neolib::i_lifetime_flag.
|
finalvirtual |
Implements neolib::i_lifetime_flag.
lifetime_flag & neolib::lifetime_flag< RequiredState >::operator= | ( | const lifetime_flag< RequiredState > & | aOther | ) |
lifetime_flag & neolib::lifetime_flag< RequiredState >::operator= | ( | lifetime_flag< RequiredState > && | aOther | ) |
|
overridevirtual |
Implements neolib::i_lifetime_flag.