Nebula
|
#include <exithandler.h>
ExitHandlers are static objects which register themselves automatically once at startup and are called back from the Core::SysFunc::Exit() static method which is called right before a Nebula application exists.
Please note that the Nebula runtime usually doesn't yet exist when the ExitHandler is created or destroyed, so don't put anything complex into the constructor or destructor of the class!
Inherited by App::GameApplication::GameAppExitHandler, and Attr::AttrExitHandler.
Public Member Functions | |
ExitHandler () | |
constructor | |
virtual | ~ExitHandler () |
destructor | |
virtual void | OnExit () const |
virtual method called from SysFunc::Exit() | |
const ExitHandler * | Next () const |
get pointer to next exit handler in forward linked list | |
Private Attributes | |
const ExitHandler * | nextExitHandler |
Core::ExitHandler::ExitHandler | ( | ) |
constructor
|
virtual |
destructor
const ExitHandler * Core::ExitHandler::Next | ( | ) | const |
get pointer to next exit handler in forward linked list
|
virtual |
virtual method called from SysFunc::Exit()
Reimplemented in App::GameApplication::GameAppExitHandler, and Attr::AttrExitHandler.
|
private |