Diana Software
QDbWatchdogThreadHandler.hh
Go to the documentation of this file.
1 
2 #ifndef _Q_DB_WATCHDOG_THREAD_HANDLER_HH_
3 #define _Q_DB_WATCHDOG_THREAD_HANDLER_HH_
4 
5 #include "QBaseThreadHandler.hh"
6 
7 class QDb;
8 class QWatchdogTimer;
9 
16 {
17 public:
20 
21  void SetWatchdogTimer(QWatchdogTimer* timer) { fTimer = timer; }
22  void SetDatabase(QDb* db) { fDb = db; }
23 
24  QError Start();
25 private:
27  QDb* fDb;
28 };
29 #endif
general purpose thread handler class
QDb * fDb
not owned by thsi object
void SetWatchdogTimer(QWatchdogTimer *timer)
QWatchdogTimer * fTimer
not owned by this object
base class for db interface
Definition: QDb.hh:28
error class with error type and description
Definition: QError.hh:115
thread-safe timer class