Nebula
Loading...
Searching...
No Matches
exithandler.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
18//------------------------------------------------------------------------------
19namespace Core
20{
22{
23public:
27 virtual ~ExitHandler();
29 virtual void OnExit() const;
31 const ExitHandler* Next() const;
32
33private:
34 const ExitHandler* nextExitHandler; // for forward linking...
35};
36
37} // namespace Core
38//------------------------------------------------------------------------------
ExitHandlers are static objects which register themselves automatically once at startup and are calle...
Definition exithandler.h:22
const ExitHandler * nextExitHandler
Definition exithandler.h:34
const ExitHandler * Next() const
get pointer to next exit handler in forward linked list
Definition exithandler.cc:33
virtual ~ExitHandler()
destructor
Definition exithandler.cc:24
virtual void OnExit() const
virtual method called from SysFunc::Exit()
Definition exithandler.cc:42
ExitHandler()
constructor
Definition exithandler.cc:16
Definition coreserver.cc:11