37 #include "MultiStimulus.hpp" 46 double total_stimulus = 0.0;
48 for (
unsigned stimulus_index = 0; stimulus_index <
mStimuli.size(); ++stimulus_index)
50 total_stimulus +=
mStimuli[stimulus_index]->GetStimulus(time);
53 return total_stimulus;
std::vector< boost::shared_ptr< AbstractStimulusFunction > > mStimuli
virtual double GetStimulus(double time)
void AddStimulus(boost::shared_ptr< AbstractStimulusFunction > pStimulus)
#define CHASTE_CLASS_EXPORT(T)