12 #ifndef CXREPORTERTHREAD_H 13 #define CXREPORTERTHREAD_H 15 #include "cxResourceExport.h" 24 #include "boost/shared_ptr.hpp" 25 #include "boost/function.hpp" 76 void onMessageEmitted(
Message msg);
78 bool initializeLogFile(
LogFile file);
80 void sendToFile(
Message message);
81 void sendToCout(
Message message);
83 typedef boost::shared_ptr<class SingleStreamerImpl> SingleStreamerImplPtr;
84 SingleStreamerImplPtr mCout;
85 SingleStreamerImplPtr mCerr;
88 QStringList mInitializedFiles;
98 #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.