NodeEngine Class

The NodeEngine class is used to perform operations in for NodeBase. More...

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

Current, NeuronEngine, RateEngine, and RetinaEngine.

Properties

Public Functions

NodeEngine(QQuickItem * parent = 0)
~NodeEngine()
double currentOutput() const
double fireOutput() const
bool hasFired()
void setHasFired(bool arg)

Public Slots

void finalizeStep(double dt)
void fire()
void receiveCurrent(double currentOutput, NodeEngine * sender)
void receiveFire(double fireOutput, NodeEngine * sender)
void setCurrentOutput(double arg)
void setFireOutput(double arg)
void step(double dt, bool parentEnabled)

Signals

void currentOutputChanged(double arg)
void finalizedStep(double dt)
void fireOutputChanged(double arg)
void fired()
void receivedCurrent(double current, NodeEngine * sender)
void receivedFire(double stimulation, NodeEngine * sender)
void resetted()
void stepped(double dt, bool parentEnabled)

Protected Functions

virtual void finalizeStepEvent(double dt)
virtual void fireEvent()
virtual void receiveCurrentEvent(double currentOutput, NodeEngine * sender)
virtual void receiveFireEvent(double fireOutput, NodeEngine * sender)
virtual void resetEvent()
virtual void stepEvent(double dt, bool parentEnabled)
  • 33 protected functions inherited from QQuickItem

Detailed Description

The NodeEngine class is used to perform operations in for NodeBase.

All NodeBase objects can hold a pointer to a NodeEngine. The NodeEngine performs the logic for the given node and should hold all information about the state of the node.

See also Node and NodeBase.

Property Documentation

currentOutput : double

Access functions:

double currentOutput() const
void setCurrentOutput(double arg)

Notifier signal:

void currentOutputChanged(double arg)

fireOutput : double

Access functions:

double fireOutput() const
void setFireOutput(double arg)

Notifier signal:

void fireOutputChanged(double arg)

Member Function Documentation

NodeEngine::NodeEngine(QQuickItem * parent = 0)

NodeEngine::~NodeEngine()

[slot] void NodeEngine::finalizeStep(double dt)

[virtual protected] void NodeEngine::finalizeStepEvent(double dt)

[signal] void NodeEngine::finalizedStep(double dt)

[slot] void NodeEngine::fire()

[virtual protected] void NodeEngine::fireEvent()

[signal] void NodeEngine::fired()

bool NodeEngine::hasFired()

See also setHasFired().

[slot] void NodeEngine::receiveCurrent(double currentOutput, NodeEngine * sender)

[virtual protected] void NodeEngine::receiveCurrentEvent(double currentOutput, NodeEngine * sender)

[slot] void NodeEngine::receiveFire(double fireOutput, NodeEngine * sender)

[virtual protected] void NodeEngine::receiveFireEvent(double fireOutput, NodeEngine * sender)

[signal] void NodeEngine::receivedCurrent(double current, NodeEngine * sender)

[signal] void NodeEngine::receivedFire(double stimulation, NodeEngine * sender)

[virtual protected] void NodeEngine::resetEvent()

[signal] void NodeEngine::resetted()

void NodeEngine::setHasFired(bool arg)

See also hasFired().

[slot] void NodeEngine::step(double dt, bool parentEnabled)

[virtual protected] void NodeEngine::stepEvent(double dt, bool parentEnabled)

[signal] void NodeEngine::stepped(double dt, bool parentEnabled)