![]() |
MantisBase v0.4.9
|
#include <realtime.h>
Public Member Functions | |
| MbRtDbWorker (const MantisBase &app) | |
| ~MbRtDbWorker () | |
| bool | isDbRunning () const |
| void | addCallback (const RtCallback &cb) |
| void | stopWorker () |
| void | notify () |
Internal worker that polls (SQLite) or listens (PostgreSQL) for DB changes.
|
explicit |
| app | Owning application (used for db access/config). Stored by reference. |
| mb::MbRtDbWorker::~MbRtDbWorker | ( | ) |
| void mb::MbRtDbWorker::addCallback | ( | const RtCallback & | cb | ) |
|
nodiscard |
| void mb::MbRtDbWorker::notify | ( | ) |
Signal the worker (SQLite) to wake and drain the change log now.
| void mb::MbRtDbWorker::stopWorker | ( | ) |