37 #ifndef MULTISTIMULUS_HPP_
38 #define MULTISTIMULUS_HPP_
43 #include <boost/serialization/base_object.hpp>
44 #include <boost/serialization/vector.hpp>
45 #include <boost/shared_ptr.hpp>
46 #include <boost/serialization/shared_ptr.hpp>
48 #include "AbstractStimulusFunction.hpp"
69 template<
class Archive>
70 void serialize(Archive & archive,
const unsigned int version)
73 archive & boost::serialization::base_object<AbstractStimulusFunction>(*this);
78 std::vector<boost::shared_ptr<AbstractStimulusFunction> >
mStimuli;
91 void AddStimulus(boost::shared_ptr<AbstractStimulusFunction> pStimulus);
void serialize(Archive &archive, const unsigned int version)
friend class boost::serialization::access
std::vector< boost::shared_ptr< AbstractStimulusFunction > > mStimuli
virtual double GetStimulus(double time)
void AddStimulus(boost::shared_ptr< AbstractStimulusFunction > pStimulus)
#define CHASTE_CLASS_EXPORT(T)