|
Sound Byte Libs 1ee2ca6
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
Generic event broadcaster for two outputs. More...
#include <event_broadcaster.hpp>
Public Member Functions | |
| EventBroadcaster (Output1Type &output1, Output2Type &output2) | |
| Construct event broadcaster with two outputs. | |
| void | trigger () |
| Trigger all outputs. | |
| void | update () |
| Update all outputs. | |
Generic event broadcaster for two outputs.
Simplified broadcaster for two output types, avoiding complex variadic template constructs. Applications can compose multiple broadcasters if more outputs are needed.
| Output1Type | First output device type |
| Output2Type | Second output device type |
Definition at line 29 of file event_broadcaster.hpp.
|
inline |
Construct event broadcaster with two outputs.
| output1 | Reference to first output device |
| output2 | Reference to second output device |
Definition at line 36 of file event_broadcaster.hpp.
|
inline |
Trigger all outputs.
Definition at line 42 of file event_broadcaster.hpp.
|
inline |
Update all outputs.
Definition at line 50 of file event_broadcaster.hpp.