BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions
BeeeOn::CompositeZWaveMapperRegistry Class Reference

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>

Inheritance diagram for BeeeOn::CompositeZWaveMapperRegistry:
BeeeOn::ZWaveMapperRegistry

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
 

Detailed Description

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.


The documentation for this class was generated from the following files: