|
LOM2M
0.8.0
|
XXX FIXME an interface for sensor / actuator is needed. More...
#include <IPE.h>
Public Member Functions | |
| BinaryDigitalSensor (Entity *parent, int gpio, const String &name, int mode=INPUT) | |
| virtual | ~BinaryDigitalSensor () |
| int | getGPIO () const |
| float | get () |
| String | toString () |
| void | publish (const String &val) |
| void | publish () |
Public Member Functions inherited from Sensor | |
| Sensor (const String &name) | |
| Sensor (Entity *parent, const String &name) | |
| virtual | ~Sensor () |
| String | valueToContent (const String &value) |
| void | updateValue (const String &newValue) |
Protected Attributes | |
| int | m_gpio |
Protected Attributes inherited from Sensor | |
| String | id |
| Container * | sensorCnt |
| Container * | dataUpCnt |
| Container * | messagesCnt |
XXX FIXME an interface for sensor / actuator is needed.
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |