37#ifndef _SIMPLESTIMULUS_HPP_
38#define _SIMPLESTIMULUS_HPP_
41#include <boost/serialization/base_object.hpp>
43#include "AbstractStimulusFunction.hpp"
59 template<
class Archive>
60 void serialize(Archive & archive,
const unsigned int version)
63 archive & boost::serialization::base_object<AbstractStimulusFunction>(*
this);
91 SimpleStimulus(
double magnitudeOfStimulus,
double duration,
double timeOfStimulus=0.0);
120namespace serialization
126template<
class Archive>
127inline void load_construct_data(
128 Archive & ar,
SimpleStimulus * t,
const unsigned int file_version)
gcov doesn't like this file...
#define CHASTE_CLASS_EXPORT(T)
void serialize(Archive &archive, const unsigned int version)
virtual ~SimpleStimulus()
double mMagnitudeOfStimulus
void SetStartTime(double startTime)
friend class boost::serialization::access
double GetStimulus(double time)