LibreOffice Module slideshow (master) 1
|
Extends the Activity interface with animation-specific functions. More...
#include <animationactivity.hxx>
Public Member Functions | |
virtual void | setTargets (const AnimatableShapeSharedPtr &rShape, const ShapeAttributeLayerSharedPtr &rAttrLayer)=0 |
Sets targets (shape and attributeLayer) More... | |
Public Member Functions inherited from slideshow::internal::Activity | |
virtual bool | perform ()=0 |
Perform the activity associated with this interface's implementation. More... | |
virtual double | calcTimeLag () const =0 |
Calculates whether the activity lags time. More... | |
virtual bool | isActive () const =0 |
Query whether this activity is still continuing. More... | |
virtual void | dequeued ()=0 |
Notifies the Activity that it has now left the ActivitiesQueue. More... | |
virtual void | end ()=0 |
Forces this activity deactivate and get to its end state (if possible), but does not dispose. More... | |
Public Member Functions inherited from slideshow::internal::Disposable | |
virtual | ~Disposable () |
virtual void | dispose ()=0 |
Dispose all object references. More... | |
Public Member Functions inherited from slideshow::internal::SharedPtrAble | |
virtual | ~SharedPtrAble () |
Extends the Activity interface with animation-specific functions.
Definition at line 35 of file animationactivity.hxx.
|
pure virtual |
Sets targets (shape and attributeLayer)
Since attribute layers can only be generated when the animation starts, the Activity owner must be able to pass it into the Activity after initial creation. The same applies to the actual shape the animation must run for, since e.g. subsetted shapes are generated close before the animation starts, too (this is not necessary in and out of itself, but for performance reasons. Otherwise, character iterations produce tons of subset shapes).
rShape | Shape to play the animation on. |
rAttrLayer | Attribute layer to change the animated values on. |
Implemented in slideshow::internal::ActivityBase, and slideshow::internal::SetActivity< AnimationT >.