|
BetaTrader
A HFT Eco-System
|
Asynchronous database worker abstraction. More...
#include "rigtorp/SPSCQueue.h"#include <SQLiteCpp/SQLiteCpp.h>#include <functional>#include <string>#include <thread>

Go to the source code of this file.
Classes | |
| class | data::DatabaseWorker |
| Executes database tasks asynchronously. More... | |
Namespaces | |
| namespace | data |
Asynchronous database worker abstraction.
This worker accepts lambda tasks that operate on a SQLite::Database instance and executes them on a background thread. It provides a queue interface to submit database tasks without blocking the caller.