GpuThesis::Runner Class Reference

#include <Runner.h>

Inheritance diagram for GpuThesis::Runner:

Console::Action List of all members.

Public Member Functions

void add (GpuThesis::Runnable *runnable)
std::string run (const std::vector< std::string > &parameters)
void reset ()

Detailed Description

Specialization of Action which runs Runnables.


Member Function Documentation

void GpuThesis::Runner::add GpuThesis::Runnable runnable  ) 
 

Adds the given Runnable to the runner.

Parameters:
runnable the Runnable to add.

void GpuThesis::Runner::reset  ) 
 

Reset all the Runnables.

std::string GpuThesis::Runner::run const std::vector< std::string > &  parameters  )  [virtual]
 

Run the contained Runnables. The run parameters should be either a float specifying the timestep, or "reset" to reset all the Runnables.

Parameters:
parameters the run parameters.
Returns:
"Parse error" or whether the runnables were reset or run with the given timestep.

Implements Console::Action.


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 08:42:51 2006 for GPU Thesis by  doxygen 1.4.6-NO