12 #define I2C QStringLiteral("i2c") 36 virtual TorcI2CDevice* Create (
int Address,
const QString &Name,
const QVariantMap &Details) = 0;
53 void Create (
const QVariantMap &Details);
57 QMap<int,TorcI2CDevice*> m_devices;
59 #endif // TORCI2CBUS_H static TorcI2CDeviceFactory * gTorcI2CDeviceFactory
static TorcI2CBus * gTorcI2CBus
virtual ~TorcI2CDevice()=default
TorcI2CDevice(int Address)
TorcI2CDeviceFactory * nextTorcI2CDeviceFactory