sensorfw
|
Adaptor for Industrial I/O. More...
#include <iioadaptor.h>
Public Member Functions | |
virtual bool | startSensor () |
virtual void | stopSensor () |
Static Public Member Functions | |
static DeviceAdaptor * | factoryMethod (const QString &id) |
Factory method for gaining a new instance of this adaptor class. More... | |
Protected Member Functions | |
IioAdaptor (const QString &id) | |
Constructor. More... | |
~IioAdaptor () | |
Destructor. More... | |
bool | setInterval (const unsigned int value, const int sessionId) |
Adaptor for Industrial I/O.
Adaptor for Industrial I/O. Uses SysFs driver interface in polling mode, i.e. values are read with given constant interval.
Driver interface is located in /sys/bus/iio/devices/iio:deviceX/ .
No other filehandles are currently in use by this adaptor.
Definition at line 49 of file iioadaptor.h.
|
protected |
Constructor.
Protected to force externals to use factory method.
id | Identifier for the adaptor. |
|
protected |
Destructor.
|
inlinestatic |
Factory method for gaining a new instance of this adaptor class.
id | Identifier for the adaptor. |
Definition at line 82 of file iioadaptor.h.
|
protected |
|
virtual |
|
virtual |