Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csimClass Class Reference

#include <csimclass.h>

Inheritance diagram for csimClass:

Advancable Algorithm csimRecorder FilterFunction Forceable IonChannel IonGate PhysicalModel Preprocessor Readout Synapse Teacher List of all members.

Detailed Description

Base class of all classes in CSIM.

It provides the facilities to set/get class member variables specified by a string or Id. Class member variables (attributes) which can be get/set by means of the methods provided by csimClass will be called fiels. See Setting and getting field values

Classes derived from csimClass will have additional fields/parameters. We decided to make these public to avoid to define seperate set and get methods for each parameter (knowing to act against the philosophy of object oriented programming).

Public Member Functions

Protected Member Functions

Private Attributes

Static Private Attributes

Friends


Member Function Documentation

int csimClass::fieldChangeNotify bool  force = 0  )  [inline]
 

Notify the object that some fields have been changed.

This function will be called when we have to make sure that all the internal variables/states of an objact are consistent with the current values of the fields.

virtual int csimClass::updateInternal void   )  [inline, virtual]
 

Update internal variables.

This function has to make sure that all the internal variables/states of an object are consistent with the current values of the fields.

Reimplemented in Algorithm, AlphaSpikeFilter, AnalogFilter, ArmModel, ConcIonGate, CountSpikeFilter, ExpSpikeFilter, FilterFunction, GVD_Gate, GVD_cT_Gate, IfbNeuron, IonGate, Izhi_Neuron, LifBurstNeuron, LifNeuron, LifNeuronSynchan, PhysicalModel, Preprocessor, TraubsHHNeuron, UserAnalogFilter, and VIonGate.


Member Data Documentation

bool csimClass::dirty [private]
 

True if internal variables/states of an objact are inconsistent with the current values of the fields.

Set to true if fields are changed via setFieldById, setFieldByName, or setFieldArray. Set to 0 after a successful call to updateInternal.

int csimClass::Id [private]
 

The unique Id of the object.

It is set if the object is inserted into the Network.