Rabbit Remote Control 0.1.0-bate14
Loading...
Searching...
No Matches
CBackendThread Class Reference

The backend thread. More...

#include <BackendThread.h>

Inheritance diagram for CBackendThread:
Collaboration diagram for CBackendThread:

Public Member Functions

 CBackendThread (COperate *pOperate, QObject *pParent=nullptr)
 CBackendThread.
void quit ()
 Quit.

Protected Member Functions

virtual void run () override

Protected Attributes

COperatem_pOperate
CBackendm_pBackend

Detailed Description

The backend thread.

Definition at line 14 of file BackendThread.h.

Constructor & Destructor Documentation

◆ CBackendThread()

CBackendThread::CBackendThread ( COperate * pOperate,
QObject * pParent = nullptr )
explicit

CBackendThread.

Parameters
pOperate
pParentif is nullptr, then the thread is deleted when it is finished. other, the thread is deleted by the parent when the parent is deleted.

◆ ~CBackendThread()

CBackendThread::~CBackendThread ( )
overridevirtual

Definition at line 24 of file BackendThread.cpp.

Member Function Documentation

◆ quit()

void CBackendThread::quit ( )

Quit.

Note
Use this replace QThread::quit, QThread::exit, QThread::terminate

Definition at line 29 of file BackendThread.cpp.

◆ run()

void CBackendThread::run ( )
overrideprotectedvirtual

Definition at line 48 of file BackendThread.cpp.

Member Data Documentation

◆ m_pBackend

CBackend* CBackendThread::m_pBackend
protected

Definition at line 36 of file BackendThread.h.

◆ m_pOperate

COperate* CBackendThread::m_pOperate
protected

Definition at line 35 of file BackendThread.h.


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