Chaste Release::3.1
|
#include <AbstractStimulusFunction.hpp>
Public Member Functions | |
virtual double | GetStimulus (double time)=0 |
virtual | ~AbstractStimulusFunction () |
virtual void | Clear () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
Represents an abstract stimulus function. Sub-classes will implement the GetStimulus() function to represent the various type of stimuli to the cardiac cell.
Definition at line 52 of file AbstractStimulusFunction.hpp.
AbstractStimulusFunction::~AbstractStimulusFunction | ( | ) | [virtual] |
Destructor.
Definition at line 41 of file AbstractStimulusFunction.cpp.
void AbstractStimulusFunction::Clear | ( | ) | [virtual] |
Clear is used to managed memory in subclasses where the destructor may or may not need to clean up.
Reimplemented in MultiStimulus.
Definition at line 45 of file AbstractStimulusFunction.cpp.
References NEVER_REACHED.
Returns the stimulus at a given time.
time | time at which to return the stimulus |
Implemented in MultiStimulus, PurkinjeVentricularJunctionStimulus, RegularStimulus, RegularStimulusZeroNetCharge, S1S2Stimulus, SimpleStimulus, and ZeroStimulus.
void AbstractStimulusFunction::serialize | ( | Archive & | archive, |
const unsigned int | version | ||
) | [inline, private] |
Archive the member variables.
archive | |
version |
Reimplemented in DynamicRestitutionStimulus, MultiStimulus, RegularStimulus, RegularStimulusZeroNetCharge, S1S2Stimulus, SimpleStimulus, and ZeroStimulus.
Definition at line 63 of file AbstractStimulusFunction.hpp.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented in DynamicRestitutionStimulus, MultiStimulus, RegularStimulus, RegularStimulusZeroNetCharge, S1S2Stimulus, SimpleStimulus, and ZeroStimulus.
Definition at line 55 of file AbstractStimulusFunction.hpp.