| 
							 QtPdCom
								 1.5.0
							 
						 | 
					
#include <MessageModelImpl.h>


Classes | |
| struct | MessageItem | 
Public Member Functions | |
| Impl (MessageModel *) | |
| Constructor.  More... | |
| ~Impl () | |
| Destructor.  More... | |
| void | insertItem (MessageItem *) | 
| Insert a message item.  More... | |
| void | addProcessMessage (const PdCom::Message &) | 
| Called from the PdCom interface, if a new message appears via processMessage() or in context of activeMessagesReply().  More... | |
| void | addHistoricMessage (const PdCom::Message &, const PdCom::Message &) | 
| Called from the PdCom interface, if a historic message appears via getMessageReply().  More... | |
Static Public Member Functions | |
| static QString | wrapText (const QString &, unsigned int=78) | 
| Returns a wrapped version of a string.  More... | |
Private Types | |
| typedef QHash< int, Message * > | MessageHash | 
| typedef QMap< QString, MessageHash > | MessageMap | 
| typedef QList< MessageItem * > | MessageItemList | 
| typedef QHash< Message::Type, QIcon > | IconHash | 
| Icon hash type.  More... | |
| typedef QHash< Message::Type, QString > | IconPathHash | 
| Icon hash type (with path).  More... | |
Private Slots | |
| void | stateChanged () | 
| Reacts on process values changes of all messages to watch.  More... | |
| void | processMessage (PdCom::Message message) | 
| void | getMessageReply (PdCom::Message message) | 
| void | activeMessagesReply (std::vector< PdCom::Message >) | 
| void | processReset () | 
| void | reloadActiveMessages () | 
Private Member Functions | |
| void | getHistoryMessage () | 
| Spin up a FutureWatcher and connect its signals.  More... | |
| void | announce () | 
| Announce next best message as current message.  More... | |
Private Attributes | |
| MessageModel *const | parent | 
| MessageMap | messageMap | 
| MessageItemList | messageItemList | 
| IconHash | iconHash | 
| Icons for message types.  More... | |
| IconPathHash | iconPathHash | 
| Icons for message types (with path).  More... | |
| MessageItem * | announcedMessageItem | 
| Recently announced message.  More... | |
| QString | lang | 
| MessageManager * | messageManager | 
| int | rowLimit | 
| bool | canFetchMore | 
| uint32_t | historicSeqNo | 
| bool(* | lessThan )(const MessageItem *, const MessageItem *) | 
| QList< PdCom::Message > | resetMessagesList | 
| list of history messages that were reset  More... | |
| Process * | process = nullptr | 
Friends | |
| class | MessageModel | 
| class | Message | 
      
  | 
  private | 
Icon hash type.
      
  | 
  private | 
Icon hash type (with path).
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
| MessageModel::Impl::Impl | ( | MessageModel * | model | ) | 
Constructor.
| MessageModel::Impl::~Impl | ( | ) | 
Destructor.
      
  | 
  privateslot | 
Referenced by reloadActiveMessages().
| void MessageModel::Impl::addHistoricMessage | ( | const PdCom::Message & | pdComMsg, | 
| const PdCom::Message & | resetMsg | ||
| ) | 
Called from the PdCom interface, if a historic message appears via getMessageReply().
References QtPdCom::Message::impl, and QtPdCom::MessageModel::Impl::MessageItem::seqNo.
| void MessageModel::Impl::addProcessMessage | ( | const PdCom::Message & | pdComMsg | ) | 
Called from the PdCom interface, if a new message appears via processMessage() or in context of activeMessagesReply().
References QtPdCom::Message::impl, and QtPdCom::MessageModel::Impl::MessageItem::seqNo.
      
  | 
  private | 
Announce next best message as current message.
      
  | 
  private | 
Spin up a FutureWatcher and connect its signals.
References QtPdCom::MessageModel::canFetchMore(), and getMessageReply().
      
  | 
  privateslot | 
References QtPdCom::MessageModel::canFetchMore().
Referenced by getHistoryMessage().
| void MessageModel::Impl::insertItem | ( | MessageItem * | msgItem | ) | 
Insert a message item.
References QtPdCom::MessageModel::Impl::MessageItem::getType(), QtPdCom::MessageModel::Impl::MessageItem::isActive(), QtPdCom::MessageModel::Impl::MessageItem::message, QtPdCom::MessageModel::Impl::MessageItem::resetTime, QtPdCom::MessageModel::Impl::MessageItem::seqNo, and QtPdCom::seqNoLessThan().
      
  | 
  privateslot | 
Referenced by QtPdCom::MessageModel::connect().
      
  | 
  privateslot | 
References QtPdCom::MessageModel::canFetchMore().
Referenced by QtPdCom::MessageModel::connect().
      
  | 
  privateslot | 
References activeMessagesReply().
Referenced by QtPdCom::MessageModel::connect().
      
  | 
  privateslot | 
Reacts on process values changes of all messages to watch.
References QtPdCom::Message::getIndex(), QtPdCom::Message::getPath(), QtPdCom::ScalarVariable< T >::getValue(), QtPdCom::ScalarVariable< T >::hasData(), and QtPdCom::Message::impl.
      
  | 
  static | 
Returns a wrapped version of a string.
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  private | 
Recently announced message.
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
Icons for message types.
      
  | 
  private | 
Icons for message types (with path).
      
  | 
  private | 
      
  | 
  private | 
Referenced by QtPdCom::MessageModel::Impl::MessageItem::lessThan().
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
list of history messages that were reset
      
  | 
  private |