MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setTopicBase

Method setTopicBase

app/src/MQTT/Publisher.cpp:1668–1675  ·  view source on GitHub ↗

* @brief Sets the base topic for frame/raw publishing. */

Source from the content-addressed store, hash-verified

1666 * @brief Sets the base topic for frame/raw publishing.
1667 */
1668void MQTT::Publisher::setTopicBase(const QString& topic)
1669{
1670 if (m_topicBase == topic)
1671 return;
1672
1673 m_topicBase = topic;
1674 markConfigChanged();
1675}
1676
1677/**
1678 * @brief Sets the notification publishing topic.

Callers 2

applyPublisherTopicsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected