InputParser
InputParser
Section titled “InputParser”Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
void | feed | |
bool | hasEvent const inline | |
bool | pendingEscape const inline | |
void | flushEscape | |
core::events::Event | nextEvent |
void feed(unsigned char byte)hasEvent
Section titled “hasEvent”const inline
inline bool hasEvent() constpendingEscape
Section titled “pendingEscape”const inline
inline bool pendingEscape() constflushEscape
Section titled “flushEscape”void flushEscape()nextEvent
Section titled “nextEvent”core::events::Event nextEvent()Private Attributes
Section titled “Private Attributes”| Return | Name | Description |
|---|---|---|
std::vector< unsigned char > | buf | |
std::queue< core::events::Event > | events |
std::vector< unsigned char > bufevents
Section titled “events”std::queue< core::events::Event > eventsPrivate Methods
Section titled “Private Methods”| Return | Name | Description |
|---|---|---|
void | tryParse | |
void | emit |
tryParse
Section titled “tryParse”void tryParse()void emit(int key, bool shift, bool ctrl, bool alt)