15 #include "cxResourceExport.h" 23 #include "boost/shared_ptr.hpp" 24 #include "boost/function.hpp" 33 #include <QFileSystemWatcher> 73 QList<ActionType> mPendingActions;
76 ActionType popAction();
77 void invokePendingAction();
92 virtual void setLoggingFolder(QString absoluteLoggingFolderPath);
93 virtual void installObserver(MessageObserverPtr observer,
bool resend);
94 virtual void uninstallObserver(MessageObserverPtr observer);
97 void emittedMessage(
Message message);
102 virtual void executeSetLoggingFolder(QString absoluteLoggingFolderPath) = 0;
108 void processMessage(
Message msg);
111 QPointer<ThreadMethodInvoker> mQueue;
113 int getDefaultTimeout(MESSAGE_LEVEL messageLevel)
const;
122 #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.