CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxLogFileWatcher.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
12 #ifndef CXLOGFILEWATCHER_H
13 #define CXLOGFILEWATCHER_H
14 
15 #include "cxResourceExport.h"
16 
17 #include "cxLog.h"
18 
19 class QString;
20 class QDomNode;
21 class QDomDocument;
22 class QFile;
23 class QTextStream;
24 
31 namespace cx
32 {
33 
34 typedef boost::shared_ptr<class LogFileWatcher> LogFileWatcherPtr;
35 
42 class cxResource_EXPORT LogFileWatcher : public Log
43 {
44  Q_OBJECT
45 
46 public:
47  static LogFileWatcherPtr create();
48  virtual ~LogFileWatcher() {}
49 
50 protected:
51  virtual LogThreadPtr createWorker();
52 private:
53  LogFileWatcher() {}
55  LogFileWatcher& operator=(const LogFileWatcher&);
56 };
57 
58 
59 } //namespace cx
60 
65 #endif // CXLOGFILEWATCHER_H
boost::shared_ptr< class LogFileWatcher > LogFileWatcherPtr
Definition: cxLog.h:56
boost::shared_ptr< class LogThread > LogThreadPtr
Definition: cxLog.h:46
Namespace for all CustusX production code.