|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <DatabaseQueue.h>
Classes | |
| struct | Impl |
Public Member Functions | |
| void | close () |
| DatabaseQueue () | |
| void | enqueue (SQLOperation *operation) |
| int | run (MySQLConnection *connection) |
| void | wait () |
| ~DatabaseQueue () | |
Private Member Functions | |
| void | BindConnection (MySQLConnection *connection) |
| void | ClearConnection () |
| DatabaseQueue (DatabaseQueue const &right)=delete | |
| Asio::IoContextExecutor & | GetExecutor () |
| DatabaseQueue & | operator= (DatabaseQueue const &right)=delete |
Private Attributes | |
| std::unique_ptr< Impl > | _impl |
Friends | |
| class | ::DatabaseWorker |
Definition at line 22 of file DatabaseQueue.h.
| Skyfire::DatabaseQueue::DatabaseQueue | ( | ) |
Definition at line 33 of file DatabaseQueue.cpp.
References _impl.
Referenced by DatabaseQueue(), and operator=().
| Skyfire::DatabaseQueue::~DatabaseQueue | ( | ) |
Definition at line 38 of file DatabaseQueue.cpp.
References close().
|
privatedelete |
References DatabaseQueue().
|
private |
Definition at line 107 of file DatabaseQueue.cpp.
Referenced by run().
|
private |
Definition at line 112 of file DatabaseQueue.cpp.
Referenced by run().
| void Skyfire::DatabaseQueue::close | ( | ) |
| void Skyfire::DatabaseQueue::enqueue | ( | SQLOperation * | operation | ) |
Definition at line 43 of file DatabaseQueue.cpp.
References _impl, SQLOperation::call(), and SQLOperation::SetConnection().
|
private |
Definition at line 102 of file DatabaseQueue.cpp.
References _impl.
|
privatedelete |
References DatabaseQueue().
| int Skyfire::DatabaseQueue::run | ( | MySQLConnection * | connection | ) |
Definition at line 61 of file DatabaseQueue.cpp.
References _impl, BindConnection(), and ClearConnection().
| void Skyfire::DatabaseQueue::wait | ( | ) |
Definition at line 82 of file DatabaseQueue.cpp.
References _impl.
|
friend |
Definition at line 42 of file DatabaseQueue.h.
|
private |
Definition at line 36 of file DatabaseQueue.h.
Referenced by close(), DatabaseQueue(), enqueue(), GetExecutor(), run(), and wait().