NodeBase Class
The NodeBase class provides basic functionality of all nodes. More...
Header: | #include <NodeBase> |
Inherits: | QQuickItem. |
Properties
- engine : NodeEngine *
- 23 properties inherited from QQuickItem
Public Functions
- 92 public functions inherited from QQuickItem
Public Slots
void | setEngine(NodeEngine * arg) |
- 1 public slot inherited from QQuickItem
Signals
void | edgeAdded(Edge * edge) |
void | edgeRemoved(Edge * edge) |
void | engineChanged(NodeEngine * arg) |
- 1 signal inherited from QQuickItem
Additional Inherited Members
- 33 protected functions inherited from QQuickItem
Detailed Description
The NodeBase class provides basic functionality of all nodes.
All nodes in Neuronify inherit from NodeBase. It holds a pointer to a NodeEngine and a list of all connected edges. Only the connected Edge object is allowed to add or remove edges of a NodeBase object.
The only reason for the existence of NodeBase is that NodeEngine and GraphEngine cannot know about the Node type, because Node is defined in QML.
Property Documentation
engine : NodeEngine *
Access functions:
NodeEngine * | engine() const |
void | setEngine(NodeEngine * arg) |
Notifier signal:
void | engineChanged(NodeEngine * arg) |