NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cxLogFileWatcher.cpp
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 #include "cxLogFileWatcher.h"
13 #include "cxLogger.h"
14 #include <QtGlobal>
15 #include <iostream>
16 #include "boost/shared_ptr.hpp"
17 #include <QString>
18 #include <QMutex>
19 #include <QSound>
20 #include <QDir>
21 #include <QTextStream>
22 #include "cxTypeConversions.h"
23 #include "cxTime.h"
24 #include "cxMessageListener.h"
25 
27 
28 namespace cx
29 {
30 
32 {
33  LogFileWatcherPtr retval(new LogFileWatcher());
34  retval->initializeObject();
35  return retval;
36 }
37 
39 {
40  return LogThreadPtr(new LogFileWatcherThread());
41 }
42 
43 } //End namespace cx
cx::LogFileWatcher::create
static LogFileWatcherPtr create()
Definition: cxLogFileWatcher.cpp:31
cxLogger.h
cxMessageListener.h
cx::LogThreadPtr
boost::shared_ptr< class LogThread > LogThreadPtr
Definition: cxLog.h:46
cx::LogFileWatcher
Definition: cxLogFileWatcher.h:42
cx::LogFileWatcher::createWorker
virtual LogThreadPtr createWorker()
Definition: cxLogFileWatcher.cpp:38
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::LogFileWatcherPtr
boost::shared_ptr< class LogFileWatcher > LogFileWatcherPtr
Definition: cxLogFileWatcher.h:34
cx::LogFileWatcherThread
Definition: cxLogFileWatcherThread.h:57
cxTypeConversions.h
cxTime.h
cxLogFileWatcher.h
cxLogFileWatcherThread.h