Driver Class Reference

#include <Driver.h>

List of all members.

Public Member Functions

int instantiate (string name)
 ~Driver ()

Static Public Member Functions

static void waitForKey ()


Detailed Description

The Driver. Runs Exercises specified by name.

© Bernhard Wagner, xmlizer.net, 2002.

Definition at line 13 of file Driver.h.


Constructor & Destructor Documentation

Driver::~Driver (  ) 

Destructor.

Definition at line 27 of file Driver.cpp.

References ExerciseStore::destroyInstance().


Member Function Documentation

int Driver::instantiate ( string  name  ) 

Runs Exercises specified by name.

Parameters:
name The name of the Exercise to run.
Returns:
The outcome of the Exercise

Definition at line 14 of file Driver.cpp.

References ExerciseStore::getExercise(), ExerciseStore::instance(), AbstractExercise::start(), and waitForKey().

Referenced by main().

void Driver::waitForKey (  )  [static]

Waits for user to press a key on the keyboard.

Definition at line 31 of file Driver.cpp.

Referenced by instantiate().


The documentation for this class was generated from the following files:
Generated on Thu Jul 3 19:12:45 2008 for Exercise Framework by  doxygen 1.5.1