BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
CompositeZWaveMapperRegistry allows to use multiple different ZWaveMapperRegistry instances by the ZWaveDeviceManager. Thus, it is possible to implement different device recognition strategies. More...
#include <CompositeZWaveMapperRegistry.h>
Public Member Functions | |
Mapper::Ptr | resolve (const ZWaveNode &node) override |
Try to resolve a Mapper for the given node by iterating over the registered ZWaveMapperRegistry instances. When a ZWaveMapperRegistry instance returns a valid Mapper instance (non-null), it is returned. | |
void | addRegistry (ZWaveMapperRegistry::Ptr registry) |
Register the given registry to use by resolve(). | |
Additional Inherited Members | |
Public Types inherited from BeeeOn::ZWaveMapperRegistry | |
typedef Poco::SharedPtr < ZWaveMapperRegistry > | Ptr |
CompositeZWaveMapperRegistry allows to use multiple different ZWaveMapperRegistry instances by the ZWaveDeviceManager. Thus, it is possible to implement different device recognition strategies.
All registered ZWaveMapperRegistry instances are iterated in the order as they have been added. Thus, the last one might be the most generic one.