moiri / streamix

Root repository for the Streamix project
0 stars 1 forks source link

FSM box implementation - Event Names #14

Closed moiri closed 3 years ago

moiri commented 4 years ago

A box implementation that allows to control a Stremix network with a configurable Finite-State-Machine (FSM).

moiri commented 4 years ago

A first version v0.1.0 was implemented and published on http://phhum-a209-cp.unibe.ch:10012/SMX/SMX-boxes/smx_prc_fsm.

A static FSM is defined by a config file which is loaded during the initialisation.

In a version 0.2.0 this concept was extended to allow to load multiple FSMs. A FSM is then selected depending on the current trial id

moiri commented 4 years ago

How should event names be handled? There are a few things to consider:

moiri commented 3 years ago

Event messages are separated int events and triggers. Events are produced by a box and triggers are consumed by a box. The name has the following structure: