High-level representation of a Z-Wave device. It enriches the ZWaveNode for information needed by the manager and the BeeeOn system. This means especially the Mapper instance.
More...
#include <ZWaveDeviceManager.h>
High-level representation of a Z-Wave device. It enriches the ZWaveNode for information needed by the manager and the BeeeOn system. This means especially the Mapper instance.
- Returns
- convert the given Z-Wave value to BeeeOn sensor value
bool ZWaveDeviceManager::Device::resolveMapper |
( |
ZWaveMapperRegistry::Ptr |
registry | ) |
|
Try to resolve Mapper for this Device based on the ZWaveNode contents unless a mapper is already resolved.
- Returns
- true if a mapper is available
list< ModuleType > ZWaveDeviceManager::Device::types |
( |
| ) |
const |
- Returns
- list of types the devices provides to the BeeeOn system
void ZWaveDeviceManager::Device::updateNode |
( |
const ZWaveNode & |
node | ) |
|
Update the underlying ZWaveNode instance by the given one. Their identities must match.
If the underlying node is already queried, any attempt to update it by a ZWaveNode instance which is not queried would be ignored.
The documentation for this class was generated from the following files:
- /var/lib/jenkins/workspace/beeeon-gateway-master/src/zwave/ZWaveDeviceManager.h
- /var/lib/jenkins/workspace/beeeon-gateway-master/src/zwave/ZWaveDeviceManager.cpp