Module pypcsim :: Class SimObject
[hide private]
[frames] | no frames]

Class SimObject

  object --+        
           |        
 ??.instance --+    
               |    
SimObjectFactory --+
                   |
                  SimObject
Known Subclasses:

Help on SimObject [class]: 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 \f$t=0\f$) reset() is called. For each time step (of fixed length \f$\Delta t\f$) 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.

Nested Classes [hide private]
  ID
Help on SimObject::ID [class]: Class containing all the id's necessary to uniquely identify a simulation object
  PortType
Instance Methods [hide private]
 
__init__(...)
Help on SimObject::SimObject(engineid_t eid=0) [constructor]
 
adjust(...)
 
advance(...)
 
check(...)
 
deepCopy(...)
 
getAnalogOutput(...)
 
getFieldOffset(...)
 
getManagedDelay(...)
 
incoming(...)
 
init(...)
 
inputPortType(...)
 
nAnalogInputPorts(...)
 
nAnalogOutputPorts(...)
 
nSpikeInputPorts(...)
 
nSpikeOutputPorts(...)
 
outgoing(...)
 
outputPortType(...)
 
owned_by_net(...)
 
reset(...)
 
setAnalogInput(...)
 
spikeHit(...)
 
toBeActivated(...)

Inherited from SimObjectFactory: create

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  analog = pypcsim.PortType.analog
  spiking = pypcsim.PortType.spiking
  undefined = pypcsim.PortType.undefined

Inherited from SimObjectFactory: __instance_size__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Help on SimObject::SimObject(engineid_t eid=0) [constructor]

Overrides: object.__init__