Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Driver Class Reference

#include <Driver.h>

List of all members.

Public Methods

int instantiate (string name)
 ~Driver ()

Static Public Methods

void waitForKey ()


Detailed Description

The Driver. Runs Exercises specified by name.

© Bernhard Wagner, xmlizer.biz, 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 Sat Jul 19 18:19:54 2003 for Exercise Framework by doxygen1.2.18