Design - smileyface/ContraControl GitHub Wiki

This is where I put design ideas.

Subsystems

Model

  • The model shall contain an internal timer.
  • The model shall contain states for Nodes.

Nodes

A Node is a representation of a processor (CPU, Pi, etc.,) that is running an instance of ContraControl.

  • A Node shall contain 0 : n Devices.
  • A Node shall contain connections to other Nodes.

Devices

  • A Device shall contain 1 + n Channels.

Channel

  • A Channel is an integr in the range of 0-255.

Command

Generalized Commands

  • The Initialize Command shall complete construction of a commanded object.

Device Commands

  • For a Device, the Initialize Command shall provide a common name for the device.