SpikeOutputPort Class Reference

#include <SpikeOutputPort.h>

Collaboration diagram for SpikeOutputPort:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SpikeOutputPort (void)
void setSpike (AdvanceInfo const &ai)
void setSpike (AdvanceInfo const &ai, double t)
void setSpikeByOffset (AdvanceInfo const &ai, double delta, bool calcSpikeTime=true)
void setSpikeByOffsetFraction (AdvanceInfo const &ai, float k, bool calcSpikeTime=true)
void clearSpike ()
bool hasSpike ()
double spikeTime ()
spike_port_id_t ID ()

Protected Member Functions

void setID (spike_port_id_t id)

Friends

class SingleThreadSimEngine


Detailed Description

Definition at line 8 of file SpikeOutputPort.h.


Constructor & Destructor Documentation

SpikeOutputPort::SpikeOutputPort ( void   )  [inline]

Definition at line 11 of file SpikeOutputPort.h.


Member Function Documentation

void SpikeOutputPort::setSpike ( AdvanceInfo const &  ai  ) 

void SpikeOutputPort::setSpike ( AdvanceInfo const &  ai,
double  t 
)

Definition at line 31 of file SpikeOutputPort.cpp.

References Time::in_sec(), setSpikeByOffset(), and AdvanceInfo::t.

Here is the call graph for this function:

void SpikeOutputPort::setSpikeByOffset ( AdvanceInfo const &  ai,
double  delta,
bool  calcSpikeTime = true 
)

Definition at line 23 of file SpikeOutputPort.cpp.

References AdvanceInfo::dt, Time::in_sec(), setSpikeByOffsetFraction(), and AdvanceInfo::t.

Referenced by setSpike().

Here is the call graph for this function:

void SpikeOutputPort::setSpikeByOffsetFraction ( AdvanceInfo const &  ai,
float  k,
bool  calcSpikeTime = true 
)

void SpikeOutputPort::clearSpike (  )  [inline]

Definition at line 18 of file SpikeOutputPort.h.

Referenced by SingleOutputSpikeSender::reset().

bool SpikeOutputPort::hasSpike (  )  [inline]

Definition at line 19 of file SpikeOutputPort.h.

double SpikeOutputPort::spikeTime (  )  [inline]

Definition at line 20 of file SpikeOutputPort.h.

Referenced by SpikingInputNeuron::getLastSpikeTime().

spike_port_id_t SpikeOutputPort::ID ( void   )  [inline]

void SpikeOutputPort::setID ( spike_port_id_t  id  )  [inline, protected]

Definition at line 25 of file SpikeOutputPort.h.

Referenced by SingleThreadSimEngine::addSpikePorts().


Friends And Related Function Documentation

friend class SingleThreadSimEngine [friend]

Definition at line 21 of file SpikeOutputPort.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