MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / build

Method build

core/src/devicefactory.cpp:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26using namespace scopy;
27
28DeviceImpl *DeviceFactory::build(QString param, QString category, QObject *parent)
29{
30 QString cat = category.toLower();
31 if(cat.compare("iio") == 0) {
32 return new IIODeviceImpl(param, parent);
33 } else {
34 return new DeviceImpl(param, category, parent);
35 }
36}
37
38#include "moc_devicefactory.cpp"

Callers 3

loadIconsMethod · 0.45
createNotificationMethod · 0.45
onStartMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected