|
SatCat5
|
Stream keyboard input to a Writeable interface.
Definition at line 102 of file posix_utils.h.
#include <posix_utils.h>
Public Member Functions | |
| KeyboardStream (satcat5::io::Writeable *dst, bool line_buffer=true) | |
Static Public Member Functions | |
| static unsigned | count_always () |
| Count active objects of this type. | |
Protected Member Functions | |
| void | poll_always () override |
| Child class MUST override this method. More... | |
| void | write_key (int ch) |
| void | poll_register () |
| Register this pollable object, called by the constructor. | |
| void | poll_unregister () |
| Unregister this pollable object, called by the destructor. | |
Protected Attributes | |
| satcat5::io::Writeable *const | m_dst |
| const bool | m_line_buffer |
Private Attributes | |
| satcat5::poll::Always * | m_next |
|
overrideprotectedvirtual |
Child class MUST override this method.
(This method should rarely be called directly.)
Implements satcat5::poll::Always.
Definition at line 108 of file posix_utils.cc.