50 #ifndef _SPIKEGEN_FROM_FILE_H_ 51 #define _SPIKEGEN_FROM_FILE_H_ 150 void loadFile(std::string fileName,
int offsetTimeMs=0);
176 void rewind(
int offsetTimeMs);
192 int nextSpikeTime(
CARLsim* sim,
int grpId,
int nid,
int currentTime,
int lastScheduledSpikeTime,
int endOfTimeSlice);
198 std::string fileName_;
206 std::vector< std::vector<int> > spikes_;
209 std::vector< std::vector<int>::iterator > spikesIt_;
virtual int nextSpikeTime(CARLsim *s, int grpId, int i, int currentTime, int lastScheduledSpikeTime, int endOfTimeSlice)=0
controls spike generation using a callback mechanism
a SpikeGeneratorFromFile schedules spikes from a spike file binary
CARLsim User Interface This class provides a user interface to the public sections of CARLsimCore sou...
#define CARLSIM_SPIKE_GENERATORS_API