|
| KeyboardEvent (IvwKey key=IvwKey::Unknown, KeyState state=KeyState::Press, KeyModifiers modifiers=KeyModifiers(flags::empty), uint32_t nativeVirtualKey=0, const std::string &utfText="") |
|
| KeyboardEvent (const KeyboardEvent &rhs)=default |
|
KeyboardEvent & | operator= (const KeyboardEvent &that)=default |
|
virtual KeyboardEvent * | clone () const override |
|
KeyState | state () const |
|
void | setState (KeyState state) |
|
virtual IvwKey | key () const |
|
void | setKey (IvwKey key) |
|
uint32_t | getNativeVirtualKey () const |
|
void | setNativeVirtualKey (uint32_t key) |
|
std::string | text () const |
|
void | setText (const std::string &text) |
|
virtual uint64_t | hash () const override |
|
virtual void | print (std::ostream &ss) const override |
|
| InteractionEvent (KeyModifiers modifiers=KeyModifiers(flags::empty)) |
|
| InteractionEvent (const InteractionEvent &rhs)=default |
|
InteractionEvent & | operator= (const InteractionEvent &that)=default |
|
KeyModifiers | modifiers () const |
|
void | setModifiers (KeyModifiers modifiers) |
|
std::string | modifierNames () const |
|
void | setToolTip (std::string_view tooltip) const |
|
void | setToolTipCallback (ToolTipCallback callback) |
|
const ToolTipCallback & | getToolTipCallback () const |
|
virtual bool | shouldPropagateTo (Inport *inport, Processor *processor, Outport *source) |
|
bool | markAsUsed () |
|
bool | hasBeenUsed () const |
|
bool | markAsUnused () |
|
bool | setUsed (bool isUsed) |
|
bool | markAsVisited (Processor *) |
|
void | markAsVisited (Event &) |
|
bool | hasVisitedProcessor (Processor *) const |
|
const std::vector< Processor * > & | getVisitedProcessors () const |
|
template<typename EventType > |
EventType * | getAs () |
|
template<typename EventType > |
const EventType * | getAs () const |
|
Generated when keys are pressed and released.