O P A R - Open Architecture Particle in Cell Simulation - Version 3.0
Plasma simulations with dust particles
|
Base class for reading a subclass of the Task class from the input. A Task class is read from the input file by invoking the creating the object and calling its Task::Rebuild method. The parameters of the newly built Task have to be enclosed in curly brackets. The new Task is then attached to its 'parent'. The abstract method New should actually create the object. ParameterTask and DiagnosticTask overwrite this method. More...
#include <parameter.h>
Public Member Functions | |
ParameterTask_BASE (Task *_pParent) | |
Constructor takes a pointer to the parent Task. | |
virtual | ~ParameterTask_BASE () |
Destructor. | |
virtual std::string | Rebuild (std::istream &in) |
Creates a new Task, calls its Task::Rebuild method and attaches it to its parent Task. | |
virtual TYPE * | New ()=0 |
Abstract method that should return a pointer to a new task. | |
Public Member Functions inherited from Parameter | |
Parameter () | |
Default constructor. | |
virtual | ~Parameter () |
Destructor. |
Protected Attributes | |
Task * | pParent |
Pointer to the parent of the Task. |
Base class for reading a subclass of the Task class from the input. A Task class is read from the input file by invoking the creating the object and calling its Task::Rebuild method. The parameters of the newly built Task have to be enclosed in curly brackets. The new Task is then attached to its 'parent'. The abstract method New should actually create the object. ParameterTask and DiagnosticTask overwrite this method.