projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x
[dcpomatic.git]
/
src
/
lib
/
monitor_checker.h
diff --git
a/src/lib/monitor_checker.h
b/src/lib/monitor_checker.h
index 4f856f41fda6d51a6108c11d52b5a1bfb74b36c0..f99ab4b2a46e31c90e019877f0c1f7f021784569 100644
(file)
--- a/
src/lib/monitor_checker.h
+++ b/
src/lib/monitor_checker.h
@@
-18,28
+18,19
@@
*/
*/
-#include "
signall
er.h"
+#include "
check
er.h"
#include <boost/signals2.hpp>
#include <boost/signals2.hpp>
-class MonitorChecker : public
Signaller, public boost::noncopyable
+class MonitorChecker : public
Checker
{
public:
{
public:
-
~
MonitorChecker ();
+ MonitorChecker ();
-
void run
();
+
static MonitorChecker* instance
();
- bool ok () const;
- boo
st::signals2::signal<void (void)> StateChanged
;
+protected:
+ boo
l check () const
;
- static MonitorChecker* instance ();
private:
static MonitorChecker* _instance;
private:
static MonitorChecker* _instance;
-
- MonitorChecker ();
- void thread ();
-
- boost::thread* _thread;
- mutable boost::mutex _mutex;
- bool _terminate;
- bool _ok;
};
};