GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
SpineMLSimulator::Input::SpikeBase Class Reference

#include <input.h>

Inheritance diagram for SpineMLSimulator::Input::SpikeBase:
SpineMLSimulator::Input::Base SpineMLSimulator::Input::InterSpikeIntervalBase SpineMLSimulator::Input::SpikeTime SpineMLSimulator::Input::PoissonSpikeRate SpineMLSimulator::Input::RegularSpikeRate

Protected Types

typedef void(* PushCurrentSpikesFunc) ()
 

Protected Member Functions

 SpikeBase (double dt, const pugi::xml_node &node, std::unique_ptr< InputValue::Base > value, unsigned int popSize, unsigned int *spikeQueuePtr, unsigned int *hostSpikeCount, unsigned int *hostSpikes, PushCurrentSpikesFunc pushCurrentSpikes)
 
void injectSpike (unsigned int neuronID)
 
void uploadSpikes ()
 
- Protected Member Functions inherited from SpineMLSimulator::Input::Base
 Base (double dt, const pugi::xml_node &node, std::unique_ptr< InputValue::Base > value)
 
bool shouldApply (unsigned long long timestep) const
 
void updateValues (double dt, unsigned long long timestep, std::function< void(unsigned int, double)> applyValueFunc) const
 

Additional Inherited Members

- Public Member Functions inherited from SpineMLSimulator::Input::Base
virtual ~Base ()
 
virtual void apply (double dt, unsigned long long timestep)=0
 

Member Typedef Documentation

◆ PushCurrentSpikesFunc

typedef void(* SpineMLSimulator::Input::SpikeBase::PushCurrentSpikesFunc) ()
protected

Constructor & Destructor Documentation

◆ SpikeBase()

SpineMLSimulator::Input::SpikeBase::SpikeBase ( double  dt,
const pugi::xml_node &  node,
std::unique_ptr< InputValue::Base value,
unsigned int  popSize,
unsigned int *  spikeQueuePtr,
unsigned int *  hostSpikeCount,
unsigned int *  hostSpikes,
PushCurrentSpikesFunc  pushCurrentSpikes 
)
protected

Member Function Documentation

◆ injectSpike()

void SpineMLSimulator::Input::SpikeBase::injectSpike ( unsigned int  neuronID)
protected

◆ uploadSpikes()

void SpineMLSimulator::Input::SpikeBase::uploadSpikes ( )
protected

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