#include <DatabaseWorker.h>
void WorkerThread()
Definition: DatabaseWorker.cpp:42
std::thread _workerThread
Definition: DatabaseWorker.h:38
MySQLConnection * _connection
Definition: DatabaseWorker.h:35
std::atomic_bool _cancelationToken
Definition: DatabaseWorker.h:40
ProducerConsumerQueue< SQLOperation * > * _queue
Definition: DatabaseWorker.h:34
DatabaseWorker::~DatabaseWorker |
( |
| ) |
|
std::thread _workerThread
Definition: DatabaseWorker.h:38
void Cancel()
Definition: ProducerConsumerQueue.h:86
std::atomic_bool _cancelationToken
Definition: DatabaseWorker.h:40
ProducerConsumerQueue< SQLOperation * > * _queue
Definition: DatabaseWorker.h:34
void DatabaseWorker::WorkerThread |
( |
| ) |
|
|
private |
virtual int call()
Definition: SQLOperation.h:62
virtual void SetConnection(MySQLConnection *con)
Definition: SQLOperation.h:68
void WaitAndPop(T &value)
Definition: ProducerConsumerQueue.h:69
MySQLConnection * _connection
Definition: DatabaseWorker.h:35
Definition: SQLOperation.h:56
std::atomic_bool _cancelationToken
Definition: DatabaseWorker.h:40
ProducerConsumerQueue< SQLOperation * > * _queue
Definition: DatabaseWorker.h:34
std::atomic_bool DatabaseWorker::_cancelationToken |
|
private |
MySQLConnection* DatabaseWorker::_connection |
|
private |
std::thread DatabaseWorker::_workerThread |
|
private |
The documentation for this class was generated from the following files: