Current Class
The Current class defines the currents used by NeuronEngine. More...
| Header: | #include <Current> | 
| Inherits: | NodeEngine. | 
| Inherited By: | 
Properties
- current : double
 
- 2 properties inherited from NodeEngine
 - 23 properties inherited from QQuickItem
 
Public Functions
- 4 public functions inherited from NodeEngine
 - 92 public functions inherited from QQuickItem
 
Public Slots
| void | setCurrent(double arg) | 
- 7 public slots inherited from NodeEngine
 - 1 public slot inherited from QQuickItem
 
Signals
| void | currentChanged(double arg) | 
- 8 signals inherited from NodeEngine
 - 1 signal inherited from QQuickItem
 
Additional Inherited Members
- 6 protected functions inherited from NodeEngine
 - 33 protected functions inherited from QQuickItem
 
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().