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

Method messagesSent

app/src/MQTT/Publisher.cpp:1096–1099  ·  view source on GitHub ↗

* @brief Returns the number of messages successfully published since the singleton booted. */

Source from the content-addressed store, hash-verified

1094 * @brief Returns the number of messages successfully published since the singleton booted.
1095 */
1096quint64 MQTT::Publisher::messagesSent() const noexcept
1097{
1098 return m_messagesSent.load(std::memory_order_relaxed);
1099}
1100
1101/**
1102 * @brief Returns the canonical starter script shown in the editor when no code is saved.

Callers 1

publisherGetStatusMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected