Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::threads::BackgroundTaskWithDialog Class Reference

#include <BackgroundTaskWithDialog.hpp>

Collaboration diagram for iv::threads::BackgroundTaskWithDialog:
[legend]

Public Member Functions

 BackgroundTaskWithDialog (BackgroundTaskWithDialogParams params)
 
 ~BackgroundTaskWithDialog ()
 
void execute (CDialog *dlgFather)
 
bool isCancelled () const
 

Private Member Functions

void runTask () const
 

Private Attributes

BackgroundTaskWithDialogParams m_params
 
std::atomic_bool m_cancelRequested
 
std::thread m_thread
 
std::weak_ptr< CDialogm_dialog
 

Constructor & Destructor Documentation

◆ BackgroundTaskWithDialog()

iv::threads::BackgroundTaskWithDialog::BackgroundTaskWithDialog ( BackgroundTaskWithDialogParams params)
explicit

◆ ~BackgroundTaskWithDialog()

iv::threads::BackgroundTaskWithDialog::~BackgroundTaskWithDialog ( )

Member Function Documentation

◆ execute()

void iv::threads::BackgroundTaskWithDialog::execute ( CDialog * dlgFather)

◆ isCancelled()

bool iv::threads::BackgroundTaskWithDialog::isCancelled ( ) const
nodiscard

◆ runTask()

void iv::threads::BackgroundTaskWithDialog::runTask ( ) const
private

Member Data Documentation

◆ m_cancelRequested

std::atomic_bool iv::threads::BackgroundTaskWithDialog::m_cancelRequested
private

◆ m_dialog

std::weak_ptr<CDialog> iv::threads::BackgroundTaskWithDialog::m_dialog
private

◆ m_params

BackgroundTaskWithDialogParams iv::threads::BackgroundTaskWithDialog::m_params
private

◆ m_thread

std::thread iv::threads::BackgroundTaskWithDialog::m_thread
private

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