Torc
0.1
|
A class to handle the one wire files system (OWFS) for 1Wire devices. More...
#include <torc1wirebus.h>
Public Member Functions | |
Torc1WireBus () | |
void | Create (const QVariantMap &Details) |
void | Destroy (void) |
Public Member Functions inherited from TorcDeviceHandler | |
TorcDeviceHandler () | |
virtual | ~TorcDeviceHandler ()=default |
Static Public Attributes | |
static Torc1WireBus * | gTorc1WireBus = new Torc1WireBus() |
Additional Inherited Members | |
Static Public Member Functions inherited from TorcDeviceHandler | |
static void | Start (const QVariantMap &Details) |
static void | Stop (void) |
Protected Member Functions inherited from TorcDeviceHandler | |
TorcDeviceHandler * | GetNextHandler (void) |
Static Protected Member Functions inherited from TorcDeviceHandler | |
static TorcDeviceHandler * | GetDeviceHandler (void) |
Protected Attributes inherited from TorcDeviceHandler | |
QReadWriteLock | m_handlerLock |
A class to handle the one wire files system (OWFS) for 1Wire devices.
Using OWFS, 1Wire devices are presented at /sys/bus/w1/devices. If the kernel modules have not been loaded the /sys/bus/w1 directory will not exist, although it may exist and remain unpopulated if the wire module is still loaded.
We no longer monitor the file system and create/remove devices as they are seen. Instead we create those devices specified in the configuration file. Any that are not present will remain invalid.
Definition at line 15 of file torc1wirebus.h.
Torc1WireBus::Torc1WireBus | ( | ) |
Definition at line 68 of file torc1wirebus.cpp.
|
virtual |
Implements TorcDeviceHandler.
Definition at line 74 of file torc1wirebus.cpp.
|
virtual |
Implements TorcDeviceHandler.
Definition at line 147 of file torc1wirebus.cpp.
|
static |
Definition at line 20 of file torc1wirebus.h.