Skip to content

InputParser

ReturnNameDescription
voidfeed
boolhasEvent const inline
boolpendingEscape const inline
voidflushEscape
core::events::EventnextEvent

void feed(unsigned char byte)

const inline

inline bool hasEvent() const

const inline

inline bool pendingEscape() const

void flushEscape()

core::events::Event nextEvent()
ReturnNameDescription
std::vector< unsigned char >buf
std::queue< core::events::Event >events

std::vector< unsigned char > buf

std::queue< core::events::Event > events
ReturnNameDescription
voidtryParse
voidemit

void tryParse()

void emit(int key, bool shift, bool ctrl, bool alt)