94 void watchdog_reset();
Event-handler interface for newly received data.
Remote-control override of an I/O device.
void set_remote(satcat5::io::Writeable *tx, satcat5::io::Readable *rx)
Attach the remote-control interface.
void data_rcvd(satcat5::io::Readable *src) override
The data_rcvd() callback is polled whenever data is available.
void timer_event() override
Child class MUST override this method.
void set_callback(satcat5::io::EventListener *callback) override
Override set_callback() to set the internal variable only.
void set_override(bool remote)
Manually set local or remote mode.
Override(satcat5::io::Writeable *dst, satcat5::io::Readable *src, satcat5::io::CopyMode mode=CopyMode::PACKET)
Attach to the underlying I/O device.
bool is_remote() const
Is this block in local or remote mode?
void data_unlink(satcat5::io::Readable *src) override
Unlink this EventListener from the designated source, because the designated Readable object is being...
void set_timeout(unsigned msec)
Set timeout for automatic return to local mode.
Abstract API for reading byte-streams and packets.
virtual void set_callback(satcat5::io::EventListener *callback)
Update registered callback for data_rcvd() events.
Wrapper class for forwarding reads to another object.
Abstract API for writing byte-streams and packets.
Wrapper class for forwarding writes to another object.
Timer objects are polled after a fixed delay or at a regular interval.
"Readable" I/O interface core definitions
CopyMode
Specify read and write behavior for Readable::copy_and_finalize().
"Writeable" I/O interface core definitions
Core event-processing loop for SatCat5 software.