36 #include "cxResourceExport.h" 44 #include "boost/shared_ptr.hpp" 45 #include "boost/function.hpp" 54 #include <QFileSystemWatcher> 94 QList<ActionType> mPendingActions;
97 ActionType popAction();
98 void invokePendingAction();
113 virtual void setLoggingFolder(QString absoluteLoggingFolderPath);
114 virtual void installObserver(MessageObserverPtr observer,
bool resend);
115 virtual void uninstallObserver(MessageObserverPtr observer);
118 void emittedMessage(
Message message);
123 virtual void executeSetLoggingFolder(QString absoluteLoggingFolderPath) = 0;
129 void processMessage(
Message msg);
132 QPointer<ThreadMethodInvoker> mQueue;
134 int getDefaultTimeout(MESSAGE_LEVEL messageLevel)
const;
143 #endif // CXLOGTHREAD_H
virtual void logMessage(Message msg)
ThreadMethodInvoker(QObject *parent)
MessageRepositoryPtr mRepository
boost::shared_ptr< class MessageObserver > MessageObserverPtr
boost::function< void()> ActionType
void callInLogThread(ActionType action)
boost::shared_ptr< class MessageRepository > MessageRepositoryPtr
Namespace for all CustusX production code.