EngineCheck Class Reference

Engine checker interface. More...

#include <yatengine.h>

List of all members.

Public Member Functions

virtual ~EngineCheck ()
virtual bool check (const ObjList *cmds)=0

Static Public Member Functions

static void setChecker (EngineCheck *ptr=0)

Detailed Description

Engine checker interface.

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


Constructor & Destructor Documentation

virtual ~EngineCheck (  )  [inline, virtual]

Do-nothing destructor of base class


Member Function Documentation

virtual bool check ( const ObjList cmds  )  [pure virtual]

Check running conditions. This method is called by the engine in the initialize process

Parameters:
cmds Optional list of strings containing extra command line parameters (not parsed by the engine)
Returns:
False to stop the program
static void setChecker ( EngineCheck ptr = 0  )  [static]

Set the current engine checker

Parameters:
ptr The new engine checker. May be 0 to reset it

The documentation for this class was generated from the following file:
Generated on Thu Apr 8 18:22:36 2010 for Yate by  doxygen 1.6.3