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

Method checkDeviceConnection

src/Widgets/Rundown/RundownCustomCommandWidget.cpp:526–533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

getDeviceByNameMethod · 0.45
isConnectedMethod · 0.45

Tested by

no test coverage detected