LibreOffice Module slideshow (master) 1
Public Member Functions | List of all members
slideshow::internal::AnimationActivity Class Referenceabstract

Extends the Activity interface with animation-specific functions. More...

#include <animationactivity.hxx>

Inheritance diagram for slideshow::internal::AnimationActivity:
[legend]
Collaboration diagram for slideshow::internal::AnimationActivity:
[legend]

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 ()
 

Detailed Description

Extends the Activity interface with animation-specific functions.

Definition at line 35 of file animationactivity.hxx.

Member Function Documentation

◆ setTargets()

virtual void slideshow::internal::AnimationActivity::setTargets ( const AnimatableShapeSharedPtr rShape,
const ShapeAttributeLayerSharedPtr rAttrLayer 
)
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).

Parameters
rShapeShape to play the animation on.
rAttrLayerAttribute layer to change the animated values on.

Implemented in slideshow::internal::ActivityBase, and slideshow::internal::SetActivity< AnimationT >.


The documentation for this class was generated from the following file: