5 #include <boost/thread.hpp>
24 "database is not set");
34 fThread =
new boost::thread(thread);
42 "Thread failed to start but did not report an error");
general purpose thread handler class
QError Check(bool &isRunning)
void SetError(QError *err)
void SetControlFlag(const int *flag)
QDbWatchdogThreadHandler()
QDb * fDb
not owned by thsi object
QWatchdogTimer * fTimer
not owned by this object
thread responsible for closing the database connection after it remains idle for a certain amount of ...
void SetDatabase(QDb *db)
void SetWatchdogTimer(QWatchdogTimer *timer)
error class with error type and description