O P A R - Open Architecture Particle in Cell Simulation - Version 3.0
Plasma simulations with dust particles
 All Classes Files Functions Variables Friends Macros Groups Pages
Public Member Functions | Protected Attributes
ParameterTask_BASE< TYPE > Class Template Reference

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>

Inheritance diagram for ParameterTask_BASE< TYPE >:
Parameter DiagnosticTask< TYPE, OBJECT > ParameterTask< TYPE >

List of all members.

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

TaskpParent
 Pointer to the parent of the Task.

Detailed Description

template<class TYPE>
class ParameterTask_BASE< TYPE >

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.


The documentation for this class was generated from the following file: