Transition based on CYIKeyEvent.
This type of transition is useful when the type and keycode of a CYIKeyEvent is all that matters.
#include <deprecated/YiKeyEventTransition.h>

Protected Member Functions | |
| virtual bool | TestEvent (CYIEvent *) override |
Protected Member Functions inherited from yi::deprecated::CYIEventTransition | |
| CYIEventTransition (CYIEventTransitionPriv *priv, CYIEventTarget *pEventTarget, YI_EVENT_TYPE type, CYICompoundState *source, CYIAbstractState *target) | |
Protected Member Functions inherited from yi::deprecated::CYITransition | |
| virtual void | OnTransitionStart (CYIEvent *) |
| virtual void | OnTransitionEnd (CYIEvent *) |
| CYITransition (CYITransitionPriv *priv, CYICompoundState *source, CYIAbstractState *target) | |
Protected Attributes | |
| YI_KEY_CODE | m_eKeyCode |
Protected Attributes inherited from yi::deprecated::CYITransition | |
| CYITransitionPriv * | m_pPriv |
Additional Inherited Members | |
Public Attributes inherited from yi::deprecated::CYITransition | |
| CYISignal | TransitionStarted |
| CYISignal | TransitionEnded |
| yi::deprecated::CYIKeyEventTransition::CYIKeyEventTransition | ( | CYIEventTarget * | pEventTarget, |
| YI_EVENT_TYPE | type, | ||
| YI_KEY_CODE | keyCode, | ||
| CYICompoundState * | source, | ||
| CYIAbstractState * | target = 0 |
||
| ) |
See CYIEventTransition::CYIEventTransition. Additionally a key code can be specified.
|
virtual |
| YI_KEY_CODE yi::deprecated::CYIKeyEventTransition::GetKeyCode | ( | ) |
|
overrideprotectedvirtual |
See CYIEventTransition::TestEvent. Imposes the additional restriction that the event key code matches the key code given in the constructor.
Reimplemented from yi::deprecated::CYIEventTransition.
|
protected |