|
Krita Source Code Documentation
|
#include <KisLockFrameGenerationLock.h>
Public Member Functions | |
| KisLockFrameGenerationLockAdapter (KisImageAnimationInterface *interface) | |
| void | lock () |
| bool | try_lock () |
| void | unlock () |
Private Attributes | |
| KisImageAnimationInterface * | m_interface {nullptr} |
A RAII-based locker for calling animationInterface->lock/unlockFrameGeneration(), which acquires the lock for the exclusive frame generation process.
Definition at line 20 of file KisLockFrameGenerationLock.h.
| KisLockFrameGenerationLockAdapter::KisLockFrameGenerationLockAdapter | ( | KisImageAnimationInterface * | interface | ) |
Definition at line 12 of file KisLockFrameGenerationLock.cpp.
| void KisLockFrameGenerationLockAdapter::lock | ( | ) |
Definition at line 22 of file KisLockFrameGenerationLock.cpp.
References KisImageAnimationInterface::lockFrameGeneration(), and m_interface.
| bool KisLockFrameGenerationLockAdapter::try_lock | ( | ) |
Definition at line 17 of file KisLockFrameGenerationLock.cpp.
References m_interface, and KisImageAnimationInterface::tryLockFrameGeneration().
| void KisLockFrameGenerationLockAdapter::unlock | ( | ) |
Definition at line 27 of file KisLockFrameGenerationLock.cpp.
References m_interface, and KisImageAnimationInterface::unlockFrameGeneration().
|
private |
Definition at line 30 of file KisLockFrameGenerationLock.h.