#include <yatengine.h>
Public Member Functions | |
| virtual | ~EngineCheck () |
| virtual bool | check (const ObjList *cmds)=0 |
Static Public Member Functions | |
| static void | setChecker (EngineCheck *ptr=0) |
Base class for engine running stage checkers. Descendants may check specific conditions and decide to stop the engine. There should be only one (static) instance of an engine checker
| virtual ~EngineCheck | ( | ) | [inline, virtual] |
Do-nothing destructor of base class
| virtual bool check | ( | const ObjList * | cmds | ) | [pure virtual] |
Check running conditions. This method is called by the engine in the initialize process
| cmds | Optional list of strings containing extra command line parameters (not parsed by the engine) |
| static void setChecker | ( | EngineCheck * | ptr = 0 |
) | [static] |
Set the current engine checker
| ptr | The new engine checker. May be 0 to reset it |
1.5.6