Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
AbstractStimulusFunction Class Referenceabstract

#include <AbstractStimulusFunction.hpp>

+ Inheritance diagram for AbstractStimulusFunction:
+ Collaboration diagram for AbstractStimulusFunction:

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~AbstractStimulusFunction()

AbstractStimulusFunction::~AbstractStimulusFunction ( )
virtual

Destructor.

Definition at line 41 of file AbstractStimulusFunction.cpp.

Member Function Documentation

◆ Clear()

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 46 of file AbstractStimulusFunction.cpp.

References NEVER_REACHED.

◆ GetStimulus()

virtual double AbstractStimulusFunction::GetStimulus ( double  time)
pure virtual
Returns
the stimulus at a given time.
Parameters
timetime at which to return the stimulus

Implemented in MultiStimulus, PurkinjeVentricularJunctionStimulus, RegularStimulus, RegularStimulusZeroNetCharge, S1S2Stimulus, SimpleStimulus, and ZeroStimulus.

◆ serialize()

template<class Archive >
void AbstractStimulusFunction::serialize ( Archive &  archive,
const unsigned int  version 
)
inlineprivate

Archive the member variables.

Parameters
archive
version

Definition at line 63 of file AbstractStimulusFunction.hpp.

Friends And Related Symbol Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Needed for serialization.

Definition at line 55 of file AbstractStimulusFunction.hpp.


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