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

Method isOpen

app/src/IO/Drivers/Process.cpp:115–121  ·  view source on GitHub ↗

* @brief Returns true when the process or pipe channel is open. */

Source from the content-addressed store, hash-verified

113 * @brief Returns true when the process or pipe channel is open.
114 */
115bool IO::Drivers::Process::isOpen() const noexcept
116{
117 if (m_mode == Mode::Launch)
118 return m_process && m_process->state() == QProcess::Running;
119
120 return m_pipeRunning.load();
121}
122
123/**
124 * @brief Returns true when the channel can be read.

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected