32 #ifndef CXREPORTERMESSAGEREPOSITORY_H
33 #define CXREPORTERMESSAGEREPOSITORY_H
35 #include "cxResourceExport.h"
76 bool testFilter(
const Message &msg)
const;
79 QStringList mChannels;
113 void limitQueueSize();
114 void emitThroughFilter(
const Message& message);
115 QList<Message> mMessages;
116 std::vector<MessageObserverPtr> mObservers;
117 int mMessageHistoryMaxSize;
124 #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)