36 #include "cxResourceExport.h" 43 #include "boost/shared_ptr.hpp" 68 typedef boost::shared_ptr<class Log>
LogPtr;
76 class cxResource_EXPORT
Log :
public QObject
83 QString getLoggingFolder()
const;
84 void setLoggingFolder(QString absoluteLoggingFolderPath);
86 void installObserver(MessageObserverPtr observer,
bool resend);
87 void uninstallObserver(MessageObserverPtr observer);
90 void loggingFolderChanged();
93 virtual LogThreadPtr createWorker() = 0;
101 void initializeObject();
105 QString getDefaultLogPath()
const;
111 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.