#include <amygdala/mpspikeinput.h>
Inheritance diagram for MpSpikeInput:
Public Methods | |
MpSpikeInput (Network *NN) | |
virtual | ~MpSpikeInput () |
virtual void | ReadInputBuffer () |
void | queueSpike (Synapse *synapse) |
Protected Attributes | |
pthread_mutex_t | spikes_mutex |
vector< Synapse * > * | spikes |
vector< Synapse * > * | spikes_rest |
|
queue a spike. Gets called directly only by other instances of this node
|
|
Calling this function empties the input buffer and delivers all pending spikes Implements SpikeInput. |
|
alternating vectors |
|
Protect the spikes vector |