SimObject Class Reference

Base class for all objects to simulate. More...

#include <SimObject.h>

Inheritance diagram for SimObject:

Inheritance graph
[legend]
Collaboration diagram for SimObject:

Collaboration graph
[legend]

List of all members.

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 SimObjectInformationsimObjectInfo = 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 SimObjectgetChainedObject ()
 Returns a pointer to the SimObject that this Simobject is attached/mounted to.
virtual bool toBeActivated ()
virtual SimObjectgetInputTarget (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...


Detailed Description

Base class for all objects to simulate.

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 $t=0$) reset() is called. For each time step (of fixed length $\Delta t$) 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.


Member Enumeration Documentation

Enumerator:
spiking 
analog 
undefined 

Definition at line 208 of file SimObject.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

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

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

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

virtual PortType SimObject::outputPortType ( port_t  p  )  const [inline, virtual]

virtual PortType SimObject::inputPortType ( port_t  p  )  const [inline, virtual]

virtual int SimObject::init ( InitializeInfo ii  )  [inline, virtual]

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.

virtual int SimObject::adjust ( double  dt  )  [inline, virtual]

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

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]

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().

Here is the call graph for this function:

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

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

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]

virtual bool SimObject::toBeActivated (  )  [inline, virtual]

virtual SimObject* SimObject::getInputTarget ( int  target_id = 0  )  [inline, virtual]

virtual void SimObject::deepCopy ( const SimObject obj  )  [inline, virtual]

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]

Definition at line 365 of file SimObject.h.

Referenced by SimObjectRegistry::registerSimObject().

virtual SimObjectInformation const* SimObject::getSimObjectInformation ( void   )  [inline, virtual]

Definition at line 367 of file SimObject.h.

Referenced by findField(), and getFieldOffset().

Field const * SimObject::findField ( string const &  fieldname  ) 

void SimObject::setScalarField ( Field const *  f,
double  v 
)

Definition at line 82 of file SimObject.cpp.

References Field::setValue().

Referenced by SimObjectVariationFactory::create(), PopObjectFactory::create(), ConnObjectFactory::create(), and SimObjectPopulation::setFieldScale().

Here is the call graph for this function:

double SimObject::getScalarField ( Field const *  f  ) 

Definition at line 87 of file SimObject.cpp.

References Field::getValue().

Referenced by SimObjectPopulation::setFieldScale().

Here is the call graph for this function:

void SimObject::setAllocator ( BlockAllocator ba  )  [static]

Definition at line 167 of file SimObject.cpp.

Referenced by SimObjectPool::addObject().

void * SimObject::operator new ( size_t  sz  ) 

Definition at line 172 of file SimObject.cpp.

References SimObject::BlockAllocator::allocate().

Here is the call graph for this function:

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().

Here is the call graph for this function:

void SimObject::operator delete[] ( void *  ,
size_t   
)

Definition at line 192 of file SimObject.cpp.


Friends And Related Function Documentation

friend class SimObjectRegistry [friend]

Definition at line 358 of file SimObject.h.


Member Data Documentation

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.


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

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