BibleTime
Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
BtSourcesThread Class Reference

#include <btsourcesthread.h>

Inheritance diagram for BtSourcesThread:

Signals

void percentComplete (int percent)
 
void showMessage (QString const &msg)
 

Public Member Functions

 BtSourcesThread (QObject *parent=nullptr)
 
bool finishedSuccessfully () const noexcept
 
void stop () noexcept
 

Protected Member Functions

void run () override
 

Private Member Functions

bool shouldStop () const noexcept
 

Private Attributes

std::atomic< bool > m_finishedSuccessfully
 
std::atomic< bool > m_stop
 

Detailed Description

Definition at line 22 of file btsourcesthread.h.

Constructor & Destructor Documentation

◆ BtSourcesThread()

BtSourcesThread::BtSourcesThread ( QObject parent = nullptr)
inline

Definition at line 28 of file btsourcesthread.h.

Member Function Documentation

◆ finishedSuccessfully()

bool BtSourcesThread::finishedSuccessfully ( ) const
inlinenoexcept

◆ percentComplete

void BtSourcesThread::percentComplete ( int  percent)
signal

◆ run()

void BtSourcesThread::run ( )
overrideprotected

◆ shouldStop()

bool BtSourcesThread::shouldStop ( ) const
inlineprivatenoexcept

Definition at line 50 of file btsourcesthread.h.

References m_stop.

Referenced by run().

◆ showMessage

void BtSourcesThread::showMessage ( QString const &  msg)
signal

◆ stop()

void BtSourcesThread::stop ( )
inlinenoexcept

Member Data Documentation

◆ m_finishedSuccessfully

std::atomic<bool> BtSourcesThread::m_finishedSuccessfully
private

Definition at line 56 of file btsourcesthread.h.

Referenced by finishedSuccessfully(), and run().

◆ m_stop

std::atomic<bool> BtSourcesThread::m_stop
private

Definition at line 55 of file btsourcesthread.h.

Referenced by shouldStop(), and stop().


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