MCPcopy Create free account
hub / github.com/CasparCG/client / checkDeviceConnection

Method checkDeviceConnection

src/Widgets/Rundown/RundownSolidColorWidget.cpp:529–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529void RundownSolidColorWidget::checkDeviceConnection()
530{
531 const QSharedPointer<CasparDevice> device = DeviceManager::getInstance().getDeviceByName(this->model.getDeviceName());
532 if (device == NULL)
533 this->labelDisconnected->setVisible(true);
534 else
535 this->labelDisconnected->setVisible(!device->isConnected());
536}
537
538void RundownSolidColorWidget::configureOscSubscriptions()
539{

Callers

nothing calls this directly

Calls 2

getDeviceByNameMethod · 0.45
isConnectedMethod · 0.45

Tested by

no test coverage detected