BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
ZWaveMapperRegistry is mostly intended to map Z-Wave specific data type hierarchy to BeeeOn ModuleType. Based on the ZWaveNode metadata, it constructs or looks up an appropriate Mapper object that knows how to interpret the ZWaveNode::Value instances to the rest of the BeeeOn system. More...
#include <ZWaveMapperRegistry.h>
Data Structures | |
class | Mapper |
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... | |
Public Types | |
typedef Poco::SharedPtr < ZWaveMapperRegistry > | Ptr |
Public Member Functions | |
virtual Mapper::Ptr | resolve (const ZWaveNode &node)=0 |
Try to resolve a Mapper implementation suitable for the given Z-Wave node. | |
ZWaveMapperRegistry is mostly intended to map Z-Wave specific data type hierarchy to BeeeOn ModuleType. Based on the ZWaveNode metadata, it constructs or looks up an appropriate Mapper object that knows how to interpret the ZWaveNode::Value instances to the rest of the BeeeOn system.