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

Method pause

app/src/CSV/Player.cpp:176–183  ·  view source on GitHub ↗

* @brief Pauses CSV playback. */

Source from the content-addressed store, hash-verified

174 * @brief Pauses CSV playback.
175 */
176void CSV::Player::pause()
177{
178 Q_ASSERT(isOpen());
179 Q_ASSERT(!m_csvData.isEmpty());
180
181 m_playing = false;
182 Q_EMIT playerStateChanged();
183}
184
185/**
186 * @brief Toggles between play and pause.

Callers 2

setPausedMethod · 0.45
setPausedMethod · 0.45

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected