10#ifndef SEMF_COMMUNICATION_ESH_ARROWCONTROL_H_
11#define SEMF_COMMUNICATION_ESH_ARROWCONTROL_H_
31 OnSecondChar_UnexpectedChar,
32 OnThirdChar_UnexpectedChar,
63 void onSecondChar(
char c);
68 void onThirdChar(
char c);
83 SEMF_SLOT(m_onSecondCharSlot,
ArrowControl, *
this, onSecondChar,
char);
85 SEMF_SLOT(m_onThirdCharSlot,
ArrowControl, *
this, onThirdChar,
char);
89 static constexpr Error::ClassID kSemfClassId = Error::ClassID::ArrowControl;
Class for representing errors. Every error should have a unique source code. As a user feel encourage...
Detect up-arrow and down-arrow key strokes via the Printer.
SEMF_SIGNAL(error, Error)
ArrowControl(const ArrowControl &other)=delete
void start()
Starts the reading process.
virtual ~ArrowControl()=default
ArrowControl(Printer &printer, const int &count, bool echo)
Constructor.
ErrorCode
Error codes for this class. Error ID identify a unique error() / onError call (excluding transferring...
Class for string related UART communication. Using this class outside of an esh-context can make sens...