CARLsim  6.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 71 of file callback_core.h.

Constructor & Destructor Documentation

◆ SpikeGeneratorCore()

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

Definition at line 58 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 63 of file callback_core.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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