Crash Recovery System. More...
#include <deCrashRecoverySystem.h>
Public Member Functions | |
Constructors and Destructors | |
| deCrashRecoverySystem (deEngine *engine) | |
| Creates a new crash recovery system linked to the given engine. | |
| ~deCrashRecoverySystem () | |
| Cleans up the physics system. | |
Management | |
| deBaseCrashRecoveryModule * | GetActiveModule () const |
| bool | RecoverFromError () |
| Yields control to the active crash recovery module. | |
Overloadables | |
| virtual void | SetActiveModule (deLoadableModule *module) |
| Sets the active loadable module. | |
| virtual void | ClearPermanents () |
| Clears cross references and links that could lead to memory leaks. | |
| virtual void | PostStart () |
| Carry out here actions right after the system started up. | |
| virtual void | PreStop () |
| Carry out here actions right before the system shuts down. | |
Crash Recovery System.
Provides modules for handling errors in one of the single type engine systems during run time. Such modules take over the run time during an error and try to reach a working state again so the engine can continue running.
| deCrashRecoverySystem::deCrashRecoverySystem | ( | deEngine * | engine ) |
Creates a new crash recovery system linked to the given engine.
| deCrashRecoverySystem::~deCrashRecoverySystem | ( | ) |
Cleans up the physics system.
| virtual void deCrashRecoverySystem::ClearPermanents | ( | ) | [virtual] |
Clears cross references and links that could lead to memory leaks.
Do not forget to call the super function.
Reimplemented from deBaseSystem.
| deBaseCrashRecoveryModule* deCrashRecoverySystem::GetActiveModule | ( | ) | const [inline] |
| virtual void deCrashRecoverySystem::PostStart | ( | ) | [virtual] |
Carry out here actions right after the system started up.
Reimplemented from deBaseSystem.
| virtual void deCrashRecoverySystem::PreStop | ( | ) | [virtual] |
Carry out here actions right before the system shuts down.
Reimplemented from deBaseSystem.
| bool deCrashRecoverySystem::RecoverFromError | ( | ) |
Yields control to the active crash recovery module.
| virtual void deCrashRecoverySystem::SetActiveModule | ( | deLoadableModule * | module ) | [virtual] |
Sets the active loadable module.
Do not forget to call the super function.
Reimplemented from deBaseSystem.
1.7.2