|
GlsAnimation Library
1.0.5
Provides classes and functions to support animating GL Studio objects programmatically or with script files
|
#include <gls_animation_observer.h>
Public Member Functions | |
| template<class OnStartedCallback , class OnUpdatedCallback , class OnCompletedCallback , class OnCanceledCallback > | |
| GlsAnimationObserver (const OnStartedCallback &onStarted, const OnUpdatedCallback &onUpdated, const OnCompletedCallback &onCompleted, const OnCanceledCallback &onCanceled) | |
| virtual void | OnStarted (ID id) |
| Inherited from GlsAnimationObserverBase. | |
| virtual void | OnUpdated (ID id) |
| Inherited from GlsAnimationObserverBase. | |
| virtual void | OnCompleted (ID id) |
| Inherited from GlsAnimationObserverBase. | |
| virtual void | OnCanceled (ID id) |
| Inherited from GlsAnimationObserverBase. | |
Public Member Functions inherited from disti::GlsAnimationObserverBase | |
| GlsAnimationObserverBase () | |
| Constructor. | |
| virtual | ~GlsAnimationObserverBase () |
| Destructor. | |
Additional Inherited Members | |
Public Types inherited from disti::GlsAnimationObserverBase | |
| typedef stdortr1::shared_ptr< GlsAnimationObserverBase > | Ptr |
| Alias for easier reading. | |
| typedef Detail::ID | ID |
| Alias for easier reading. | |
Wraps a set of function pointers or functors up as an animation observer. (It's a poor man's std::function<void()>.)
|
inline |
Constructor
| onStarted | The function pointer or functor object called when an animations starts |
| onUpdated | The function pointer or functor object called when an animations is updated |
| onCompleted | The function pointer or functor object called when an animations completes |
1.8.10