15 #include "cxResourceExport.h" 22 #include "boost/shared_ptr.hpp" 47 typedef boost::shared_ptr<class Log>
LogPtr;
55 class cxResource_EXPORT
Log :
public QObject
62 QString getLoggingFolder()
const;
63 void setLoggingFolder(QString absoluteLoggingFolderPath);
65 void installObserver(MessageObserverPtr observer,
bool resend);
66 void uninstallObserver(MessageObserverPtr observer);
69 void loggingFolderChanged();
72 virtual LogThreadPtr createWorker() = 0;
80 void initializeObject();
84 QString getDefaultLogPath()
const;
90 Log& operator=(
const Log&);
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.