Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
SteadyStateRestitutionStimulus Class Reference

#include <SteadyStateRestitutionStimulus.hpp>

+ Inheritance diagram for SteadyStateRestitutionStimulus:
+ Collaboration diagram for SteadyStateRestitutionStimulus:

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SteadyStateRestitutionStimulus() [1/2]

SteadyStateRestitutionStimulus::SteadyStateRestitutionStimulus ( )
inlineprivate

Private constructor - for archiving's eyes only.

Definition at line 74 of file SteadyStateRestitutionStimulus.hpp.

◆ SteadyStateRestitutionStimulus() [2/2]

SteadyStateRestitutionStimulus::SteadyStateRestitutionStimulus ( double  magnitude,
double  stimulusDuration,
double  startTime,
std::vector< double pacingCycleLengths,
unsigned  numberOfPulses 
)

Constructor

Parameters
magnitudeThe magnitude of the stimulus 'square wave'.
stimulusDurationThe duration of the stimulus 'square wave'.
startTimeThe time at which to begin the S1 stimulus (this delay is automatically added to give smooth transition to S2).
pacingCycleLengthsA vector containing the pacing cycle lengths (in ms) of each phase of the protocol
numberOfPulsesThe number of pulses to perform at each pacing cycle length

Definition at line 38 of file SteadyStateRestitutionStimulus.cpp.

References MultiStimulus::AddStimulus().

Member Function Documentation

◆ serialize()

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

Archive the simple stimulus, never used directly - boost uses this.

Parameters
archive
version

Definition at line 65 of file SteadyStateRestitutionStimulus.hpp.

Friends And Related Symbol Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Needed for serialization.

Definition at line 57 of file SteadyStateRestitutionStimulus.hpp.


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