#include <ZeroStimulus.hpp>
Inherits AbstractStimulusFunction.
Public Member Functions | |
double | GetStimulus (double time) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
Stimulus which is always zero. More efficient than using an SimpleStimulus with magnitude zero
Definition at line 41 of file ZeroStimulus.hpp.
Returns the stimulus at a given time.
time | time at which to return the stimulus |
Implements AbstractStimulusFunction.
Definition at line 39 of file ZeroStimulus.cpp.
void ZeroStimulus::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Archive the zero stimulus, never used directly - boost uses this.
archive | ||
version |
Reimplemented from AbstractStimulusFunction.
Definition at line 52 of file ZeroStimulus.hpp.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractStimulusFunction.
Definition at line 44 of file ZeroStimulus.hpp.