std::shared_ptr< DeviceInterface > createDevice(const std::vector< std::string > &classNames, const std::string &name)
Attempts to create and initialize a device from a list of devices to try.
Definition: DeviceUtilities.cpp:111
std::shared_ptr< DeviceInterface > loadDevice(const std::string &fileName)
Loads a single device from the file, the first device that successfully initializes.
Definition: DeviceUtilities.cpp:149