deCrashRecoverySystem Class Reference

Crash Recovery System. More...

#include <deCrashRecoverySystem.h>

Inheritance diagram for deCrashRecoverySystem:
deBaseSystem

List of all members.

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
deBaseCrashRecoveryModuleGetActiveModule () 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.

Detailed Description

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.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deCrashRecoverySystem::deCrashRecoverySystem ( deEngine engine )

Creates a new crash recovery system linked to the given engine.

deCrashRecoverySystem::~deCrashRecoverySystem (  )

Cleans up the physics system.


Member Function Documentation

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.


The documentation for this class was generated from the following file: