Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

MpSpikeInput Class Reference

#include <amygdala/mpspikeinput.h>

Inheritance diagram for MpSpikeInput:

SpikeInput List of all members.

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

Detailed Description

Buffer for incoming spikes from other instances.
Author:
Rudiger Koch


Member Function Documentation

void MpSpikeInput::queueSpike Synapse   synapse
 

queue a spike. Gets called directly only by other instances of this node

Parameters:
a  pointer to the SMPSynapse

virtual void MpSpikeInput::ReadInputBuffer   [virtual]
 

Calling this function empties the input buffer and delivers all pending spikes

Implements SpikeInput.


Member Data Documentation

vector<Synapse * >* MpSpikeInput::spikes [protected]
 

alternating vectors

pthread_mutex_t MpSpikeInput::spikes_mutex [protected]
 

Protect the spikes vector


The documentation for this class was generated from the following file:
Generated on Wed Sep 4 02:30:36 2002 for Amygdala by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002