Helper class used to start the begin and end animations of the CYIViewController.
#include <screen/YiViewController.h>

Public Types | |
| enum | ANIMATION_DIRECTION { ANIMATE_FORWARD, ANIMATE_REVERSE } |
Public Member Functions | |
| TimelineHelper () | |
| virtual | ~TimelineHelper () |
| void | SetAnimation (CYIAbstractTimeline *pAnimation, ANIMATION_DIRECTION eDirection) |
| void | Start () |
Public Member Functions inherited from CYISignalHandler | |
| CYISignalHandler () | |
| CYISignalHandler (const CYISignalHandler &rSignalHandler) | |
| virtual | ~CYISignalHandler () |
| CYISignalHandler & | operator= (const CYISignalHandler &rSignalHandler) |
| void | MoveToThread (CYIThread *pThread) |
| This function allows the user to override the default thread affinity to any CYIThread that may or may not be running. More... | |
| CYIThreadHandle | GetThreadAffinity () const |
| void | SetThreadAffinity (const CYIThreadHandle &rThreadAffinity) |
| virtual bool | IsConnected () const |
| virtual bool | IsConnected (const CYISignalBase &rSignal) const |
| void | Disconnect (CYISignalBase &rSignal) |
| void | DisconnectFromAllSignals () |
Public Member Functions inherited from CYIThread::Listener | |
| Listener () | |
| virtual | ~Listener () |
| virtual void | OnThreadStarted (CYIThread *) |
| virtual void | OnThreadTerminated (CYIThread *) |
| virtual void | OnThreadFinished (CYIThread *) |
Public Attributes | |
| CYISignal | AnimationCompleted |
| CYIViewController::TimelineHelper::TimelineHelper | ( | ) |
|
virtual |
| void CYIViewController::TimelineHelper::SetAnimation | ( | CYIAbstractTimeline * | pAnimation, |
| ANIMATION_DIRECTION | eDirection | ||
| ) |
Sets the animation and direction on the helper.
| void CYIViewController::TimelineHelper::Start | ( | ) |
Start playing the animation in the direction specified by SetAnimation(). The AnimationCompleted signal will be emitted when the animation completes.
| CYISignal CYIViewController::TimelineHelper::AnimationCompleted |
Signals that the animation has completed.