#include <SimObject.h>
Defining the inputs and outputs of the SimObject | |
enum | PortType { spiking, analog, undefined } |
virtual int | nSpikeInputPorts () const |
virtual int | nSpikeOutputPorts () const |
virtual int | nAnalogInputPorts () const |
virtual int | nAnalogOutputPorts () const |
virtual PortType | outputPortType (port_t p) const |
virtual PortType | inputPortType (port_t p) const |
SimObject type issues | |
class | SimObjectRegistry |
static object_type_t | type = INVALID_OBJECT_TYPE_ID |
Object type (defined by one of the macros REGISTER_* which are define in SimObjectRegistry.h). | |
static SimObjectInformation * | simObjectInfo = NULL |
virtual SimObjectInformation const * | getSimObjectInformation (void) |
Field const * | findField (string const &fieldname) |
void | setScalarField (Field const *f, double v) |
double | getScalarField (Field const *f) |
virtual void | setObjectTypeID (object_type_t tid) |
The SimObjectRegistry is responsible for assigning suitable object type values. | |
virtual void | setSimObjectInformation (SimObjectInformation *info) |
Memory management | |
void * | operator new (size_t sz) |
void | operator delete (void *, size_t) |
void * | operator new[] (size_t sz) |
void | operator delete[] (void *, size_t) |
static void | setAllocator (BlockAllocator &ba) |
Public Member Functions | |
Constructor destructor | |
SimObject (engineid_t eid=0) | |
This constructor is just for testing not to be used in other parts of the application. | |
virtual | ~SimObject () |
Methods for defining the model to be simulated | |
virtual int | init (InitializeInfo *ii) |
Called during network initialization (prior to reset). | |
virtual int | check (void) |
Check the internal consistency of the object. | |
virtual int | adjust (double dt) |
This tells the object that it should adjust to a new simulation time step width. | |
virtual int | reset (double dt) |
Called at the beginning of a simulation at t=0. | |
virtual int | advance (AdvanceInfo const &) |
Calculate the next state and output/propagate the result to succesors/outgoing objects. | |
Local connectivity (tight links) | |
virtual void | incoming (SimObject *sender, ID const &snd, ID const &self, SimNetwork &net) |
This method will be called if a the object sender wants to send information to this object. | |
virtual void | outgoing (SimObject *receiver, ID const &rec, ID const &self, SimNetwork &net) |
This method will be called if this object wants to send information to the object receiver. | |
virtual void | outgoing (SimObject *receiver) |
This method will be called if the object wants to send information to the object receiver. | |
virtual void | incoming (SimObject *sender) |
This method will be called if a the object sender wants to send information to this object. | |
Input of arriving spikes | |
virtual int | spikeHit (spikeport_t port, SpikeEvent const &spike) |
virtual double | getManagedDelay () const |
In- and output of analog values | |
virtual int | getFieldOffset (string const &fieldname) |
Return the offset in the memory layout of the object of the specified field. | |
virtual double | getAnalogOutput (analog_port_id_t port=0) const |
Return the analog value currently associated with the given port. | |
virtual void | setAnalogInput (double value, analog_port_id_t port=0) |
Analog input to given port. | |
virtual bool | owned_by_net () |
Returns a flag whether the sim object is owned by the network or not. | |
virtual SimObject * | getChainedObject () |
Returns a pointer to the SimObject that this Simobject is attached/mounted to. | |
virtual bool | toBeActivated () |
virtual SimObject * | getInputTarget (int target_id=0) |
virtual void | deepCopy (const SimObject *obj) |
Classes | |
class | BlockAllocator |
Class for memory management of SimObjects. More... | |
class | ID |
Class containing all the id's necessary to uniquely identify a simulation object. More... |
SimObject defines the interface for all simulation objects.
The methods reset(), adjust() and advance() define the implemented model.
The methods nSpikeInputPorts(), SpikeOutputPorts(), nAnalogInputPorts(), nAnalogOutputPorts() , outputPortType, inputPortType define the input and outputs.
At the beginning of a simulation (at time ) reset() is called. For each time step (of fixed length ) during the simulation advance() will be called for each object and it is assumed that during the call to advance() the object calculates its next state.
Definition at line 99 of file SimObject.h.
enum SimObject::PortType |
SimObject::SimObject | ( | engineid_t | eid = 0 |
) |
This constructor is just for testing not to be used in other parts of the application.
Definition at line 17 of file SimObject.cpp.
SimObject::~SimObject | ( | ) | [virtual] |
Definition at line 20 of file SimObject.cpp.
virtual int SimObject::nSpikeInputPorts | ( | ) | const [inline, virtual] |
Reimplemented in aEIFNeuronBase, AnalogInputNeuron, AnalogLevelBasedInputNeuron, AnalogPointNeuron, AnalogRecorder, AnalogSynapse, FiniteSpikeResponse, GaussianNoise, InfiniteSpikeResponse, IzhiNeuronBase, LifNeuronBase, LinearPoissonNeuron, ODESystemBasedSpikingNeuron, PoissonInputNeuron, PySimObjectStub, SimpleScalingSpikingSynapse, SimProgressBar, SpikeTimeRecorder, SpikingInputNeuron, CompositeNeuron< CbaEIFNeuron >, CompositeNeuron< CbLifNeuron >, and CompositeNeuron< LifNeuron >.
Definition at line 209 of file SimObject.h.
virtual int SimObject::nSpikeOutputPorts | ( | ) | const [inline, virtual] |
Reimplemented in aEIFNeuronBase, AnalogInputNeuron, AnalogLevelBasedInputNeuron, AnalogPointNeuron, AnalogRecorder, AnalogSynapse, FiniteSpikeResponse, GaussianNoise, InfiniteSpikeResponse, IzhiNeuronBase, LifNeuronBase, LinearPoissonNeuron, ODESystemBasedSpikingNeuron, PoissonInputNeuron, PySimObjectStub, SimpleScalingSpikingSynapse, SimProgressBar, SpikeTimeRecorder, SpikingInputNeuron, CompositeNeuron< CbaEIFNeuron >, CompositeNeuron< CbLifNeuron >, and CompositeNeuron< LifNeuron >.
Definition at line 210 of file SimObject.h.
Referenced by SingleThreadSimEngine::addSpikePorts().
virtual int SimObject::nAnalogInputPorts | ( | ) | const [inline, virtual] |
Reimplemented in aEIFNeuronBase, AnalogInputNeuron, AnalogLevelBasedInputNeuron, AnalogPointNeuron, AnalogRecorder, AnalogSynapse, DARecvLifNeuron, DARecvCbLifNeuron, DARecvLinearPoissonNeuron, FiniteSpikeResponse, GaussianNoise, InfiniteSpikeResponse, IzhiNeuronBase, LifNeuronBase, LinearPoissonNeuron, ODESystemBasedSpikingNeuron, OnlineAverager, OnlineHistogramGenerator, PoissonInputNeuron, PySimObjectStub, SimpleScalingSpikingSynapse, SimProgressBar, SpikeTimeRecorder, SpikingInputNeuron, CompositeNeuron< CbaEIFNeuron >, CompositeNeuron< CbLifNeuron >, and CompositeNeuron< LifNeuron >.
Definition at line 211 of file SimObject.h.
virtual int SimObject::nAnalogOutputPorts | ( | ) | const [inline, virtual] |
Reimplemented in aEIFNeuronBase, AnalogInputNeuron, AnalogLevelBasedInputNeuron, AnalogPointNeuron, AnalogRecorder, AnalogSynapse, FiniteSpikeResponse, GaussianNoise, InfiniteSpikeResponse, IzhiNeuronBase, LifNeuronBase, LinearPoissonNeuron, ODESystemBasedSpikingNeuron, OnlineAverager, OnlineHistogramGenerator, PoissonInputNeuron, PySimObjectStub, SimpleScalingSpikingSynapse, SimProgressBar, SpikeTimeRecorder, SpikingInputNeuron, CompositeNeuron< CbaEIFNeuron >, CompositeNeuron< CbLifNeuron >, and CompositeNeuron< LifNeuron >.
Definition at line 212 of file SimObject.h.
Referenced by SingleThreadSimEngine::addSpikePorts().
Reimplemented in aEIFNeuronBase, AnalogInputNeuron, AnalogLevelBasedInputNeuron, AnalogPointNeuron, AnalogRecorder, AnalogSynapse, FiniteSpikeResponse, GaussianNoise, InfiniteSpikeResponse, IzhiNeuronBase, LifNeuronBase, LinearPoissonNeuron, ODESystemBasedSpikingNeuron, OnlineAverager, OnlineHistogramGenerator, PoissonInputNeuron, PySimObjectStub, SimProgressBar, SpikeTimeRecorder, SpikingInputNeuron, CompositeNeuron< CbaEIFNeuron >, CompositeNeuron< CbLifNeuron >, and CompositeNeuron< LifNeuron >.
Definition at line 213 of file SimObject.h.
Referenced by SingleThreadNetwork::_connect_(), MultiThreadNetwork::_connect_(), SingleThreadSimEngine::addSpikePorts(), GenericOnePairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::incoming(), GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::incoming(), and GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::incoming().
Reimplemented in aEIFNeuronBase, AnalogInputNeuron, AnalogLevelBasedInputNeuron, AnalogPointNeuron, AnalogRecorder, AnalogSynapse, DARecvLifNeuron, DARecvCbLifNeuron, DARecvLinearPoissonNeuron, FiniteSpikeResponse, GaussianNoise, InfiniteSpikeResponse, IzhiNeuronBase, LifNeuronBase, LinearPoissonNeuron, ODESystemBasedSpikingNeuron, OnlineAverager, OnlineHistogramGenerator, PoissonInputNeuron, PySimObjectStub, SimpleScalingSpikingSynapse, SimProgressBar, SpikeTimeRecorder, SpikingInputNeuron, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > >, and GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >.
Definition at line 214 of file SimObject.h.
Referenced by SingleThreadNetwork::_connect_(), and MultiThreadNetwork::_connect_().
virtual int SimObject::init | ( | InitializeInfo * | ii | ) | [inline, virtual] |
Called during network initialization (prior to reset).
Reimplemented in AnalogDelayObject, ODESystemBasedSpikingNeuron, PySimObjectStub, CompositeNeuron< CbaEIFNeuron >, CompositeNeuron< CbLifNeuron >, CompositeNeuron< LifNeuron >, GenericGlutamateSynapse< ExponentialDecaySpikeResponse >, GenericGlutamateSynapse< DoubleExponentialSpikeResponse >, GenericGlutamateSynapse< AlphaFunctionSpikeResponse >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, and GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >.
Definition at line 223 of file SimObject.h.
virtual int SimObject::check | ( | void | ) | [inline, virtual] |
Check the internal consistency of the object.
Reimplemented in PySimObjectStub.
Definition at line 226 of file SimObject.h.
This tells the object that it should adjust to a new simulation time step width.
Reimplemented in aEIFNeuronBase, AlphaFunctionSpikeResponse, AlphaInfiniteSpikeResponse, DoubleExponentialSpikeResponse, ExponentialDecaySpikeResponse, GenericNonLinGABASynapse< Response >, IzhiNeuronBase, LifNeuron, CbLifNeuron, LinearPoissonNeuron, ODESystemBasedSpikingNeuron, OUNoiseResponse, PySimObjectStub, GenericGABASynapse< ExponentialDecaySpikeResponse >, GenericGABASynapse< DoubleExponentialSpikeResponse >, GenericGABASynapse< AlphaFunctionSpikeResponse >, GenericGlutamateSynapse< ExponentialDecaySpikeResponse >, GenericGlutamateSynapse< DoubleExponentialSpikeResponse >, GenericGlutamateSynapse< AlphaFunctionSpikeResponse >, and GenericNonLinGABASynapse< ExponentialDecaySpikeResponse >.
Definition at line 231 of file SimObject.h.
Referenced by GenericNonLinGABASynapse< ExponentialDecaySpikeResponse >::adjust(), and LifNeuronBase::reset().
Called at the beginning of a simulation at t=0.
Reimplemented in AnalogDelayObject, aEIFNeuronBase, AlphaFunctionSpikeResponse, AlphaInfiniteSpikeResponse, AnalogInputNeuron, AnalogLevelBasedInputNeuron, AnalogPointNeuron, AnalogRecorder, AnalogSynapse, aEIFCondAlphaNeuron, LIFCurrAlphaNeuron, LIFCurrExpNeuron, LIFCondAlphaNeuron, LIFCondExpNeuron, DoubleExponentialSpikeResponse, ExponentialDecaySpikeResponse, FiniteSpikeResponse, GABA_BResponse, GABA_BResponseNest, GABA_BResponseODE, DynamicNonLinGABAExpSynapse, StaticNonLinGABAExpSynapse, DynamicGABAExpSynapse, DynamicGABADoubleExpSynapse, DynamicGABAAlphaSynapse, StaticGABAExpSynapse, StaticGABADoubleExpSynapse, StaticGABAAlphaSynapse, GaussianNoise, GenericNonLinGABASynapse< Response >, DynamicGlutamateExpSynapse, DynamicGlutamateAlphaSynapse, DynamicGlutamateDoubleExpSynapse, StaticGlutamateExpSynapse, StaticGlutamateAlphaSynapse, StaticGlutamateDoubleExpSynapse, HHNeuron, HHINeuron, HHNeuronTraubMiles91, HomDynGlutamateExpSynapse, InfiniteSpikeResponse, IzhiNeuronBase, LifNeuronBase, LinearPoissonNeuron, OnlineAverager, OnlineHistogramGenerator, OUNoiseResponse, PoissonInputNeuron, PySimObjectStub, SimProgressBar, SpikeTimeRecorder, SpikingInputNeuron, SquarePulseSpikeResponse, CompositeNeuron< CbaEIFNeuron >, CompositeNeuron< CbLifNeuron >, CompositeNeuron< LifNeuron >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericNonLinGABASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGABASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericGABASynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGABASynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< AlphaFunctionSpikeResponse > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericFacetsHWDepressionSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericFacetsHWDepressionSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericFacetsHWFacilitationSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericFacetsHWFacilitationSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericGABASynapse< ExponentialDecaySpikeResponse >, GenericGABASynapse< DoubleExponentialSpikeResponse >, GenericGABASynapse< AlphaFunctionSpikeResponse >, GenericGlutamateSynapse< ExponentialDecaySpikeResponse >, GenericGlutamateSynapse< DoubleExponentialSpikeResponse >, GenericGlutamateSynapse< AlphaFunctionSpikeResponse >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericNonLinGABASynapse< ExponentialDecaySpikeResponse >, GenericOnePairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, and GenericOnePairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >.
Definition at line 234 of file SimObject.h.
virtual int SimObject::advance | ( | AdvanceInfo const & | ) | [inline, virtual] |
Calculate the next state and output/propagate the result to succesors/outgoing objects.
The return value of advance contains several bits of information which can be decoded with the bit masks ADVANCEFLAG_* like ADVANCEFLAG_HASSPIKED and ADVANCEFLAG_DEACTIVATE.
Reimplemented in AnalogDelayObject, aEIFNeuronBase, AlphaFunctionSpikeResponse, AlphaInfiniteSpikeResponse, AnalogInputNeuron, AnalogLevelBasedInputNeuron, AnalogPointNeuron, AnalogRecorder, ConductanceBasedAnalogSynapse, CurrentBasedAnalogSynapse, DoubleExponentialSpikeResponse, EvLifNeuron, ExponentialDecaySpikeResponse, GABA_BResponse, GABA_BResponseNest, GABA_BResponseODE, GaussianNoise, GenericNonLinGABASynapse< Response >, IzhiNeuronBase, ExIzhiNeuronBase, LifNeuron, CbLifNeuron, LinearPoissonNeuron, ODESystemBasedSpikingNeuron, OnlineAverager, OnlineHistogramGenerator, OUNoiseResponse, PoissonInputNeuron, PySimObjectStub, SimpleScalingSpikingSynapse, SimProgressBar, SpikingInputNeuron, SquarePulseSpikeResponse, CompositeNeuron< CbaEIFNeuron >, CompositeNeuron< CbLifNeuron >, CompositeNeuron< LifNeuron >, GenericConductanceBasedSpikingSynapse< GABA_BResponse >, GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse >, GenericConductanceBasedSpikingSynapse< GABA_BResponseODE >, GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse >, GenericConductanceBasedSpikingSynapse< GABA_BResponseNest >, GenericConductanceBasedSpikingSynapse< AlphaFunctionSpikeResponse >, GenericConductanceBasedSpikingSynapse< OUNoiseResponse >, GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse >, GenericCurrentBasedSpikingSynapse< DoubleExponentialSpikeResponse >, GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse >, GenericCurrentBasedSpikingSynapse< AlphaInfiniteSpikeResponse >, GenericCurrentBasedSpikingSynapse< AlphaFunctionSpikeResponse >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >, GenericGABASynapse< ExponentialDecaySpikeResponse >, GenericGABASynapse< DoubleExponentialSpikeResponse >, GenericGABASynapse< AlphaFunctionSpikeResponse >, GenericGlutamateSynapse< ExponentialDecaySpikeResponse >, GenericGlutamateSynapse< DoubleExponentialSpikeResponse >, GenericGlutamateSynapse< AlphaFunctionSpikeResponse >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericNMDASynapse< ExponentialDecaySpikeResponse >, GenericNMDASynapse< DoubleExponentialSpikeResponse >, GenericNMDASynapse< AlphaFunctionSpikeResponse >, GenericNonLinGABASynapse< ExponentialDecaySpikeResponse >, GenericStaticAnalogSynapse< ConductanceBasedAnalogSynapse >, and GenericStaticAnalogSynapse< CurrentBasedAnalogSynapse >.
Definition at line 240 of file SimObject.h.
Referenced by GenericDAModulatedSTDPSynapse< BaseSyn >::advance().
virtual void SimObject::incoming | ( | SimObject * | sender, | |
ID const & | snd, | |||
ID const & | self, | |||
SimNetwork & | net | |||
) | [inline, virtual] |
This method will be called if a the object sender wants to send information to this object.
Reimplemented in GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericOnePairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, and GenericOnePairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >.
Definition at line 248 of file SimObject.h.
Referenced by SingleThreadSimEngine::one_way_link(), MultiThreadSimEngine::one_way_link(), SingleThreadSimEngine::two_way_link(), and MultiThreadSimEngine::two_way_link().
virtual void SimObject::outgoing | ( | SimObject * | receiver, | |
ID const & | rec, | |||
ID const & | self, | |||
SimNetwork & | net | |||
) | [inline, virtual] |
This method will be called if this object wants to send information to the object receiver.
Reimplemented in GenericNonLinGABASynapse< Response >, GenericConductanceBasedSpikingSynapse< GABA_BResponse >, GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse >, GenericConductanceBasedSpikingSynapse< GABA_BResponseODE >, GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse >, GenericConductanceBasedSpikingSynapse< GABA_BResponseNest >, GenericConductanceBasedSpikingSynapse< AlphaFunctionSpikeResponse >, GenericConductanceBasedSpikingSynapse< OUNoiseResponse >, GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse >, GenericCurrentBasedSpikingSynapse< DoubleExponentialSpikeResponse >, GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse >, GenericCurrentBasedSpikingSynapse< AlphaInfiniteSpikeResponse >, GenericCurrentBasedSpikingSynapse< AlphaFunctionSpikeResponse >, GenericGABASynapse< ExponentialDecaySpikeResponse >, GenericGABASynapse< DoubleExponentialSpikeResponse >, GenericGABASynapse< AlphaFunctionSpikeResponse >, GenericGlutamateSynapse< ExponentialDecaySpikeResponse >, GenericGlutamateSynapse< DoubleExponentialSpikeResponse >, GenericGlutamateSynapse< AlphaFunctionSpikeResponse >, GenericNMDASynapse< ExponentialDecaySpikeResponse >, GenericNMDASynapse< DoubleExponentialSpikeResponse >, GenericNMDASynapse< AlphaFunctionSpikeResponse >, and GenericNonLinGABASynapse< ExponentialDecaySpikeResponse >.
Definition at line 253 of file SimObject.h.
Referenced by SingleThreadSimEngine::one_way_link(), MultiThreadSimEngine::one_way_link(), SingleThreadSimEngine::two_way_link(), and MultiThreadSimEngine::two_way_link().
virtual void SimObject::outgoing | ( | SimObject * | receiver | ) | [inline, virtual] |
This method will be called if the object wants to send information to the object receiver.
The method should serve for tying objects which are not present in the network, like for example internal sim objects within another composite sim objects.
Reimplemented in ConductanceBasedAnalogSynapse, CurrentBasedAnalogSynapse, SimpleScalingSpikingSynapse, GenericConductanceBasedSpikingSynapse< GABA_BResponse >, GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse >, GenericConductanceBasedSpikingSynapse< GABA_BResponseODE >, GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse >, GenericConductanceBasedSpikingSynapse< GABA_BResponseNest >, GenericConductanceBasedSpikingSynapse< AlphaFunctionSpikeResponse >, GenericConductanceBasedSpikingSynapse< OUNoiseResponse >, GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse >, GenericCurrentBasedSpikingSynapse< DoubleExponentialSpikeResponse >, GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse >, GenericCurrentBasedSpikingSynapse< AlphaInfiniteSpikeResponse >, and GenericCurrentBasedSpikingSynapse< AlphaFunctionSpikeResponse >.
Definition at line 262 of file SimObject.h.
virtual void SimObject::incoming | ( | SimObject * | sender | ) | [inline, virtual] |
This method will be called if a the object sender wants to send information to this object.
The method should serve for tying objects which are not added in the network, like for example internal sim objects within another composite sim objects.
Definition at line 269 of file SimObject.h.
virtual int SimObject::spikeHit | ( | spikeport_t | port, | |
SpikeEvent const & | spike | |||
) | [inline, 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 in AlphaFunctionSpikeResponse, AlphaInfiniteSpikeResponse, DoubleExponentialSpikeResponse, ExponentialDecaySpikeResponse, GABA_BResponse, GABA_BResponseNest, GABA_BResponseODE, GenericNonLinGABASynapse< Response >, OUNoiseResponse, PySimObjectStub, SimpleScalingSpikingSynapse, SpikeTimeRecorder, SquarePulseSpikeResponse, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericNonLinGABASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGABASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericGABASynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGABASynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< AlphaFunctionSpikeResponse > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > >, GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericFacetsHWDepressionSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericFacetsHWDepressionSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericFacetsHWFacilitationSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericFacetsHWFacilitationSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericGABASynapse< ExponentialDecaySpikeResponse >, GenericGABASynapse< DoubleExponentialSpikeResponse >, GenericGABASynapse< AlphaFunctionSpikeResponse >, GenericGlutamateSynapse< ExponentialDecaySpikeResponse >, GenericGlutamateSynapse< DoubleExponentialSpikeResponse >, GenericGlutamateSynapse< AlphaFunctionSpikeResponse >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericNonLinGABASynapse< ExponentialDecaySpikeResponse >, GenericOnePairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericOnePairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >, GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< AlphaInfiniteSpikeResponse > >, GenericStaticSpikingSynapse< GenericNonLinGABASynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< GABA_BResponse > >, GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< AlphaFunctionSpikeResponse > >, GenericStaticSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericGABASynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericGABASynapse< AlphaFunctionSpikeResponse > >, GenericStaticSpikingSynapse< GenericGABASynapse< DoubleExponentialSpikeResponse > >, GenericStaticSpikingSynapse< GenericNMDASynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericGlutamateSynapse< DoubleExponentialSpikeResponse > >, GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< GABA_BResponseNest > >, GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericNMDASynapse< DoubleExponentialSpikeResponse > >, GenericStaticSpikingSynapse< GenericGlutamateSynapse< AlphaFunctionSpikeResponse > >, GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< GABA_BResponseODE > >, GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > >, GenericStaticSpikingSynapse< GenericNMDASynapse< AlphaFunctionSpikeResponse > >, and GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< AlphaFunctionSpikeResponse > >.
Definition at line 288 of file SimObject.h.
Referenced by GenericDAModulatedSTDPSynapse< BaseSyn >::advance(), and SimpleScalingSpikingSynapse::spikeHit().
virtual double SimObject::getManagedDelay | ( | ) | const [inline, virtual] |
Reimplemented in aEIFNeuronBase, AnalogInputNeuron, AnalogLevelBasedInputNeuron, AnalogPointNeuron, AnalogRecorder, AnalogSynapse, GaussianNoise, IzhiNeuronBase, LifNeuronBase, LinearPoissonNeuron, ODESystemBasedSpikingNeuron, PoissonInputNeuron, PySimObjectStub, SimpleScalingSpikingSynapse, SpikeTimeRecorder, SpikingInputNeuron, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericNonLinGABASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGABASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericGABASynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGABASynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< DoubleExponentialSpikeResponse > >, GenericDynamicSpikingSynapse< GenericGlutamateSynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericNMDASynapse< AlphaFunctionSpikeResponse > >, GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< AlphaFunctionSpikeResponse > >, GenericFacetsHWDepressionSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericFacetsHWDepressionSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericFacetsHWFacilitationSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericFacetsHWFacilitationSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< AlphaInfiniteSpikeResponse > >, GenericStaticSpikingSynapse< GenericNonLinGABASynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< GABA_BResponse > >, GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< AlphaFunctionSpikeResponse > >, GenericStaticSpikingSynapse< GenericGlutamateSynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericGABASynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericGABASynapse< AlphaFunctionSpikeResponse > >, GenericStaticSpikingSynapse< GenericGABASynapse< DoubleExponentialSpikeResponse > >, GenericStaticSpikingSynapse< GenericNMDASynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericGlutamateSynapse< DoubleExponentialSpikeResponse > >, GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse > >, GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< GABA_BResponseNest > >, GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > >, GenericStaticSpikingSynapse< GenericNMDASynapse< DoubleExponentialSpikeResponse > >, GenericStaticSpikingSynapse< GenericGlutamateSynapse< AlphaFunctionSpikeResponse > >, GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< GABA_BResponseODE > >, GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > >, GenericStaticSpikingSynapse< GenericNMDASynapse< AlphaFunctionSpikeResponse > >, and GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< AlphaFunctionSpikeResponse > >.
Definition at line 295 of file SimObject.h.
Referenced by SingleThreadNetwork::_connect_(), MultiThreadNetwork::_connect_(), and DistributedNetwork::_connect_().
int SimObject::getFieldOffset | ( | string const & | fieldname | ) | [virtual] |
Return the offset in the memory layout of the object of the specified field.
Definition at line 56 of file SimObject.cpp.
References FieldRegistry::findField(), SimObjectInformation::getFieldRegistry(), Field::getOffset(), and getSimObjectInformation().
virtual double SimObject::getAnalogOutput | ( | analog_port_id_t | port = 0 |
) | const [inline, virtual] |
Return the analog value currently associated with the given port.
Reimplemented in AnalogDelayObject, AnalogInputNeuron, AnalogLevelBasedInputNeuron, AnalogPointNeuron, AnalogSynapse, FiniteSpikeResponse, GaussianNoise, GenericNonLinGABASynapse< Response >, InfiniteSpikeResponse, ODESystemBasedSpikingNeuron, OnlineAverager, OnlineHistogramGenerator, PySimObjectStub, SimProgressBar, GenericGABASynapse< ExponentialDecaySpikeResponse >, GenericGABASynapse< DoubleExponentialSpikeResponse >, GenericGABASynapse< AlphaFunctionSpikeResponse >, GenericGlutamateSynapse< ExponentialDecaySpikeResponse >, GenericGlutamateSynapse< DoubleExponentialSpikeResponse >, GenericGlutamateSynapse< AlphaFunctionSpikeResponse >, and GenericNonLinGABASynapse< ExponentialDecaySpikeResponse >.
Definition at line 313 of file SimObject.h.
virtual void SimObject::setAnalogInput | ( | double | value, | |
analog_port_id_t | port = 0 | |||
) | [inline, virtual] |
Analog input to given port.
Reimplemented in AnalogDelayObject, AnalogPointNeuron, AnalogRecorder, AnalogSynapse, DARecvLifNeuron, DARecvCbLifNeuron, DARecvLinearPoissonNeuron, OnlineAverager, OnlineHistogramGenerator, and PySimObjectStub.
Definition at line 316 of file SimObject.h.
virtual bool SimObject::owned_by_net | ( | ) | [inline, virtual] |
Returns a flag whether the sim object is owned by the network or not.
If it is owned by the network then it is deleted when the network object is destroyed. The python sim objects are not owned by the network
Reimplemented in PySimObjectStub.
Definition at line 325 of file SimObject.h.
virtual SimObject* SimObject::getChainedObject | ( | ) | [inline, virtual] |
Returns a pointer to the SimObject that this Simobject is attached/mounted to.
If the SpikeDriven SimObject actually is mounted on another spikedriven object, Then this method is used to get the chain of all the objects that are to be activated because of the spike.
Reimplemented in SimpleScalingSpikingSynapse, GenericConductanceBasedSpikingSynapse< GABA_BResponse >, GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse >, GenericConductanceBasedSpikingSynapse< GABA_BResponseODE >, GenericConductanceBasedSpikingSynapse< DoubleExponentialSpikeResponse >, GenericConductanceBasedSpikingSynapse< GABA_BResponseNest >, GenericConductanceBasedSpikingSynapse< AlphaFunctionSpikeResponse >, GenericConductanceBasedSpikingSynapse< OUNoiseResponse >, GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse >, GenericCurrentBasedSpikingSynapse< DoubleExponentialSpikeResponse >, GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse >, GenericCurrentBasedSpikingSynapse< AlphaInfiniteSpikeResponse >, and GenericCurrentBasedSpikingSynapse< AlphaFunctionSpikeResponse >.
Definition at line 336 of file SimObject.h.
Referenced by SingleThreadSpikeScheduler::deliverSpikes(), and MultiThreadSpikeScheduler::deliverSpikes().
virtual bool SimObject::toBeActivated | ( | ) | [inline, virtual] |
Definition at line 340 of file SimObject.h.
Referenced by SingleThreadSpikeScheduler::deliverSpikes(), and MultiThreadSpikeScheduler::deliverSpikes().
Reimplemented in CompositeNeuron< CbaEIFNeuron >, CompositeNeuron< CbLifNeuron >, and CompositeNeuron< LifNeuron >.
Definition at line 345 of file SimObject.h.
Referenced by SimpleScalingSpikingSynapse::outgoing(), GenericCurrentBasedSpikingSynapse< AlphaFunctionSpikeResponse >::outgoing(), GenericConductanceBasedSpikingSynapse< OUNoiseResponse >::outgoing(), CurrentBasedAnalogSynapse::outgoing(), and ConductanceBasedAnalogSynapse::outgoing().
virtual void SimObject::deepCopy | ( | const SimObject * | obj | ) | [inline, virtual] |
Reimplemented in CompositeNeuron< CbaEIFNeuron >, CompositeNeuron< CbLifNeuron >, CompositeNeuron< LifNeuron >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, and GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >.
Definition at line 349 of file SimObject.h.
virtual void SimObject::setObjectTypeID | ( | object_type_t | tid | ) | [inline, protected, virtual] |
The SimObjectRegistry is responsible for assigning suitable object type values.
Definition at line 362 of file SimObject.h.
Referenced by SimObjectRegistry::finalize().
virtual void SimObject::setSimObjectInformation | ( | SimObjectInformation * | info | ) | [inline, protected, virtual] |
virtual SimObjectInformation const* SimObject::getSimObjectInformation | ( | void | ) | [inline, virtual] |
Field const * SimObject::findField | ( | string const & | fieldname | ) |
Definition at line 69 of file SimObject.cpp.
References FieldRegistry::findField(), SimObjectInformation::getFieldRegistry(), and getSimObjectInformation().
Referenced by SingleThreadAnalogMsgDispatcher::addAnalogMessage(), MTIncomingAnalogMessageDispatcher::addAnalogMessage(), DistributedOutgoingAnalogMsgDispatcher::addOutgoingAnalogMessage(), SimObjectVariationFactory::set(), PopObjectFactory::set(), ConnObjectFactory::set(), SimObjectPopulation::setFieldScale(), and SimObjectVariationFactory::SimObjectVariationFactory().
Definition at line 82 of file SimObject.cpp.
References Field::setValue().
Referenced by SimObjectVariationFactory::create(), PopObjectFactory::create(), ConnObjectFactory::create(), and SimObjectPopulation::setFieldScale().
Definition at line 87 of file SimObject.cpp.
References Field::getValue().
Referenced by SimObjectPopulation::setFieldScale().
void SimObject::setAllocator | ( | BlockAllocator & | ba | ) | [static] |
void * SimObject::operator new | ( | size_t | sz | ) |
Definition at line 172 of file SimObject.cpp.
References SimObject::BlockAllocator::allocate().
void SimObject::operator delete | ( | void * | p, | |
size_t | size | |||
) |
Definition at line 179 of file SimObject.cpp.
void * SimObject::operator new[] | ( | size_t | sz | ) |
Definition at line 185 of file SimObject.cpp.
References SimObject::BlockAllocator::allocate().
void SimObject::operator delete[] | ( | void * | , | |
size_t | ||||
) |
Definition at line 192 of file SimObject.cpp.
friend class SimObjectRegistry [friend] |
Definition at line 358 of file SimObject.h.
object_type_t SimObject::type = INVALID_OBJECT_TYPE_ID [static, protected] |
Object type (defined by one of the macros REGISTER_* which are define in SimObjectRegistry.h).
Definition at line 360 of file SimObject.h.
SimObjectInformation * SimObject::simObjectInfo = NULL [static, protected] |
Definition at line 362 of file SimObject.h.