[−][src]Module arnalisa::bins::multiplex
A bin that propagates the input value to a selected output.
The bin receives a configuration conntaining a mapping of
unsigned integer values to outputs. If the select
value converted
to an unsigned integer (as in casted in terms of computer programming
languages, meaning it gets cut off, not rounded) matches the index
of an output, the input
value gets propagated to this output.
All other outputs produce a Nothing
value.
┌──────[multiplex]──────┐
⇒│input <output 0>│⇒
⇒│select <output 1>│⇒
│ <output 2>│⇒
│ … ┊⇒
│ <output n>│⇒
└───────────────────────┘
Structs
Bin | A bin that propagates the input value to a selected output. |
Description | Description for the multiplex bin. |