The base class for transitions based on CYIEvent.
This class can be used as a transition based on event type. Specify a CYIEventHandler where the event takes place as well as the event type.
For event transitions with more conditions see CYIKeyEventTransition, CYIActionEventTransition, CYIMessageEventTransition.
Custom event transitions can be created by subclassing the appropriate base.
#include <deprecated/YiEventTransition.h>

Protected Member Functions | |
| virtual bool | TestEvent (CYIEvent *) override |
| 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) | |
Additional Inherited Members | |
Public Attributes inherited from yi::deprecated::CYITransition | |
| CYISignal | TransitionStarted |
| CYISignal | TransitionEnded |
Protected Attributes inherited from yi::deprecated::CYITransition | |
| CYITransitionPriv * | m_pPriv |
| yi::deprecated::CYIEventTransition::CYIEventTransition | ( | CYIEventTarget * | pEventTarget, |
| YI_EVENT_TYPE | type, | ||
| CYICompoundState * | source, | ||
| CYIAbstractState * | target = 0 |
||
| ) |
See CYITransition::CYITransition. Additionally a handler and event type may be specified.
|
virtual |
|
protected |
|
virtual |
|
virtual |
|
overrideprotectedvirtual |
See CYITransition::TestEvent. This implementation tests against the event type given in the constructor.
Reimplemented from yi::deprecated::CYITransition.
Reimplemented in yi::deprecated::CYIKeyEventTransition, and yi::deprecated::CYIActionEventTransition.