17 void addToThread(
const std::shared_ptr<const Message> &message);
18 void addToThread(
const std::weak_ptr<const Message> &message);
24 size_t liveCount(
const std::shared_ptr<const Message> &exclude)
const;
32 return rootMessageId_;
35 const std::shared_ptr<const Message> &
root()
const 40 const std::vector<std::weak_ptr<const Message>> &
replies()
const 46 const QString rootMessageId_;
47 const std::shared_ptr<const Message> rootMessage_;
48 std::vector<std::weak_ptr<const Message>> replies_;
49 bool participated_ =
false;
void markParticipated()
Definition: MessageThread.cpp:66
Definition: MessageThread.hpp:11
Definition: Application.cpp:48
const QString & rootId() const
Definition: MessageThread.hpp:30
const std::vector< std::weak_ptr< const Message > > & replies() const
Definition: MessageThread.hpp:40
void addToThread(const std::shared_ptr< const Message > &message)
Definition: MessageThread.cpp:22
~MessageThread()
Definition: MessageThread.cpp:17
const std::shared_ptr< const Message > & root() const
Definition: MessageThread.hpp:35
size_t liveCount() const
Returns the number of live reply references.
Definition: MessageThread.cpp:32
MessageThread(std::shared_ptr< const Message > rootMessage)
Definition: MessageThread.cpp:10
bool participated() const
Definition: MessageThread.cpp:61