Fraxinus  18.10
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 "cxDefinitionStrings.h"
24 #include "cxTime.h"
25 #include "cxMessageListener.h"
26 
28 
29 namespace cx
30 {
31 
33 {
34  LogFileWatcherPtr retval(new LogFileWatcher());
35  retval->initializeObject();
36  return retval;
37 }
38 
40 {
41  return LogThreadPtr(new LogFileWatcherThread());
42 }
43 
44 } //End namespace cx
virtual LogThreadPtr createWorker()
boost::shared_ptr< class LogFileWatcher > LogFileWatcherPtr
boost::shared_ptr< class LogThread > LogThreadPtr
Definition: cxLog.h:46
static LogFileWatcherPtr create()
Namespace for all CustusX production code.