SpikeStream Application Library
0.2
|
#include <AbstractDeviceManager.h>
Public Member Functions | |
AbstractDeviceManager () | |
virtual | ~AbstractDeviceManager () |
virtual QList< neurid_t >::iterator | outputNeuronsBegin ()=0 |
virtual QList< neurid_t >::iterator | outputNeuronsEnd ()=0 |
virtual void | setInputNeurons (timestep_t timeStep, QList< neurid_t > &firingNeuronIDs)=0 |
virtual void | step ()=0 |
double | getCurrent () |
bool | isFireNeuronMode () |
void | setCurrent (double current) |
void | setFireNeuronMode (bool fireNeuronMode) |
Defines a generic interface used by all device managers
Definition at line 13 of file AbstractDeviceManager.h.
Constructor
Definition at line 7 of file AbstractDeviceManager.cpp.
AbstractDeviceManager::~AbstractDeviceManager | ( | ) | [virtual] |
Destructor
Definition at line 13 of file AbstractDeviceManager.cpp.
double spikestream::AbstractDeviceManager::getCurrent | ( | ) | [inline] |
Returns the amount of current that device injects when fire Neuron mode is off
Definition at line 32 of file AbstractDeviceManager.h.
bool spikestream::AbstractDeviceManager::isFireNeuronMode | ( | ) | [inline] |
Returns whether neuron events from device fire neurons or inject current
Definition at line 35 of file AbstractDeviceManager.h.
virtual QList<neurid_t>::iterator spikestream::AbstractDeviceManager::outputNeuronsBegin | ( | ) | [pure virtual] |
Returns iterator pointing to start of list of firing neurons output from the device
virtual QList<neurid_t>::iterator spikestream::AbstractDeviceManager::outputNeuronsEnd | ( | ) | [pure virtual] |
Returns iterator pointing to end of list of firing neurons output from the device
void spikestream::AbstractDeviceManager::setCurrent | ( | double | current | ) | [inline] |
Sets the amount of current that device injects when fire neuron mode is off.
Definition at line 38 of file AbstractDeviceManager.h.
void spikestream::AbstractDeviceManager::setFireNeuronMode | ( | bool | fireNeuronMode | ) | [inline] |
Sets whether neuron events from device fire neurons or inject current
Definition at line 41 of file AbstractDeviceManager.h.
virtual void spikestream::AbstractDeviceManager::setInputNeurons | ( | timestep_t | timeStep, |
QList< neurid_t > & | firingNeuronIDs | ||
) | [pure virtual] |
Sets firing neuron ids entering the device.
virtual void spikestream::AbstractDeviceManager::step | ( | ) | [pure virtual] |
Steps the device forward one time step