Krita Source Code Documentation
Loading...
Searching...
No Matches
KisBlockBackgroundFrameGenerationLockAdapter Class Reference

#include <KisBlockBackgroundFrameGenerationLock.h>

Public Member Functions

 KisBlockBackgroundFrameGenerationLockAdapter (KisImageAnimationInterface *interface)
 
void lock ()
 
void unlock ()
 

Private Attributes

KisImageAnimationInterfacem_interface
 

Detailed Description

A RAII-based locker for calling animationInterface->block/unblockBackgroundFrameGeneration(), which prohibits background frame cache generation process, so that it doesn't interfere with interactive frame generation using the dialog.

Definition at line 23 of file KisBlockBackgroundFrameGenerationLock.h.

Constructor & Destructor Documentation

◆ KisBlockBackgroundFrameGenerationLockAdapter()

KisBlockBackgroundFrameGenerationLockAdapter::KisBlockBackgroundFrameGenerationLockAdapter ( KisImageAnimationInterface * interface)

Definition at line 11 of file KisBlockBackgroundFrameGenerationLock.cpp.

12 : m_interface(interface)
13{
14}

Member Function Documentation

◆ lock()

void KisBlockBackgroundFrameGenerationLockAdapter::lock ( )

◆ unlock()

void KisBlockBackgroundFrameGenerationLockAdapter::unlock ( )

Member Data Documentation

◆ m_interface

KisImageAnimationInterface* KisBlockBackgroundFrameGenerationLockAdapter::m_interface
private

Definition at line 32 of file KisBlockBackgroundFrameGenerationLock.h.


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