36 OSL_FAIL(
"### resolving child failed!" );
46 makeEvent( [self] () { self->deactivate(); },
47 "SequentialTimeContainer::deactivate") );
69 makeEvent( [pChildNode] () { pChildNode->deactivate(); },
70 "SequentialTimeContainer::deactivate, skipEffect with delay") );
73 OSL_FAIL(
"unknown notifier!" );
79 bool const bResolved = pChildNode->resolve();
88 std::dynamic_pointer_cast<SequentialTimeContainer>(
getSelf() ),
90 "SequentialTimeContainer::skipEffect, resolveChild");
108 OSL_ASSERT( pNextChild->getState() ==
UNRESOLVED );
@ UNRESOLVED
Unresolved start time.
bool notifyDeactivatedChild(AnimationNodeSharedPtr const &pChildNode)
bool isDurationIndefinite() const
bool isChildNode(AnimationNodeSharedPtr const &pNode) const
::std::size_t mnFinishedChildren
virtual void dispose() override
Dispose all object references.
bool isMainSequenceRootNode() const
SlideShowContext const & getContext() const
::std::shared_ptr< BaseNode > const & getSelf() const
virtual void deactivate() override
Immediately stop this node.
void scheduleDeactivationEvent(EventSharedPtr const &pEvent=EventSharedPtr())
void forceEmpty()
Forces an empty queue, firing all events immediately without minding any times.
bool addEvent(const EventSharedPtr &event)
Add the given event to the queue.
virtual void dispose() override
Dispose all object references.
EventSharedPtr mpCurrentSkipEvent
virtual void activate_st() override
bool resolveChild(AnimationNodeSharedPtr const &pChildNode)
void skipEffect(AnimationNodeSharedPtr const &pChildNode)
virtual void notifyDeactivating(AnimationNodeSharedPtr const &rNotifier) override
Called to notify another AnimationNode's deactivation.
void registerSkipEffectEvent(EventSharedPtr const &pEvent, const bool bSkipTriggersNextEffect)
Registers an event that is fired when the current effects(s) are skipped, .e.g.
::std::shared_ptr< AnimationNode > AnimationNodeSharedPtr
EventQueue & mrEventQueue
UserEventQueue & mrUserEventQueue