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

Method isResourceOpen

app/src/Console/Export.cpp:58–65  ·  view source on GitHub ↗

* @brief Returns true if at least one device file is open. */

Source from the content-addressed store, hash-verified

56 * @brief Returns true if at least one device file is open.
57 */
58bool Console::ExportWorker::isResourceOpen() const
59{
60 for (const auto& [id, state] : m_deviceFiles)
61 if (state.file && state.file->isOpen())
62 return true;
63
64 return false;
65}
66
67/**
68 * @brief Processes a batch of console data items, routing to per-device files.

Callers 1

onWorkerOpenChangedMethod · 0.45

Calls 1

isOpenMethod · 0.45

Tested by

no test coverage detected