#include <AnalogSynapse.h>
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. |
Definition at line 8 of file AnalogSynapse.h.
AnalogSynapse::AnalogSynapse | ( | ) |
Definition at line 3 of file AnalogSynapse.cpp.
AnalogSynapse::~AnalogSynapse | ( | ) | [virtual] |
Definition at line 7 of file AnalogSynapse.cpp.
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.
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] |
virtual int AnalogSynapse::nSpikeInputPorts | ( | ) | const [inline, virtual] |
virtual int AnalogSynapse::nSpikeOutputPorts | ( | ) | const [inline, virtual] |
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 42 of file AnalogSynapse.h.
References SimObject::analog, and SimObject::undefined.
Reimplemented from SimObject.
Definition at line 47 of file AnalogSynapse.h.
References SimObject::analog.
The delay in seconds.
Definition at line 15 of file AnalogSynapse.h.
Referenced by CbStaticAnalogSynapse::CbStaticAnalogSynapse(), getManagedDelay(), and StaticAnalogSynapse::StaticAnalogSynapse().
The postsynaptic response.
Definition at line 18 of file AnalogSynapse.h.
Referenced by CurrentBasedAnalogSynapse::advance(), ConductanceBasedAnalogSynapse::advance(), getAnalogOutput(), reset(), and setAnalogInput().