22 #ifndef PD_MESSAGE_IMPL 23 #define PD_MESSAGE_IMPL 29 #include <pdcom5/MessageManagerBase.h> 32 #include <QDomElement>
void loadTranslations(QDomElement, TranslationMap &)
Processes a TextNode XML element.
Definition: MessageImpl.cpp:187
List of Messages.
Definition: MessageModel.h:42
QMap< QString, QString > TranslationMap
Definition: MessageImpl.h:65
void fromPlainXmlElement(QDomElement, const QString &=QString())
Constructor with XML element.
Definition: MessageImpl.cpp:93
bool announced
Already announced via anyMessage.
Definition: MessageImpl.h:71
TranslationMap description
Description of the message.
Definition: MessageImpl.h:67
Definition: BroadcastModel.h:32
Message *const parent
Definition: MessageImpl.h:60
Impl(Message *)
Constructor.
Definition: MessageImpl.cpp:32
static Message::Type typeFromString(const QString &)
Converts a message type string to the appropriate Type.
Definition: MessageImpl.cpp:215
Definition: MessageItem.h:37
Process message.
Definition: Message.h:37
TranslationMap text
Text of the message.
Definition: MessageImpl.h:66
Type type
Message type.
Definition: MessageImpl.h:62
~Impl()
Destructor.
Definition: MessageImpl.cpp:50
Definition: MessageImpl.h:39
static QString timeString(quint64)
Returns the message time as a string.
Definition: MessageImpl.cpp:169
QString path
Path of the process variable.
Definition: MessageImpl.h:63
int index
Definition: MessageImpl.h:64
static QString pathFromPlainXmlElement(QDomElement, const QString &=QString())
Get the path.
Definition: MessageImpl.cpp:57
MessageModel::Impl::MessageItem * currentItem
Definition: MessageImpl.h:70
void valueChanged()
Variable value changed.
Definition: MessageImpl.cpp:237
static int indexFromPlainXmlElement(QDomElement)
Get the index.
Definition: MessageImpl.cpp:73
void fromPdComMessage(const PdCom::Message &)
Constructor with PdCom5 message.
Definition: MessageImpl.cpp:128
Type
Message type.
Definition: Message.h:47
DoubleVariable variable
Definition: MessageImpl.h:69