#include <MultiThreadSimEngine.h>


Public Member Functions | |
| SimEngineAdvanceJob (SingleThreadSimEngine *eng, int numSteps) | |
| Constructs a SimEngine job.   | |
| void | setNumSteps (int nSteps) | 
| Changes the number of simulation steps the SingleThreadSimEngine is advanced during one execution of the job.   | |
| virtual void | start () | 
| Starts the execution of the job. This is invoked by the thread object.   | |
Protected Attributes | |
| SingleThreadSimEngine * | engine | 
| int | nSteps | 
Definition at line 13 of file MultiThreadSimEngine.h.
| SimEngineAdvanceJob::SimEngineAdvanceJob | ( | SingleThreadSimEngine * | eng, | |
| int | numSteps | |||
| ) | 
Constructs a SimEngine job.
| eng | the SingleThreadSimEngine which is run when the job starts. | |
| nSteps | number of simulation steps the SingleThreadSimEngine is advanced during one execution of the job. | 
Definition at line 8 of file MultiThreadSimEngine.cpp.
| void SimEngineAdvanceJob::setNumSteps | ( | int | nSteps | ) | 
Changes the number of simulation steps the SingleThreadSimEngine is advanced during one execution of the job.
Definition at line 12 of file MultiThreadSimEngine.cpp.
| void SimEngineAdvanceJob::start | ( | ) |  [virtual] | 
        
Starts the execution of the job. This is invoked by the thread object.
Implements ThreadPoolJob.
Definition at line 17 of file MultiThreadSimEngine.cpp.
References SingleThreadSimEngine::advance(), engine, and nSteps.

SingleThreadSimEngine* SimEngineAdvanceJob::engine [protected]           | 
        
int SimEngineAdvanceJob::nSteps [protected]           | 
        
 1.5.5