CARLsim  4.1.0
CARLsim: a GPU-accelerated SNN simulator
SpikeGeneratorCore Class Reference

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...
 

Detailed Description

**************************************************************************************************************** /// 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.

See also
SpikeGenerator

Definition at line 69 of file callback_core.h.

Constructor & Destructor Documentation

◆ SpikeGeneratorCore()

**************************************************************************************************************** /// Classes for relay callback **************************************************************************************************************** ///

Definition at line 56 of file callback_core.cpp.

Member Function Documentation

◆ nextSpikeTime()

int nextSpikeTime ( SNN s,
int  grpId,
int  i,
int  currentTime,
int  lastScheduledSpikeTime,
int  endOfTimeSlice 
)
virtual
Attention
The virtual method should never be called directly

Definition at line 61 of file callback_core.cpp.


The documentation for this class was generated from the following files: