#include <DynamicRestitutionStimulus.hpp>
Inherits MultiStimulus.
Public Member Functions | |
DynamicRestitutionStimulus (double magnitude, double stimulusDuration, double startTime, std::vector< double > pacingCycleLengths, unsigned numberOfPulses) | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
DynamicRestitutionStimulus () | |
Friends | |
class | boost::serialization::access |
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 46 of file DynamicRestitutionStimulus.hpp.
DynamicRestitutionStimulus::DynamicRestitutionStimulus | ( | ) | [inline, private] |
Private constructor - for archiving's eyes only.
Definition at line 67 of file DynamicRestitutionStimulus.hpp.
DynamicRestitutionStimulus::DynamicRestitutionStimulus | ( | 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 31 of file DynamicRestitutionStimulus.cpp.
References MultiStimulus::AddStimulus().
void DynamicRestitutionStimulus::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Archive the simple stimulus, never used directly - boost uses this.
archive | ||
version |
Reimplemented from MultiStimulus.
Definition at line 58 of file DynamicRestitutionStimulus.hpp.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from MultiStimulus.
Definition at line 50 of file DynamicRestitutionStimulus.hpp.