Current Class

The Current class defines the currents used by NeuronEngine. More...

Header: #include <Current>
Inherits: NodeEngine.
Inherited By:

AdaptationCurrent and PassiveCurrent.

Properties

Public Functions

Current(QQuickItem * parent = 0)
~Current()
double current() const

Public Slots

void setCurrent(double arg)

Signals

void currentChanged(double arg)

Additional Inherited Members

Detailed Description

The Current class defines the currents used by NeuronEngine.

Other classes may subclass Current to define a specific current. The subclassed object must be added as a child to a NeuronEngine. As all other children of a NodeEngine object it will receive step() and fire() events whenever the parent NodeEngine object (in this case a NeuronEngine) receives the respective events.

The Current subclass may then alter its current property which will be read and added to the sum of other currents by NeuronEngine.

Property Documentation

current : double

Access functions:

double current() const
void setCurrent(double arg)

Notifier signal:

void currentChanged(double arg)

Member Function Documentation

Current::Current(QQuickItem * parent = 0)

See also setCurrent().

Current::~Current()