Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
|
#include <SteadyStateRestitutionStimulus.hpp>
Public Member Functions | |
SteadyStateRestitutionStimulus (double magnitude, double stimulusDuration, double startTime, std::vector< double > pacingCycleLengths, unsigned numberOfPulses) | |
Public Member Functions inherited from MultiStimulus | |
~MultiStimulus () | |
void | AddStimulus (boost::shared_ptr< AbstractStimulusFunction > pStimulus) |
virtual double | GetStimulus (double time) |
void | Clear () |
Public Member Functions inherited from AbstractStimulusFunction | |
virtual | ~AbstractStimulusFunction () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
SteadyStateRestitutionStimulus () | |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Protected Attributes inherited from MultiStimulus | |
std::vector< boost::shared_ptr< AbstractStimulusFunction > > | mStimuli |
This class provides a stimulus function which follows a dynamic restitution protocol. i.e.
Run a RegularStimulus at certain frequencies for a certain number of pulses. These are combined into a MultiStimulus.
Definition at line 53 of file SteadyStateRestitutionStimulus.hpp.
|
inlineprivate |
Private constructor - for archiving's eyes only.
Definition at line 74 of file SteadyStateRestitutionStimulus.hpp.
SteadyStateRestitutionStimulus::SteadyStateRestitutionStimulus | ( | double | magnitude, |
double | stimulusDuration, | ||
double | startTime, | ||
std::vector< double > | pacingCycleLengths, | ||
unsigned | numberOfPulses | ||
) |
Constructor
magnitude | The magnitude of the stimulus 'square wave'. |
stimulusDuration | The duration of the stimulus 'square wave'. |
startTime | The time at which to begin the S1 stimulus (this delay is automatically added to give smooth transition to S2). |
pacingCycleLengths | A vector containing the pacing cycle lengths (in ms) of each phase of the protocol |
numberOfPulses | The number of pulses to perform at each pacing cycle length |
Definition at line 38 of file SteadyStateRestitutionStimulus.cpp.
References MultiStimulus::AddStimulus().
|
inlineprivate |
Archive the simple stimulus, never used directly - boost uses this.
archive | |
version |
Definition at line 65 of file SteadyStateRestitutionStimulus.hpp.
|
friend |
Needed for serialization.
Definition at line 57 of file SteadyStateRestitutionStimulus.hpp.