#include <AbstractModifier.hpp>
Public Member Functions | |
AbstractModifier (void) | |
virtual | ~AbstractModifier () |
virtual double | Calc (double param, double time)=0 |
Clearly for this to work the cell model must be modified to include calls to instances of these classes. PyCml has some experimental support for this, generating subclasses of AbstractCardiacCellWithModifiers.
Definition at line 42 of file AbstractModifier.hpp.
AbstractModifier::AbstractModifier | ( | void | ) | [inline] |
Default constructor.
Definition at line 48 of file AbstractModifier.hpp.
virtual AbstractModifier::~AbstractModifier | ( | ) | [inline, virtual] |
Default destructor.
Definition at line 55 of file AbstractModifier.hpp.
virtual double AbstractModifier::Calc | ( | double | param, | |
double | time | |||
) | [pure virtual] |
Pure virtual function which must be overriden in subclasses to actually perform the modification.
param | the current value of the quantity which is being modified | |
time | the current simulation time |
Implemented in FactorModifier, TimeModifier, FixedModifier, and DummyModifier.