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

#include <input.h>

Inheritance diagram for SpineMLSimulator::Input::SpikeTime:
SpineMLSimulator::Input::SpikeBase SpineMLSimulator::Input::Base

Public Member Functions

 SpikeTime (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)
 
virtual void apply (double dt, unsigned long long timestep) override
 
- Public Member Functions inherited from SpineMLSimulator::Input::Base
virtual ~Base ()
 

Additional Inherited Members

- Protected Types inherited from SpineMLSimulator::Input::SpikeBase
typedef void(* PushCurrentSpikesFunc) ()
 
- Protected Member Functions inherited from 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)
 
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
 

Constructor & Destructor Documentation

◆ SpikeTime()

SpineMLSimulator::Input::SpikeTime::SpikeTime ( 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 
)

Member Function Documentation

◆ apply()

void SpineMLSimulator::Input::SpikeTime::apply ( double  dt,
unsigned long long  timestep 
)
overridevirtual

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