Krita Source Code Documentation
Loading...
Searching...
No Matches
KisDelayedUpdateNodeInterface Class Referenceabstract

The KisDelayedUpdateNodeInterface class is an interface for nodes that delay their real updates with KisSignalCompressor. Some operations need explicit regeneration before they can proceed. More...

#include <KisDelayedUpdateNodeInterface.h>

+ Inheritance diagram for KisDelayedUpdateNodeInterface:

Public Member Functions

virtual void forceUpdateTimedNode ()=0
 forceUpdateTimedNode forces the node to regenerate its project. The update might be asynchronous, so you should call image->waitForDone() after that.
 
virtual bool hasPendingTimedUpdates () const =0
 
virtual ~KisDelayedUpdateNodeInterface ()
 

Detailed Description

The KisDelayedUpdateNodeInterface class is an interface for nodes that delay their real updates with KisSignalCompressor. Some operations need explicit regeneration before they can proceed.

Definition at line 18 of file KisDelayedUpdateNodeInterface.h.

Constructor & Destructor Documentation

◆ ~KisDelayedUpdateNodeInterface()

KisDelayedUpdateNodeInterface::~KisDelayedUpdateNodeInterface ( )
virtual

Definition at line 9 of file KisDelayedUpdateNodeInterface.cpp.

10{
11}

Member Function Documentation

◆ forceUpdateTimedNode()

virtual void KisDelayedUpdateNodeInterface::forceUpdateTimedNode ( )
pure virtual

forceUpdateTimedNode forces the node to regenerate its project. The update might be asynchronous, so you should call image->waitForDone() after that.

Implemented in KisGeneratorLayer, KisTransformMask, and KisShapeLayer.

◆ hasPendingTimedUpdates()

virtual bool KisDelayedUpdateNodeInterface::hasPendingTimedUpdates ( ) const
pure virtual
Returns
true if forceUpdateTimedNode() is going to produce any real updates, that is the node has any updates still pending

Implemented in KisGeneratorLayer, KisTransformMask, and KisShapeLayer.


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