15 #include "cxResourceExport.h" 22 #include "boost/shared_ptr.hpp" 48 typedef boost::shared_ptr<class Log>
LogPtr;
56 class cxResource_EXPORT
Log :
public QObject
63 QString getLoggingFolder()
const;
64 void setLoggingFolder(QString absoluteLoggingFolderPath);
66 void installObserver(MessageObserverPtr observer,
bool resend);
67 void uninstallObserver(MessageObserverPtr observer);
68 void stopQtMessages();
69 void startQtMessages();
72 void loggingFolderChanged();
75 virtual LogThreadPtr createWorker() = 0;
83 void initializeObject();
87 QString getDefaultLogPath()
const;
93 Log& operator=(
const Log&);
boost::shared_ptr< class ReporterThread > ReporterThreadPtr
virtual void onEmittedMessage(Message message)
boost::shared_ptr< class QThread > mThread
boost::shared_ptr< class Log > LogPtr
boost::shared_ptr< class MessageObserver > MessageObserverPtr
boost::shared_ptr< class LogThread > LogThreadPtr
boost::shared_ptr< class MessageListener > MessageListenerPtr
Namespace for all CustusX production code.