! *\brief Adds a message received by the topic to the message puffer */
| 112 | *\brief Adds a message received by the topic to the message puffer |
| 113 | */ |
| 114 | void MQTTTopic::newMessage(const QMqttMessage& msg) { |
| 115 | m_messagePuffer.push_back(msg); |
| 116 | } |
| 117 | |
| 118 | /*! |
| 119 | *\brief Returns the name of the MQTTTopic |