12 #ifndef CXREPORTERTHREAD_H 13 #define CXREPORTERTHREAD_H 15 #include "cxResourceExport.h" 24 #include "boost/shared_ptr.hpp" 25 #include "boost/function.hpp" 73 void onMessageEmitted(
Message msg);
75 bool initializeLogFile(
LogFile file);
77 void sendToFile(
Message message);
78 void sendToCout(
Message message);
80 typedef boost::shared_ptr<class SingleStreamerImpl> SingleStreamerImplPtr;
81 SingleStreamerImplPtr mCout;
82 SingleStreamerImplPtr mCerr;
85 QStringList mInitializedFiles;
95 #endif // CXREPORTERTHREAD_H
virtual void logMessage(Message msg)
virtual void executeSetLoggingFolder(QString absoluteLoggingFolderPath)
void emittedMessage(Message message)
emitted for each new message, in addition to writing to file.
virtual ~ReporterThread()
ReporterThread(QObject *parent=NULL)
Namespace for all CustusX production code.