19#ifndef INCLUDED_SLIDESHOW_SOURCE_INC_BASECONTAINERNODE_HXX
20#define INCLUDED_SLIDESHOW_SOURCE_INC_BASECONTAINERNODE_HXX
26class BaseContainerNode;
37 css::uno::Reference<css::animations::XAnimationNode>
const& xNode,
47 virtual const char*
getDescription()
const override {
return "BaseContainerNode"; }
52 virtual void dispose()
override;
55 virtual bool init_st()
override;
74 template <
typename FuncT>
76 int nodeStateMask )
const
79 if (nodeStateMask != -1 && (pNode->getState() & nodeStateMask) == 0)
NodeState
The current state of this AnimationNode.
This interface extends BaseNode with child handling methods.
virtual bool init_st() override
bool notifyDeactivatedChild(AnimationNodeSharedPtr const &pChildNode)
bool isDurationIndefinite() const
virtual void activate_st() override=0
const bool mbDurationIndefinite
bool isChildNode(AnimationNodeSharedPtr const &pNode) const
void appendChildNode(AnimationNodeSharedPtr const &pNode)
Add given child node to this container.
::std::size_t mnFinishedChildren
const bool mbRepeatIndefinite
void forEachChildNode(FuncT func, int nodeStateMask) const
virtual void notifyDeactivating(AnimationNodeSharedPtr const &rNotifier) override=0
Called to notify another AnimationNode's deactivation.
virtual const char * getDescription() const override
virtual void deactivate_st(NodeState eDestState) override
virtual void showState() const override
virtual bool hasPendingAnimation() const override
Query node whether it has an animation pending.
::std::vector< AnimationNodeSharedPtr > VectorOfNodes
BaseContainerNode(css::uno::Reference< css::animations::XAnimationNode > const &xNode, BaseContainerNodeSharedPtr const &pParent, NodeContext const &rContext)
virtual void dispose() override
Dispose all object references.
This interface extends AnimationNode with some file-private accessor methods.
::std::shared_ptr< BaseContainerNode > BaseContainerNodeSharedPtr
::std::shared_ptr< AnimationNode > AnimationNodeSharedPtr