|
SatCat5
|
"Writeable" I/O interface core definitions
The core of all SatCat5 I/O are the "Writeable" interface (io_writeable.h) and "Readable" interface (io_readable.h). These general-purpose virtual interfaces are used by PacketBuffer, generic UARTs, etc. for code reuse.
Definition in file io_writeable.h.
#include <satcat5/types.h>Go to the source code of this file.
Classes | |
| class | satcat5::io::Writeable |
| Abstract API for writing byte-streams and packets. More... | |
| class | satcat5::io::ArrayWrite |
Ephemeral Writeable interface for a simple array. More... | |
| class | satcat5::io::ArrayWriteStatic< SIZE > |
| Thin wrapper for ArrayWrite with a built-in buffer. More... | |
| class | satcat5::io::LimitedWrite |
| Limited write up to N bytes. More... | |
| class | satcat5::io::WriteableRedirect |
| Wrapper class for forwarding writes to another object. More... | |
| class | satcat5::io::NullWrite |
| Writeable object that accepts and discards all incoming data. More... | |
Variables | |
| satcat5::io::NullWrite | satcat5::io::null_write |
| Global instance of the basic NullWrite object. More... | |
|
extern |
Global instance of the basic NullWrite object.
Use this placeholder instead of a null pointer.