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

Method isOpen

app/src/IO/Drivers/USB.cpp:271–274  ·  view source on GitHub ↗

* @brief Returns true when a USB device handle is open. */

Source from the content-addressed store, hash-verified

269 * @brief Returns true when a USB device handle is open.
270 */
271bool IO::Drivers::USB::isOpen() const noexcept
272{
273 return m_handle != nullptr;
274}
275
276/**
277 * @brief Returns true if the device is open and an IN endpoint is active.

Callers 15

isConnectedMethod · 0.45
isDeviceConnectedMethod · 0.45
connectedDeviceCountMethod · 0.45
connectedBluetoothLEMethod · 0.45
fileOpenMethod · 0.45
fileNameMethod · 0.45
closeFileMethod · 0.45
beginTransmissionMethod · 0.45
setTransferModeMethod · 0.45
cancelTransferMethod · 0.45
sendDataSubpacketsMethod · 0.45
sendNextDataChunkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected