AnalogSynapse Class Reference

Synapse for transmission of analog values. More...

#include <AnalogSynapse.h>

Inheritance diagram for AnalogSynapse:

Inheritance graph
[legend]
Collaboration diagram for AnalogSynapse:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AnalogSynapse ()
virtual ~AnalogSynapse ()
virtual double getAnalogOutput (analog_port_id_t port=0) const
 Return the analog value currently associated with the given port.
virtual void setAnalogInput (double i, analog_port_id_t port=0)
 Analog input to given port.
virtual int reset (double dt)
 Called at the beginning of a simulation at t=0.
virtual double getManagedDelay () const
virtual int nSpikeInputPorts () const
virtual int nSpikeOutputPorts () const
virtual int nAnalogInputPorts () const
virtual int nAnalogOutputPorts () const
virtual PortType outputPortType (port_t o) const
virtual PortType inputPortType (port_t i) const

Public Attributes

float delay
 The delay in seconds.
double psr
 The postsynaptic response.


Detailed Description

Synapse for transmission of analog values.

Definition at line 8 of file AnalogSynapse.h.


Constructor & Destructor Documentation

AnalogSynapse::AnalogSynapse (  ) 

Definition at line 3 of file AnalogSynapse.cpp.

AnalogSynapse::~AnalogSynapse (  )  [virtual]

Definition at line 7 of file AnalogSynapse.cpp.


Member Function Documentation

virtual double AnalogSynapse::getAnalogOutput ( analog_port_id_t  port = 0  )  const [inline, virtual]

Return the analog value currently associated with the given port.

Reimplemented from SimObject.

Definition at line 20 of file AnalogSynapse.h.

References psr.

virtual void AnalogSynapse::setAnalogInput ( double  value,
analog_port_id_t  port = 0 
) [inline, virtual]

Analog input to given port.

Reimplemented from SimObject.

Definition at line 25 of file AnalogSynapse.h.

References psr.

virtual int AnalogSynapse::reset ( double  dt  )  [inline, virtual]

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

Reimplemented from SimObject.

Definition at line 30 of file AnalogSynapse.h.

References psr.

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

Reimplemented from SimObject.

Definition at line 36 of file AnalogSynapse.h.

References delay.

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

Reimplemented from SimObject.

Definition at line 37 of file AnalogSynapse.h.

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

Reimplemented from SimObject.

Definition at line 38 of file AnalogSynapse.h.

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

Reimplemented from SimObject.

Definition at line 39 of file AnalogSynapse.h.

References MAX_PORT_NUMBER.

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

Reimplemented from SimObject.

Definition at line 40 of file AnalogSynapse.h.

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

Reimplemented from SimObject.

Definition at line 42 of file AnalogSynapse.h.

References SimObject::analog, and SimObject::undefined.

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

Reimplemented from SimObject.

Definition at line 47 of file AnalogSynapse.h.

References SimObject::analog.


Member Data Documentation


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

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