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

Method readOnly

app/src/IO/ConnectionManager.cpp:164–167  ·  view source on GitHub ↗

* @brief Returns true when the connection is open but writes are disabled. */

Source from the content-addressed store, hash-verified

162 * @brief Returns true when the connection is open but writes are disabled.
163 */
164bool IO::ConnectionManager::readOnly() const
165{
166 return isConnected() && !m_writeEnabled;
167}
168
169/**
170 * @brief Returns true when the connection is open and writes are enabled.

Callers 1

getStatusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected