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

Method isOpen

app/src/Sessions/Player.cpp:138–141  ·  view source on GitHub ↗

* @brief Returns @c true while a session is loaded and ready to play. */

Source from the content-addressed store, hash-verified

136 * @brief Returns @c true while a session is loaded and ready to play.
137 */
138bool Sessions::Player::isOpen() const
139{
140 return m_db && m_db->isOpen() && m_sessionId >= 0 && !m_timestampsNs.empty();
141}
142
143/**
144 * @brief Returns @c true while the worker is loading a session.

Callers 2

teardownLocalDbMethod · 0.45

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected