SatCat5
io_broadcast.h File Reference

Detailed Description

Writeable API that broadcasts copies to multiple destinations.

The io::WriteableBroadcast object implements the io::Writeable API and tracks an array of downstream io::Writeable objects. When any data is written, the object broadcasts copies of that data to each downstream object.

Memory allocation is left to the child object. The simplest option is io::WriteableBroadcastStatic, which uses a templated static array.

Definition in file io_broadcast.h.

Include dependency graph for io_broadcast.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  satcat5::io::WriteableBroadcast
 Forwards incoming writes to multiple downstream Writeables. More...
 
class  satcat5::io::WriteableBroadcastAny
 Version of io::WriteableBroadcast that considers a write successful if ANY of the downstream Writeable objects return success. More...
 
class  satcat5::io::WriteableBroadcastStatic< SIZE >
 Statically-allocated version of io::WriteableBroadcast. More...
 
class  satcat5::io::WriteableBroadcastAnyStatic< SIZE >
 Statically-allocated version of io::WriteableBroadcastAny. More...