Transition based on CYIActionEvent.
This type of transition is useful when the type and button of a CYIActionEvent is all that matters.
#include <deprecated/YiActionEventTransition.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 | |
| uint8_t | m_uButton |
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::CYIActionEventTransition::CYIActionEventTransition | ( | CYIEventTarget * | pEventTarget, |
| YI_EVENT_TYPE | type, | ||
| uint8_t | actionButton, | ||
| CYICompoundState * | source, | ||
| CYIAbstractState * | target = 0 |
||
| ) |
See CYIEventTransition::CYIEventTransition. Additionally a button (on a mouse) can be specified.
|
virtual |
| uint8_t yi::deprecated::CYIActionEventTransition::GetActionButton | ( | ) |
Returns the button of interest.
|
overrideprotectedvirtual |
See CYIEventTransition::TestEvent. Imposes the additional restriction that the event button matches the button given in the constructor.
Reimplemented from yi::deprecated::CYIEventTransition.
|
protected |