SpikeTimeRecorder Class Reference

#include <SpikeTimeRecorder.h>

Inheritance diagram for SpikeTimeRecorder:

Inheritance graph
[legend]
Collaboration diagram for SpikeTimeRecorder:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SpikeTimeRecorder ()
virtual int reset (double dt)
 Called at the beginning of a simulation at t=0.
virtual int spikeHit (spikeport_t port, SpikeEvent const &spike)
const std::vector< double > & getSpikeTimes (void) const
const std::vector< double > & getRecordedValues (void) const
size_t spikeCount () const
void printSpikeTimes (void)
virtual double getManagedDelay () const
virtual int nSpikeInputPorts () const
virtual int nAnalogInputPorts () const
virtual PortType inputPortType (port_t i) const
virtual int nSpikeOutputPorts () const
virtual int nAnalogOutputPorts () const
virtual PortType outputPortType (port_t o) const

Friends

class DistributedSingleThreadNetworkTest
class DistributedMultiThreadNetworkTest
class STandMTSpikeExchangeTest
class DistributedAnalogCommunicationFinalTest


Detailed Description

Definition at line 8 of file SpikeTimeRecorder.h.


Constructor & Destructor Documentation

SpikeTimeRecorder::SpikeTimeRecorder (  ) 

Definition at line 8 of file SpikeTimeRecorder.cpp.


Member Function Documentation

int SpikeTimeRecorder::reset ( double  dt  )  [virtual]

Called at the beginning of a simulation at t=0.

Reimplemented from SimObject.

Definition at line 22 of file SpikeTimeRecorder.cpp.

int SpikeTimeRecorder::spikeHit ( spikeport_t  port,
SpikeEvent const &  spike 
) [virtual]

Function to be called if the object is hit by a spike Called by spike exchange mechanims if a spike hits (arrives at) the object A return value of greater 0 indicates that the object is currently not active and the sim engine has to put this object into its list of active spike receivers. A return value of 0 indicates the the object is currently active (i.e. is already in the list of active receviers) and need not to be put into the list of active synapses.

Reimplemented from SimObject.

Definition at line 28 of file SpikeTimeRecorder.cpp.

References SpikeEvent::time().

Here is the call graph for this function:

const vector< double > & SpikeTimeRecorder::getSpikeTimes ( void   )  const

Definition at line 34 of file SpikeTimeRecorder.cpp.

Referenced by getRecordedValues().

const std::vector<double>& SpikeTimeRecorder::getRecordedValues ( void   )  const [inline]

Definition at line 24 of file SpikeTimeRecorder.h.

References getSpikeTimes().

Here is the call graph for this function:

size_t SpikeTimeRecorder::spikeCount (  )  const

Definition at line 39 of file SpikeTimeRecorder.cpp.

void SpikeTimeRecorder::printSpikeTimes ( void   ) 

Definition at line 13 of file SpikeTimeRecorder.cpp.

virtual double SpikeTimeRecorder::getManagedDelay (  )  const [inline, virtual]

Reimplemented from SimObject.

Definition at line 37 of file SpikeTimeRecorder.h.

virtual int SpikeTimeRecorder::nSpikeInputPorts (  )  const [inline, virtual]

Reimplemented from SimObject.

Definition at line 39 of file SpikeTimeRecorder.h.

virtual int SpikeTimeRecorder::nAnalogInputPorts (  )  const [inline, virtual]

Reimplemented from SimObject.

Definition at line 40 of file SpikeTimeRecorder.h.

virtual PortType SpikeTimeRecorder::inputPortType ( port_t  i  )  const [inline, virtual]

Reimplemented from SimObject.

Definition at line 41 of file SpikeTimeRecorder.h.

References SimObject::spiking, and SimObject::undefined.

virtual int SpikeTimeRecorder::nSpikeOutputPorts (  )  const [inline, virtual]

Reimplemented from SimObject.

Definition at line 43 of file SpikeTimeRecorder.h.

virtual int SpikeTimeRecorder::nAnalogOutputPorts (  )  const [inline, virtual]

Reimplemented from SimObject.

Definition at line 44 of file SpikeTimeRecorder.h.

virtual PortType SpikeTimeRecorder::outputPortType ( port_t  o  )  const [inline, virtual]

Reimplemented from SimObject.

Definition at line 45 of file SpikeTimeRecorder.h.

References SimObject::undefined.


Friends And Related Function Documentation

friend class DistributedSingleThreadNetworkTest [friend]

Definition at line 45 of file SpikeTimeRecorder.h.

friend class DistributedMultiThreadNetworkTest [friend]

Definition at line 49 of file SpikeTimeRecorder.h.

friend class STandMTSpikeExchangeTest [friend]

Definition at line 50 of file SpikeTimeRecorder.h.

friend class DistributedAnalogCommunicationFinalTest [friend]

Definition at line 51 of file SpikeTimeRecorder.h.


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

Generated on Wed Jul 9 16:34:55 2008 for PCSIM by  doxygen 1.5.5