MythTV master
alarmnotifythread.h
Go to the documentation of this file.
1#ifndef ALARMNOTIFYTHREAD_H
2#define ALARMNOTIFYTHREAD_H
3
4// Qt headers
5
6// MythTV headers
8
9// zm
10#include "zmdefines.h"
11
13{
14 protected:
16
18
19 public:
20 ~AlarmNotifyThread(void) override;
21
22 static AlarmNotifyThread *get(void);
23 void stop(void);
24
25 protected:
26 void run(void) override; // MThread
27
28 private:
29 volatile bool m_stop{false};
30};
31
32#endif // ALARMNOTIFYTHREAD_H
volatile bool m_stop
~AlarmNotifyThread(void) override
static AlarmNotifyThread * get(void)
static AlarmNotifyThread * m_alarmNotifyThread
void run(void) override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
This is a wrapper around QThread that does several additional things.
Definition: mthread.h:49