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

Interface defining a generic animation. More...

#include <animation.hxx>

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

Public Member Functions

virtual void prefetch ()=0
 Notify that the animation going active soon. More...
 
virtual void start (const AnimatableShapeSharedPtr &rShape, const ShapeAttributeLayerSharedPtr &rAttrLayer)=0
 Notify that the animation is about to begin. More...
 
virtual void end ()=0
 Notify that the animation is about to end. More...
 
- Public Member Functions inherited from slideshow::internal::SharedPtrAble
virtual ~SharedPtrAble ()
 

Detailed Description

Interface defining a generic animation.

This interface is used by objects implementing the Activity interface to drive the animation effect. Objects implementing this interface will receive time-varying animation values, which they can forward to the appropriate attributes. The type of these animation values is given in derived interfaces.

See also
NumberAnimation
ColorAnimation
PairAnimation

Definition at line 45 of file animation.hxx.

Member Function Documentation

◆ end()

virtual void slideshow::internal::Animation::end ( )
pure virtual

Notify that the animation is about to end.

Implemented in slideshow::internal::SlideChangeBase.

◆ prefetch()

virtual void slideshow::internal::Animation::prefetch ( )
pure virtual

Notify that the animation going active soon.

Implementers should preload any buffers, and create any expensive objects at this time.

Parameters
rShapeShape to apply this animation to.
rAttrLayerAttribute layer to play the animation on.

Implemented in slideshow::internal::SlideChangeBase.

◆ start()

virtual void slideshow::internal::Animation::start ( const AnimatableShapeSharedPtr rShape,
const ShapeAttributeLayerSharedPtr rAttrLayer 
)
pure virtual

Notify that the animation is about to begin.

Implementers are free to start accompanying effects, such as sounds, and the animation timer now.

Parameters
rShapeShape to apply this animation to.
rAttrLayerAttribute layer to play the animation on.

Implemented in slideshow::internal::SlideChangeBase.


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