Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::KeyboardEventMatcher Class Reference
+ Inheritance diagram for inviwo::KeyboardEventMatcher:

Public Member Functions

 KeyboardEventMatcher (IvwKey key, KeyStates states=KeyState::Press, KeyModifiers modifier=KeyModifiers(flags::none))
 
virtual KeyboardEventMatcherclone () const override
 
virtual bool operator() (Event *) override
 
IvwKey key () const
 
void setKey (IvwKey key)
 
KeyStates states () const
 
void setStates (KeyStates states)
 
KeyModifiers modifiers () const
 
void setModifiers (KeyModifiers modifiers)
 
virtual void setCurrentStateAsDefault () override
 
virtual void resetToDefaultState () override
 
virtual bool isDefaultState () const override
 
virtual void serialize (Serializer &s) const override
 
virtual void deserialize (Deserializer &d) override
 
virtual std::string displayString () const override
 
- Public Member Functions inherited from inviwo::EventMatcher
- Public Member Functions inherited from inviwo::Serializable

Protected Member Functions

 KeyboardEventMatcher (const KeyboardEventMatcher &)=default
 
KeyboardEventMatcheroperator= (const KeyboardEventMatcher &)=default
 
- Protected Member Functions inherited from inviwo::EventMatcher
 EventMatcher (const EventMatcher &)=default
 
EventMatcheroperator= (const EventMatcher &)=default
 

Member Function Documentation

◆ clone()

virtual KeyboardEventMatcher * inviwo::KeyboardEventMatcher::clone ( ) const
overridevirtual

Implements inviwo::EventMatcher.

◆ deserialize()

virtual void inviwo::KeyboardEventMatcher::deserialize ( Deserializer & d)
overridevirtual

Reimplemented from inviwo::EventMatcher.

◆ displayString()

virtual std::string inviwo::KeyboardEventMatcher::displayString ( ) const
overridevirtual

Implements inviwo::EventMatcher.

◆ isDefaultState()

virtual bool inviwo::KeyboardEventMatcher::isDefaultState ( ) const
overridevirtual

Reimplemented from inviwo::EventMatcher.

◆ operator()()

virtual bool inviwo::KeyboardEventMatcher::operator() ( Event * )
overridevirtual

Implements inviwo::EventMatcher.

◆ resetToDefaultState()

virtual void inviwo::KeyboardEventMatcher::resetToDefaultState ( )
overridevirtual

Reimplemented from inviwo::EventMatcher.

◆ serialize()

virtual void inviwo::KeyboardEventMatcher::serialize ( Serializer & s) const
overridevirtual

Reimplemented from inviwo::EventMatcher.

◆ setCurrentStateAsDefault()

virtual void inviwo::KeyboardEventMatcher::setCurrentStateAsDefault ( )
overridevirtual

Reimplemented from inviwo::EventMatcher.


The documentation for this class was generated from the following file: