LibreOffice Module slideshow (master) 1
Public Member Functions | Private Attributes | List of all members
slideshow::internal::AllAnimationEventHandler Class Reference
Inheritance diagram for slideshow::internal::AllAnimationEventHandler:
[legend]
Collaboration diagram for slideshow::internal::AllAnimationEventHandler:
[legend]

Public Member Functions

 AllAnimationEventHandler (EventQueue &rEventQueue)
 
virtual bool handleAnimationEvent (const AnimationNodeSharedPtr &rNode) override
 Handle the event. More...
 
void addEvent (const EventSharedPtr &rEvent, const uno::Reference< animations::XAnimationNode > &xNode)
 
- Public Member Functions inherited from slideshow::internal::AnimationEventHandler
virtual ~AnimationEventHandler ()
 
virtual bool handleAnimationEvent (const AnimationNodeSharedPtr &rNode)=0
 Handle the event. More...
 

Private Attributes

EventQueuemrEventQueue
 
ImpAnimationEventMap maAnimationEventMap
 

Detailed Description

Definition at line 113 of file usereventqueue.cxx.

Constructor & Destructor Documentation

◆ AllAnimationEventHandler()

slideshow::internal::AllAnimationEventHandler::AllAnimationEventHandler ( EventQueue rEventQueue)
inlineexplicit

Definition at line 116 of file usereventqueue.cxx.

Member Function Documentation

◆ addEvent()

void slideshow::internal::AllAnimationEventHandler::addEvent ( const EventSharedPtr rEvent,
const uno::Reference< animations::XAnimationNode > &  xNode 
)
inline

Definition at line 147 of file usereventqueue.cxx.

References maAnimationEventMap.

◆ handleAnimationEvent()

virtual bool slideshow::internal::AllAnimationEventHandler::handleAnimationEvent ( const AnimationNodeSharedPtr rNode)
inlineoverridevirtual

Handle the event.

Parameters
rNodeAnimation node which caused this event to fire
Returns
true, if this handler has successfully processed the animation event. When this method returns false, possibly other, less prioritized handlers are called, too.

Implements slideshow::internal::AnimationEventHandler.

Definition at line 121 of file usereventqueue.cxx.

References slideshow::internal::EventQueue::addEvent(), ENSURE_OR_RETURN_FALSE, maAnimationEventMap, and mrEventQueue.

Member Data Documentation

◆ maAnimationEventMap

ImpAnimationEventMap slideshow::internal::AllAnimationEventHandler::maAnimationEventMap
private

Definition at line 164 of file usereventqueue.cxx.

Referenced by addEvent(), and handleAnimationEvent().

◆ mrEventQueue

EventQueue& slideshow::internal::AllAnimationEventHandler::mrEventQueue
private

Definition at line 163 of file usereventqueue.cxx.

Referenced by handleAnimationEvent().


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