32 #ifndef CXREPORTERMESSAGEREPOSITORY_H
33 #define CXREPORTERMESSAGEREPOSITORY_H
35 #include "cxResourceExport.h"
74 bool testFilter(
const Message &msg)
const;
77 QStringList mChannels;
110 void limitQueueSize();
111 void emitThroughFilter(
const Message& message);
112 QList<Message> mMessages;
113 std::vector<MessageObserverPtr> mObservers;
114 int mMessageHistoryMaxSize;
120 #endif // CXREPORTERMESSAGEREPOSITORY_H
void sendMessage(const Message &message)
void uninstall(MessageObserverPtr observer)
static MessageRepositoryPtr create()
void setMessageQueueMaxSize(int count)
boost::shared_ptr< class MessageFilter > MessageFilterPtr
void setMessage(Message message)
void newChannel(QString channel)
void installFilter(MessageFilterPtr filter)
void install(MessageObserverPtr observer, bool resend)
boost::shared_ptr< class MessageObserver > MessageObserverPtr
int getMessageQueueMaxSize() const
boost::shared_ptr< class MessageRepository > MessageRepositoryPtr
boost::shared_ptr< class MessageListener > MessageListenerPtr
void newMessage(Message message)