digiKam
|
Public Slots | |
void | process (FacePipelineExtendedPackage::Ptr package) |
void | slotImageLoaded (const LoadingDescription &loadingDescription, const DImg &img) |
void | start () |
void | stop () |
void | wait () |
Signals | |
void | finished () |
void | processed (FacePipelineExtendedPackage::Ptr package) |
void | signalImageLoaded (const LoadingDescription &loadingDescription, const DImg &img) |
void | signalImageSaved (const QString &filePath, bool success) |
void | signalImageStartedLoading (const LoadingDescription &loadingDescription) |
void | signalImageStartedSaving (const QString &filePath) |
void | signalLoadingProgress (const LoadingDescription &loadingDescription, float progress) |
void | signalMoreCompleteLoadingAvailable (const LoadingDescription &oldLoadingDescription, const LoadingDescription &newLoadingDescription) |
void | signalSavingProgress (const QString &filePath, float progress) |
void | signalThumbnailLoaded (const LoadingDescription &loadingDescription, const QImage &img) |
void | starting () |
Public Member Functions | |
void | cancel () |
void | checkRestart () |
FacePreviewLoader (FacePipeline::Private *const dd) | |
void | imageLoaded (const LoadingDescription &loadingDescription, const DImg &img) override |
void | imageSaved (const QString &filePath, bool success) override |
void | imageStartedLoading (const LoadingDescription &loadingDescription) override |
void | imageStartedSaving (const QString &filePath) override |
bool | isFinished () const |
bool | isRunning () const |
void | load (const LoadingDescription &description) |
void | load (const LoadingDescription &description, LoadingPolicy policy) |
void | load (const QString &filePath, const PreviewSettings &settings, int size=0) |
void | loadFast (const QString &filePath, int size) |
void | loadFastButLarge (const QString &filePath, int minimumSize) |
void | loadHighQuality (const QString &filePath, PreviewSettings::RawLoading rawLoadingMode=PreviewSettings::RawPreviewAutomatic) |
LoadingPolicy | loadingPolicy () const |
void | loadingProgress (const LoadingDescription &loadingDescription, float progress) override |
void | moreCompleteLoadingAvailable (const LoadingDescription &oldLoadingDescription, const LoadingDescription &newLoadingDescription) override |
QThread::Priority | priority () const |
virtual bool | querySendNotifyEvent () const |
void | save (const DImg &image, const QString &filePath, const QString &format) |
void | save (DImg &image, const QString &filePath, const QString &format) |
void | savingProgress (const QString &filePath, float progress) override |
bool | sentOutLimitReached () |
void | setDisplayingWidget (QWidget *const widget) |
void | setEmitSignals (bool emitThem) |
void | setLoadingPolicy (LoadingPolicy policy) |
void | setNotificationPolicy (NotificationPolicy notificationPolicy) |
void | setPriority (QThread::Priority priority) |
void | setTerminationPolicy (TerminationPolicy terminationPolicy) |
State | state () const |
void | stopAllTasks () |
void | stopLoading (const LoadingDescription &desc, LoadingTaskFilter filter=LoadingTaskFilterAll) |
void | stopLoading (const QString &filePath=QString(), LoadingTaskFilter filter=LoadingTaskFilterAll) |
void | stopSaving (const QString &filePath=QString()) |
virtual void | taskHasFinished () |
TerminationPolicy | terminationPolicy () const |
void | thumbnailLoaded (const LoadingDescription &loadingDescription, const QImage &img) override |
~FacePreviewLoader () override | |
Static Public Member Functions | |
static int | exifOrientation (const QString &filePath, const DMetadata &metadata, bool isRaw, bool fromRawEmbeddedPreview) |
static LoadSaveFileInfoProvider * | infoProvider () |
static DImg | loadFastButLargeSynchronously (const QString &filePath, int minimumSize, const IccProfile &profile=IccProfile()) |
static DImg | loadFastSynchronously (const QString &filePath, int size, const IccProfile &profile=IccProfile()) |
static DImg | loadHighQualitySynchronously (const QString &filePath, PreviewSettings::RawLoading rawLoadingMode=PreviewSettings::RawPreviewAutomatic, const IccProfile &profile=IccProfile()) |
static DImg | loadSynchronously (const LoadingDescription &description) |
static DImg | loadSynchronously (const QString &filePath, const PreviewSettings &previewSettings, int size, const IccProfile &profile=IccProfile()) |
static void | setInfoProvider (LoadSaveFileInfoProvider *const infoProvider) |
Protected Member Functions | |
LoadingDescription | createLoadingDescription (const QString &filePath, const PreviewSettings &settings, int size) |
void | load (const LoadingDescription &description, LoadingMode loadingMode, AccessMode mode=AccessModeReadWrite) |
void | load (const LoadingDescription &description, LoadingMode loadingMode, LoadingPolicy policy, AccessMode mode=AccessModeReadWrite) |
void | loadPreview (const LoadingDescription &description, LoadingPolicy policy) |
void | loadThumbnail (const LoadingDescription &description) |
void | notificationReceived () |
void | preloadThumbnail (const LoadingDescription &description) |
void | preloadThumbnailGroup (const QList< LoadingDescription > &descriptions) |
void | prependThumbnailGroup (const QList< LoadingDescription > &descriptions) |
void | run () override |
bool | runningFlag () const volatile |
void | shutDown () |
void | start (QMutexLocker &locker) |
void | stop (QMutexLocker &locker) |
QMutex * | threadMutex () const |
void | wait (QMutexLocker &locker) |
Static Protected Member Functions | |
static LoadingDescription | createLoadingDescription (const QString &filePath, const PreviewSettings &settings, int size, const IccProfile &profile) |
Protected Attributes | |
FacePipeline::Private *const | d |
LoadSaveTask * | m_currentTask |
QWidget * | m_displayingWidget |
LoadingPolicy | m_loadingPolicy |
QMutex | m_mutex |
NotificationPolicy | m_notificationPolicy |
TerminationPolicy | m_terminationPolicy |
QList< LoadSaveTask * > | m_todo |
int | maximumSentOutPackages |
PackageLoadingDescriptionList | scheduledPackages |
|
inherited |
used by SharedLoadSaveThread only
Enumerator | |
---|---|
AccessModeRead | image will only be used for reading |
AccessModeReadWrite | image data will possibly be changed |
|
inherited |
used by SharedLoadSaveThread only
Enumerator | |
---|---|
LoadingModeNormal | no sharing of loading process, no caching of image |
LoadingModeShared | loading process is shared, image is cached |
|
inherited |
Enumerator | |
---|---|
LoadingPolicyFirstRemovePrevious | Load image immediately, remove and stop all previous loading tasks. |
LoadingPolicyPrepend | Prepend loading in front of all other tasks, but wait for the current task to finish. No other tasks will be removed, preloading tasks will be stopped and postponed. |
LoadingPolicySimplePrepend | Prepend in front of all other tasks (not touching the current task). Do not check for duplicate tasks, do not check for preloading tasks. |
LoadingPolicyAppend | Append loading task to the end of the list, but in front of all preloading tasks. No other tasks will be removed, preloading tasks will be stopped and postponed. This is similar to the simple load() operation from LoadSaveThread, except for the special care taken for preloading. |
LoadingPolicySimpleAppend | Append to the lists of tasks. Do not check for duplicate tasks, do not check for preloading tasks. |
LoadingPolicyPreload | Preload image, i.e. load it with low priority when no other tasks are scheduled. All other tasks will take precedence, and preloading tasks will be stopped and postponed when another task is added. No progress info will be sent for preloaded images |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
explicit |
|
override |
void Digikam::FacePreviewLoader::cancel | ( | ) |
References scheduledPackages, and Digikam::ManagedLoadSaveThread::stopAllTasks().
void Digikam::FacePreviewLoader::checkRestart | ( | ) |
References scheduledPackages, sentOutLimitReached(), and Digikam::DynamicThread::start().
Referenced by process().
|
protectedinherited |
|
staticprotectedinherited |
References Digikam::LoadingDescription::PostProcessingParameters::colorManagement, Digikam::LoadingDescription::ConvertForDisplay, Digikam::ICCSettingsContainer::enableCM, Digikam::DImg::fileFormat(), Digikam::DRawDecoderSettings::halfSizeColorImage, Digikam::IccSettings::instance(), Digikam::IccProfile::isNull(), Digikam::DRawDecoding::optimizeTimeLoading(), Digikam::LoadingDescription::postProcessingParameters, Digikam::DImg::RAW, Digikam::LoadingDescription::rawDecodingHint, Digikam::LoadingDescription::rawDecodingSettings, Digikam::LoadingDescription::RawDecodingTimeOptimized, Digikam::DRawDecoding::rawPrm, Digikam::LoadingDescription::PostProcessingParameters::setProfile(), Digikam::IccSettings::settings(), Digikam::DRawDecoderSettings::sixteenBitsImage, Digikam::IccProfile::sRGB(), and Digikam::ICCSettingsContainer::useManagedPreviews.
Referenced by Digikam::PreviewLoadThread::createLoadingDescription(), Digikam::PreviewLoadThread::load(), Digikam::PreviewLoadThread::loadFast(), Digikam::PreviewLoadThread::loadFastButLarge(), Digikam::PreviewLoadThread::loadFastButLargeSynchronously(), Digikam::PreviewLoadThread::loadFastSynchronously(), Digikam::PreviewLoadThread::loadHighQuality(), Digikam::PreviewLoadThread::loadHighQualitySynchronously(), and Digikam::PreviewLoadThread::loadSynchronously().
|
staticinherited |
Retrieves the Exif orientation, either from the info provider if available, or from the metadata
References Digikam::MetaEngineRotation::exifOrientation(), Digikam::MetaEngine::getItemOrientation(), Digikam::LoadSaveThread::infoProvider(), Digikam::MetaEngine::ORIENTATION_NORMAL, Digikam::MetaEngine::ORIENTATION_UNSPECIFIED, Digikam::LoadSaveFileInfoProvider::orientationHint(), and Digikam::MetaEngineRotation::toTransform().
Referenced by Digikam::DImg::exifOrientation().
|
signalinherited |
|
overridevirtualinherited |
|
overridevirtualinherited |
Implements Digikam::LoadSaveNotifier.
References Digikam::LoadSaveThread::notificationReceived(), and Digikam::LoadSaveThread::signalImageSaved().
Referenced by Digikam::SavingTask::execute().
|
overridevirtualinherited |
Implements Digikam::LoadSaveNotifier.
References Digikam::LoadSaveThread::notificationReceived(), and Digikam::LoadSaveThread::signalImageStartedLoading().
Referenced by Digikam::SharedLoadingTask::execute().
|
overridevirtualinherited |
Implements Digikam::LoadSaveNotifier.
References Digikam::LoadSaveThread::notificationReceived(), and Digikam::LoadSaveThread::signalImageStartedSaving().
Referenced by Digikam::SavingTask::execute().
|
staticinherited |
Referenced by Digikam::LoadSaveThread::exifOrientation(), and Digikam::LoadSaveThread::setInfoProvider().
|
inherited |
References Digikam::DynamicThread::Inactive.
|
inherited |
|
inherited |
Load a preview. Loading description will not be touched.
References Digikam::ManagedLoadSaveThread::loadPreview(), and Digikam::ManagedLoadSaveThread::m_loadingPolicy.
|
protectedinherited |
|
protectedinherited |
References Digikam::ManagedLoadSaveThread::load(), Digikam::LoadingTask::loadingDescription(), Digikam::ManagedLoadSaveThread::LoadingPolicyAppend, Digikam::ManagedLoadSaveThread::LoadingPolicyFirstRemovePrevious, Digikam::ManagedLoadSaveThread::LoadingPolicyPreload, Digikam::ManagedLoadSaveThread::LoadingPolicyPrepend, Digikam::ManagedLoadSaveThread::LoadingPolicySimpleAppend, Digikam::ManagedLoadSaveThread::LoadingPolicySimplePrepend, Digikam::ManagedLoadSaveThread::LoadingTaskFilterAll, Digikam::ManagedLoadSaveThread::LoadingTaskFilterPreloading, Digikam::LoadingTask::LoadingTaskStatusLoading, Digikam::LoadingTask::LoadingTaskStatusStopping, Digikam::LoadSaveThread::m_currentTask, Digikam::LoadSaveThread::m_todo, Digikam::LoadingTask::setStatus(), Digikam::DynamicThread::start(), and Digikam::DynamicThread::threadMutex().
|
inherited |
|
inherited |
Load a preview. Settings determine the loading mode. For fast loading, size is preview area size. For fast-but-large loading, it serves as a minimum size. For high quality loading, it is ignored
References Digikam::PreviewLoadThread::createLoadingDescription().
Referenced by Digikam::PreviewLoadThread::loadFast(), Digikam::PreviewLoadThread::loadFastButLarge(), and Digikam::PreviewLoadThread::loadHighQuality().
|
inherited |
Load a preview that is optimized for fast loading. Raw decoding and color management settings will be adjusted.
References Digikam::PreviewLoadThread::createLoadingDescription(), Digikam::PreviewSettings::FastPreview, and Digikam::PreviewLoadThread::load().
|
inherited |
Load a preview that is as large as possible without sacrificing speed for performance. Especially, raw previews are taken if larger than the given size. Raw decoding and color management settings will be adjusted.
References Digikam::PreviewLoadThread::createLoadingDescription(), Digikam::PreviewSettings::FastButLargePreview, and Digikam::PreviewLoadThread::load().
|
staticinherited |
|
staticinherited |
Synchronous versions of the above methods. These are safe to call from the non-UI thread, as the IccProfile either passed or deduced independent from a displaying widget
References Digikam::PreviewLoadThread::createLoadingDescription(), Digikam::PreviewSettings::FastPreview, and Digikam::PreviewLoadThread::loadSynchronously().
Referenced by Digikam::FingerprintsTask::run(), and Digikam::ImageQualityTask::run().
|
inherited |
Load a preview with higher resolution, trading more quality for less speed. Raw decoding and color management settings will be adjusted.
References Digikam::PreviewLoadThread::createLoadingDescription(), Digikam::PreviewSettings::HighQualityPreview, and Digikam::PreviewLoadThread::load().
Referenced by process().
|
staticinherited |
|
inherited |
References Digikam::ManagedLoadSaveThread::m_loadingPolicy.
|
overridevirtualinherited |
Implements Digikam::LoadSaveNotifier.
References Digikam::LoadSaveThread::notificationReceived(), and Digikam::LoadSaveThread::signalLoadingProgress().
Referenced by Digikam::LoadingTask::progressInfo().
|
protectedinherited |
References Digikam::ManagedLoadSaveThread::load(), and Digikam::ManagedLoadSaveThread::LoadingModeShared.
Referenced by Digikam::PreviewLoadThread::load().
|
staticinherited |
References Digikam::PreviewLoadingTask::execute(), and Digikam::SharedLoadingTask::img().
|
staticinherited |
|
protectedinherited |
|
overridevirtualinherited |
|
protectedinherited |
References Digikam::LoadSaveThread::m_notificationPolicy, Digikam::LoadSaveThread::NotificationPolicyDirect, and Digikam::LoadSaveThread::NotificationPolicyTimeLimited.
Referenced by Digikam::LoadSaveThread::imageLoaded(), Digikam::LoadSaveThread::imageSaved(), Digikam::LoadSaveThread::imageStartedLoading(), Digikam::LoadSaveThread::imageStartedSaving(), Digikam::LoadSaveThread::loadingProgress(), Digikam::LoadSaveThread::moreCompleteLoadingAvailable(), Digikam::LoadSaveThread::savingProgress(), and Digikam::LoadSaveThread::thumbnailLoaded().
|
protectedinherited |
|
protectedinherited |
References Digikam::LoadingTask::LoadingTaskStatusPreloading, Digikam::LoadSaveThread::m_todo, Digikam::LoadingTask::setStatus(), Digikam::DynamicThread::start(), and Digikam::DynamicThread::threadMutex().
Referenced by Digikam::ThumbnailLoadThread::pregenerateGroup(), and Digikam::ThumbnailLoadThread::preloadGroup().
|
protectedinherited |
|
inherited |
Referenced by Digikam::DynamicThread::setPriority().
|
slot |
|
signal |
Referenced by process(), and slotImageLoaded().
|
virtualinherited |
References Digikam::LoadSaveThread::m_notificationPolicy, Digikam::LoadSaveThread::NotificationPolicyDirect, and Digikam::LoadSaveThread::NotificationPolicyTimeLimited.
Referenced by Digikam::LoadingTask::progressInfo(), Digikam::SavingTask::progressInfo(), and Digikam::SharedLoadingTask::querySendNotifyEvent().
|
overrideprotectedvirtualinherited |
Implement this pure virtual function in your subclass.
Implements Digikam::DynamicThread.
References Digikam::LoadSaveTask::execute(), Digikam::LoadSaveThread::m_currentTask, Digikam::LoadSaveThread::m_notificationPolicy, Digikam::LoadSaveThread::m_todo, Digikam::LoadSaveThread::NotificationPolicyTimeLimited, Digikam::DynamicThread::runningFlag(), Digikam::DynamicThread::stop(), and Digikam::DynamicThread::threadMutex().
|
protectedinherited |
In you run() method, you shall regularly check for runningFlag() and cleanup and return if false.
Referenced by Digikam::ImageHistogram::calculate(), Digikam::RawProcessingFilter::continueQuery(), Digikam::LoadSaveThread::run(), Digikam::ScanStateFilter::run(), and Digikam::NREstimate::startAnalyse().
|
inherited |
Append a task to save the image to the task list
References Digikam::LoadSaveThread::m_todo, Digikam::DynamicThread::start(), and Digikam::DynamicThread::threadMutex().
|
inherited |
Append a task to save the image to the task list
References Digikam::ManagedLoadSaveThread::load(), Digikam::LoadingTask::loadingDescription(), Digikam::ManagedLoadSaveThread::LoadingPolicyPreload, Digikam::ManagedLoadSaveThread::LoadingTaskFilterPreloading, Digikam::LoadingTask::LoadingTaskStatusStopping, Digikam::LoadSaveThread::m_currentTask, Digikam::LoadSaveThread::m_todo, Digikam::LoadingTask::setStatus(), Digikam::DynamicThread::start(), and Digikam::DynamicThread::threadMutex().
|
overridevirtualinherited |
Implements Digikam::LoadSaveNotifier.
References Digikam::LoadSaveThread::notificationReceived(), and Digikam::LoadSaveThread::signalSavingProgress().
Referenced by Digikam::SavingTask::progressInfo().
bool Digikam::FacePreviewLoader::sentOutLimitReached | ( | ) |
References d, maximumSentOutPackages, Digikam::FacePipeline::Private::packagesOnTheRoad, and scheduledPackages.
Referenced by checkRestart(), and slotImageLoaded().
|
inherited |
Optionally, set the displaying widget for color management
References Digikam::PreviewLoadThread::m_displayingWidget.
|
inherited |
|
staticinherited |
References Digikam::LoadSaveThread::infoProvider().
Referenced by Digikam::DigikamApp::DigikamApp().
|
inherited |
Set the loading policy. Default is LoadingPolicyAppend. You can override the default value for each operation.
References Digikam::ManagedLoadSaveThread::m_loadingPolicy.
Referenced by FacePreviewLoader().
|
inherited |
References Digikam::LoadSaveThread::m_notificationPolicy.
|
inherited |
Sets the priority for this dynamic thread. Can be set anytime. If the thread is currently not running, the priority will be set when it is run next time. When you set QThread::InheritPriority (default), the priority is not changed but inherited from the thread pool.
References Digikam::DynamicThread::priority().
Referenced by Digikam::FacePipeline::Private::applyPriority(), and Digikam::FacePipeline::Private::createThumbnailLoadThread().
|
inherited |
|
protectedinherited |
References Digikam::ManagedLoadSaveThread::LoadingTaskFilterAll, Digikam::ManagedLoadSaveThread::LoadingTaskFilterPreloading, Digikam::LoadingTask::LoadingTaskStatusStopping, Digikam::LoadSaveThread::m_currentTask, Digikam::ManagedLoadSaveThread::m_terminationPolicy, Digikam::LoadingTask::setStatus(), Digikam::DynamicThread::shutDown(), Digikam::ManagedLoadSaveThread::stopAllTasks(), Digikam::ManagedLoadSaveThread::TerminationPolicyTerminateAll, Digikam::ManagedLoadSaveThread::TerminationPolicyTerminateLoading, Digikam::ManagedLoadSaveThread::TerminationPolicyTerminatePreloading, Digikam::ManagedLoadSaveThread::TerminationPolicyWait, and Digikam::DynamicThread::threadMutex().
Referenced by Digikam::ManagedLoadSaveThread::~ManagedLoadSaveThread(), and Digikam::ThumbnailLoadThread::~ThumbnailLoadThread().
|
signalinherited |
This signal is emitted when the loading process has finished. If the process failed, img is null.
Referenced by FacePreviewLoader(), and Digikam::LoadSaveThread::imageLoaded().
|
signalinherited |
Referenced by Digikam::LoadSaveThread::imageSaved().
|
signalinherited |
All signals are delivered to the thread from where the LoadSaveThread object has been created. This thread must use its event loop to get the signals. You must connect to these signals with Qt::AutoConnection (default) or Qt::QueuedConnection. This signal is emitted when the loading process begins.
Referenced by Digikam::LoadSaveThread::imageStartedLoading().
|
signalinherited |
Referenced by Digikam::LoadSaveThread::imageStartedSaving().
|
signalinherited |
This signal is emitted whenever new progress info is available and the notification policy allows emitting the signal. No progress info will be sent for preloaded images (ManagedLoadSaveThread).
Referenced by Digikam::LoadSaveThread::loadingProgress().
|
signalinherited |
This signal is emitted if
Referenced by Digikam::LoadSaveThread::moreCompleteLoadingAvailable().
|
signalinherited |
Referenced by Digikam::LoadSaveThread::savingProgress().
|
signalinherited |
Referenced by Digikam::LoadSaveThread::thumbnailLoaded().
|
slot |
|
slotinherited |
Referenced by Digikam::ImageHistogram::calculateInThread(), checkRestart(), Digikam::ImageHistogram::getCount(), Digikam::ImageHistogram::getMaximum(), Digikam::ImageHistogram::getMean(), Digikam::ImageHistogram::getMedian(), Digikam::ImageHistogram::getStdDev(), Digikam::LoadSaveThread::load(), Digikam::ManagedLoadSaveThread::load(), Digikam::ManagedLoadSaveThread::loadThumbnail(), Digikam::DImgThreadedFilter::multithreadedSteps(), Digikam::ManagedLoadSaveThread::preloadThumbnail(), Digikam::ManagedLoadSaveThread::preloadThumbnailGroup(), Digikam::ManagedLoadSaveThread::prependThumbnailGroup(), Digikam::ScanStateFilter::process(), Digikam::LoadSaveThread::save(), Digikam::ManagedLoadSaveThread::save(), and Digikam::DImgThreadedFilter::startFilter().
|
protectedinherited |
Doing the same as start(), stop() and wait above, provide it with a locked QMutexLocker on mutex(). Note the start() will unlock and relock for scheduling once, after state change.
References Digikam::ThreadManager::instance(), and Digikam::ThreadManager::schedule().
|
signalinherited |
Emitted if emitSignals is enabled
|
inherited |
|
slotinherited |
Stop computation, sets the running flag to false.
Referenced by Digikam::WBFilter::autoExposureAdjustement(), Digikam::DImgThreadedFilter::cancelFilter(), Digikam::DImgThreadedFilter::multithreadedSteps(), Digikam::LoadSaveThread::run(), Digikam::ScanStateFilter::run(), Digikam::DynamicThread::shutDown(), slotImageLoaded(), Digikam::FacePipeline::Private::stop(), and Digikam::ImageHistogram::stopCalculation().
|
protectedinherited |
|
inherited |
References Digikam::LoadingTask::LoadingTaskStatusStopping, Digikam::LoadSaveThread::m_currentTask, Digikam::LoadSaveThread::m_todo, Digikam::SavingTask::SavingTaskStatusStopping, Digikam::LoadingTask::setStatus(), Digikam::SavingTask::setStatus(), Digikam::LoadSaveTask::TaskTypeLoading, Digikam::LoadSaveTask::TaskTypeSaving, Digikam::DynamicThread::threadMutex(), and Digikam::LoadSaveTask::type().
Referenced by cancel(), Digikam::ThumbnailLoadThread::cleanUp(), Digikam::ManagedLoadSaveThread::shutDown(), and Digikam::FacePipeline::Private::stop().
|
inherited |
Same than previous method, but Stop and remove tasks filtered by LoadingDescription.
References Digikam::DynamicThread::threadMutex().
|
inherited |
Stop and remove tasks filtered by filePath and policy. If filePath isNull, applies to all file paths.
References Digikam::DynamicThread::threadMutex().
Referenced by Digikam::EditorCore::load().
|
inherited |
Stop and remove saving tasks filtered by filePath. If filePath isNull, applies to all file paths.
References Digikam::SavingTask::filePath(), Digikam::LoadSaveThread::m_currentTask, Digikam::LoadSaveThread::m_todo, Digikam::SavingTask::SavingTaskStatusStopping, Digikam::SavingTask::setStatus(), Digikam::LoadSaveTask::TaskTypeSaving, Digikam::DynamicThread::threadMutex(), and Digikam::LoadSaveTask::type().
Referenced by Digikam::EditorCore::abortSaving().
|
virtualinherited |
|
inherited |
References Digikam::ManagedLoadSaveThread::m_terminationPolicy.
Referenced by Digikam::ManagedLoadSaveThread::setTerminationPolicy().
|
protectedinherited |
This is the non-recursive mutex used to protect state variables and waiting in this class. You can use it if you want to protect your memory in the same scope as calling start, stop or wait, then using the QMutexLocker variants below. Note that when you have locked this mutex, you must use these variants, as the mutex is non-recursive.
Referenced by Digikam::ScanStateFilter::dispatch(), Digikam::LoadSaveThread::load(), Digikam::ManagedLoadSaveThread::load(), Digikam::ManagedLoadSaveThread::loadThumbnail(), Digikam::ManagedLoadSaveThread::preloadThumbnail(), Digikam::ManagedLoadSaveThread::preloadThumbnailGroup(), Digikam::ManagedLoadSaveThread::prependThumbnailGroup(), Digikam::ScanStateFilter::process(), Digikam::LoadSaveThread::run(), Digikam::ScanStateFilter::run(), Digikam::LoadSaveThread::save(), Digikam::ManagedLoadSaveThread::save(), Digikam::ManagedLoadSaveThread::shutDown(), Digikam::ManagedLoadSaveThread::stopAllTasks(), Digikam::ManagedLoadSaveThread::stopLoading(), Digikam::ManagedLoadSaveThread::stopSaving(), and Digikam::LoadSaveThread::taskHasFinished().
|
overridevirtualinherited |
Implements Digikam::LoadSaveNotifier.
Reimplemented in Digikam::ThumbnailLoadThread.
References Digikam::LoadSaveThread::notificationReceived(), and Digikam::LoadSaveThread::signalThumbnailLoaded().
Referenced by Digikam::ThumbnailLoadingTask::execute(), and Digikam::ThumbnailLoadThread::thumbnailLoaded().
|
slotinherited |
Waits until the thread finishes. Typically, call stop() before.
Referenced by Digikam::DImgThreadedFilter::cancelFilter(), Digikam::ThumbnailLoadThread::cleanUp(), Digikam::DynamicThread::shutDown(), slotImageLoaded(), Digikam::ImageHistogram::stopCalculation(), and Digikam::FacePipeline::Private::wait().
|
protectedinherited |
|
protected |
Referenced by sentOutLimitReached().
|
protectedinherited |
Referenced by Digikam::ManagedLoadSaveThread::load(), Digikam::ManagedLoadSaveThread::prependThumbnailGroup(), Digikam::LoadSaveThread::run(), Digikam::ManagedLoadSaveThread::save(), Digikam::ManagedLoadSaveThread::shutDown(), Digikam::ManagedLoadSaveThread::stopAllTasks(), Digikam::ManagedLoadSaveThread::stopSaving(), and Digikam::LoadSaveThread::taskHasFinished().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by Digikam::LoadSaveThread::load(), Digikam::ManagedLoadSaveThread::load(), Digikam::ManagedLoadSaveThread::loadThumbnail(), Digikam::ManagedLoadSaveThread::preloadThumbnail(), Digikam::ManagedLoadSaveThread::preloadThumbnailGroup(), Digikam::ManagedLoadSaveThread::prependThumbnailGroup(), Digikam::LoadSaveThread::run(), Digikam::LoadSaveThread::save(), Digikam::ManagedLoadSaveThread::save(), Digikam::ManagedLoadSaveThread::stopAllTasks(), and Digikam::ManagedLoadSaveThread::stopSaving().
|
protected |
Referenced by FacePreviewLoader(), and sentOutLimitReached().
|
protected |
Referenced by cancel(), checkRestart(), process(), sentOutLimitReached(), and slotImageLoaded().