12 #define ONE_WIRE_DIRECTORY QStringLiteral("/sys/bus/w1/devices/") 13 #define ONE_WIRE_NAME QStringLiteral("wire1") 22 void Create (
const QVariantMap &Details);
26 QHash<QString, TorcInput*> m_inputs;
37 virtual TorcInput*
Create (
const QString &DeviceType,
const QVariantMap &Details) = 0;
47 #endif // TORC1WIREBUS_H
A class to handle the one wire files system (OWFS) for 1Wire devices.
static Torc1WireDeviceFactory * gTorc1WireDeviceFactory
void Create(const QVariantMap &Details)
static Torc1WireBus * gTorc1WireBus
Torc1WireDeviceFactory * nextTorc1WireDeviceFactory