LibreOffice Module slideshow (master) 1
Public Member Functions | Private Member Functions | List of all members
slideshow::internal::ParallelTimeContainer Class Reference

This class implements parallel node containers. More...

#include <paralleltimecontainer.hxx>

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

Public Member Functions

 ParallelTimeContainer (const css::uno::Reference< css::animations::XAnimationNode > &xNode, const BaseContainerNodeSharedPtr &rParent, const NodeContext &rContext)
 
virtual const char * getDescription () const override
 
- Public Member Functions inherited from slideshow::internal::BaseContainerNode
 BaseContainerNode (css::uno::Reference< css::animations::XAnimationNode > const &xNode, BaseContainerNodeSharedPtr const &pParent, NodeContext const &rContext)
 
void appendChildNode (AnimationNodeSharedPtr const &pNode)
 Add given child node to this container. More...
 
virtual void showState () const override
 
virtual const char * getDescription () const override
 
- Public Member Functions inherited from slideshow::internal::BaseNode
 BaseNode (css::uno::Reference< css::animations::XAnimationNode > const &xNode, BaseContainerNodeSharedPtr pParent, NodeContext const &rContext)
 
 BaseNode (const BaseNode &)=delete
 
BaseNodeoperator= (const BaseNode &)=delete
 
void setSelf (const BaseNodeSharedPtr &rSelf)
 Provide the node with a shared_ptr to itself. More...
 
virtual void showState () const
 
virtual const char * getDescription () const
 
const ::std::shared_ptr< BaseContainerNode > & getParentNode () const
 
virtual void dispose () override
 Dispose all object references. More...
 
virtual bool init () override
 Init this node. More...
 
virtual bool resolve () override
 Resolve node start time. More...
 
virtual void activate () override
 Immediately start this node. More...
 
virtual void deactivate () override
 Immediately stop this node. More...
 
virtual void end () override
 End the animation on this node. More...
 
virtual css::uno::Reference< css::animations::XAnimationNode > getXAnimationNode () const override
 Query the corresponding XAnimationNode. More...
 
virtual NodeState getState () const override
 Query node state. More...
 
virtual bool registerDeactivatingListener (const AnimationNodeSharedPtr &rNotifee) override
 Register a deactivating listener. More...
 
virtual void notifyDeactivating (const AnimationNodeSharedPtr &rNotifier) override
 Called to notify another AnimationNode's deactivation. More...
 
bool isMainSequenceRootNode () const
 
sal_Int16 getFillMode ()
 Get the node's fill mode. More...
 
virtual void removeEffect () override
 Called by the container to remove the animation effect to make the painted shape correct if it restart because of repeat or rewind ( fill mode is AnimationFill::REMOVE ) to start state. More...
 
virtual css::uno::Reference< css::animations::XAnimationNode > getXAnimationNode () const =0
 Query the corresponding XAnimationNode. More...
 
virtual bool init ()=0
 Init this node. More...
 
virtual bool resolve ()=0
 Resolve node start time. More...
 
virtual void activate ()=0
 Immediately start this node. More...
 
virtual void deactivate ()=0
 Immediately stop this node. More...
 
virtual void end ()=0
 End the animation on this node. More...
 
virtual NodeState getState () const =0
 Query node state. More...
 
virtual bool registerDeactivatingListener (const AnimationNodeSharedPtr &rNotifee)=0
 Register a deactivating listener. More...
 
virtual void notifyDeactivating (const AnimationNodeSharedPtr &rNotifier)=0
 Called to notify another AnimationNode's deactivation. More...
 
virtual void removeEffect ()=0
 Called by the container to remove the animation effect to make the painted shape correct if it restart because of repeat or rewind ( fill mode is AnimationFill::REMOVE ) to start state. More...
 
virtual bool hasPendingAnimation () const =0
 Query node whether it has an animation pending. More...
 
- Public Member Functions inherited from slideshow::internal::Disposable
virtual ~Disposable ()
 
virtual void dispose ()=0
 Dispose all object references. More...
 

Private Member Functions

virtual void activate_st () override
 
virtual void notifyDeactivating (AnimationNodeSharedPtr const &pChildNode) override
 Called to notify another AnimationNode's deactivation. More...
 

Additional Inherited Members

- Public Types inherited from slideshow::internal::AnimationNode
enum  NodeState {
  INVALID = 0 ,
  UNRESOLVED = 1 ,
  RESOLVED = 2 ,
  ACTIVE = 4 ,
  FROZEN = 8 ,
  ENDED = 16
}
 The current state of this AnimationNode. More...
 
- Protected Types inherited from slideshow::internal::BaseContainerNode
typedef ::std::vector< AnimationNodeSharedPtrVectorOfNodes
 
- Protected Member Functions inherited from slideshow::internal::BaseContainerNode
virtual void dispose () override
 Dispose all object references. More...
 
bool isDurationIndefinite () const
 
bool isChildNode (AnimationNodeSharedPtr const &pNode) const
 
bool notifyDeactivatedChild (AnimationNodeSharedPtr const &pChildNode)
 
void repeat ()
 
template<typename FuncT >
void forEachChildNode (FuncT func, int nodeStateMask) const
 
- Protected Member Functions inherited from slideshow::internal::BaseNode
void scheduleDeactivationEvent (EventSharedPtr const &pEvent=EventSharedPtr())
 
SlideShowContext const & getContext () const
 
::std::shared_ptr< BaseNode > const & getSelf () const
 
bool checkValidNode () const
 
- Protected Attributes inherited from slideshow::internal::BaseContainerNode
VectorOfNodes maChildren
 
::std::size_t mnFinishedChildren
 
double mnLeftIterations
 

Detailed Description

This class implements parallel node containers.

All children of this node are played in parallel

Definition at line 30 of file paralleltimecontainer.hxx.

Constructor & Destructor Documentation

◆ ParallelTimeContainer()

slideshow::internal::ParallelTimeContainer::ParallelTimeContainer ( const css::uno::Reference< css::animations::XAnimationNode > &  xNode,
const BaseContainerNodeSharedPtr rParent,
const NodeContext rContext 
)
inline

Definition at line 33 of file paralleltimecontainer.hxx.

Member Function Documentation

◆ activate_st()

void slideshow::internal::ParallelTimeContainer::activate_st ( )
overrideprivatevirtual

◆ getDescription()

virtual const char * slideshow::internal::ParallelTimeContainer::getDescription ( ) const
inlineoverridevirtual

Reimplemented from slideshow::internal::BaseContainerNode.

Definition at line 40 of file paralleltimecontainer.hxx.

◆ notifyDeactivating()

void slideshow::internal::ParallelTimeContainer::notifyDeactivating ( AnimationNodeSharedPtr const &  rNotifier)
overrideprivatevirtual

Called to notify another AnimationNode's deactivation.

Parameters
rNotifierThe instance who calls this method.

Implements slideshow::internal::BaseContainerNode.

Definition at line 50 of file paralleltimecontainer.cxx.

References slideshow::internal::BaseContainerNode::notifyDeactivatedChild().


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