Map the ZWaveNode-specific data to the BeeeOn-specific ones. It is assumed that the ZWaveNode instance (or its Value) passed into the Mapper is the one used by ZWaveMapperRegistry::lookup().
More...
#include <ZWaveMapperRegistry.h>
|
typedef Poco::SharedPtr< Mapper > | Ptr |
|
Map the ZWaveNode-specific data to the BeeeOn-specific ones. It is assumed that the ZWaveNode instance (or its Value) passed into the Mapper is the one used by ZWaveMapperRegistry::lookup().
DeviceID ZWaveMapperRegistry::Mapper::buildID |
( |
| ) |
const |
|
virtual |
The mapper can sometimes need to mangle a device ID for a Z-Wave node. This is possible by overriding this method.
The default implementation builds the ID from the home ID and node ID.
- Returns
- ID of the given Z-Wave node identity
Reimplemented in BeeeOn::GenericZWaveMapperRegistry::GenericMapper.
- Returns
- Z-Wave value representing the given value of that module ID.
- Exceptions
-
Poco::NotFoundException | if no such controllable module ID is available |
Poco::NotImplementedException | when such module ID is unsupported for changes by this mapper |
Reimplemented in BeeeOn::GenericZWaveMapperRegistry::GenericMapper.
string ZWaveMapperRegistry::Mapper::product |
( |
| ) |
const |
|
virtual |
virtual std::list<ModuleType> BeeeOn::ZWaveMapperRegistry::Mapper::types |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following files:
- /var/lib/jenkins/workspace/beeeon-gateway-master/src/zwave/ZWaveMapperRegistry.h
- /var/lib/jenkins/workspace/beeeon-gateway-master/src/zwave/ZWaveMapperRegistry.cpp