You are viewing an old version of this content. View the current version.
Compare with Current
View Version History
« Previous
Version 2
Next »
| An onCore Unit can be seen as a graphical representation of a function (as in traditional programming). It has one or several attributes and abilities. |
| Specifications of an onCore Unit- Units have attributes which can be modified by the user or other Units.
- Units can exchange data via cables. Think of them as small 'tunnels' where data can travel between the Units.
- Cables are usually connected/disconnected by the user, but there are also situations where cables between Units are automatically re-created.
- On the right and/or left side of each Unit there are small circles and triangles. These are the connection points of cables and they are called Trigger Ports, Input Ports and Output Ports.
|
| Fictional Example of an onCore Unit- On the left is a very simple example of a Unit. It just adds two numbers and provides the result.
- Trigger Ports are omitted in this example, they are explained later.
|
Unit Types
Units can roughly be categorized in three types. Of course the exception proves the rule.
Unit Type | Description | Example |
---|
Provider Unit | They only have one or multiple Output Ports and "provide" something. | Variable Getter, System Timestamp |
Processing Unit | They have one or multiple Input and Output Ports and process or modify their input. | String Replace, String to Time |
Consumer Unit | They only have one or multiple Input Ports and "consume" data. | Print String, Variable Setter |
Unit Interaction Example
Here's a simplified schematic on how Units can interact with each other. Trigger Ports are omitted in this example, they are explained later.