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

Interface defining a bool animation. More...

#include <boolanimation.hxx>

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

Public Types

typedef bool ValueType
 

Public Member Functions

virtual bool operator() (ValueType bValue)=0
 Set the animation to the given value. More...
 
virtual ValueType getUnderlyingValue () const =0
 Request the underlying value for this animation. More...
 
- Public Member Functions inherited from slideshow::internal::Animation
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 bool animation.

This interface is a specialization of the Animation interface, and is used to animate attributes that have only two discrete values (on and off, or true and false, for example).

Definition at line 37 of file boolanimation.hxx.

Member Typedef Documentation

◆ ValueType

Definition at line 40 of file boolanimation.hxx.

Member Function Documentation

◆ getUnderlyingValue()

virtual ValueType slideshow::internal::BoolAnimation::getUnderlyingValue ( ) const
pure virtual

Request the underlying value for this animation.

This is necessary for pure To or By animations, as the Activity cannot determine a sensible start value otherwise.

Attention: \n Note that you are only permitted to query
for the underlying value, if the animation has actually been started (via start() call).

◆ operator()()

virtual bool slideshow::internal::BoolAnimation::operator() ( ValueType  bValue)
pure virtual

Set the animation to the given value.

Parameters
bValueCurrent animation value.

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