! * \brief Modifies the sample size of the live data source or MQTTClient object * \param sampleSize */
| 349 | * \param sampleSize |
| 350 | */ |
| 351 | void LiveDataDock::sampleSizeChanged(int sampleSize) { |
| 352 | if (m_liveDataSource) |
| 353 | m_liveDataSource->setSampleSize(sampleSize); |
| 354 | #ifdef HAVE_MQTT |
| 355 | else if (m_mqttClient) |
| 356 | m_mqttClient->setSampleSize(sampleSize); |
| 357 | #endif |
| 358 | } |
| 359 | |
| 360 | /*! |
| 361 | * \brief Updates the live data source now |
nothing calls this directly
no test coverage detected