CARLsim
6.1.0
CARLsim: a GPU-accelerated SNN simulator
|
used for relaying callback to SpikeGenerator More...
#include <callback_core.h>
Public Member Functions | |
SpikeGeneratorCore (CARLsim *c, SpikeGenerator *s) | |
virtual int | nextSpikeTime (SNN *s, int grpId, int i, int currentTime, int lastScheduledSpikeTime, int endOfTimeSlice) |
controls spike generation using a callback mechanism More... | |
**************************************************************************************************************** /// Classes for relay callback **************************************************************************************************************** ///
The class is used to store user-defined callback function and to be registered in core (i.e., snn_cpu.cpp) Once the core invokes the callback method of the class, the class relays all parameter and invokes user-defined callback function.
Definition at line 71 of file callback_core.h.
SpikeGeneratorCore | ( | CARLsim * | c, |
SpikeGenerator * | s | ||
) |
**************************************************************************************************************** /// Classes for relay callback **************************************************************************************************************** ///
Definition at line 58 of file callback_core.cpp.
|
virtual |
Definition at line 63 of file callback_core.cpp.