BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
CompositeZWaveMapperRegistry.h
1 #pragma once
2 
3 #include <vector>
4 
5 #include "zwave/ZWaveMapperRegistry.h"
6 
7 namespace BeeeOn {
8 
19 public:
21 
28  Mapper::Ptr resolve(const ZWaveNode &node) override;
29 
33  void addRegistry(ZWaveMapperRegistry::Ptr registry);
34 
35 private:
36  std::vector<ZWaveMapperRegistry::Ptr> m_registry;
37 };
38 
39 }
ZWaveMapperRegistry is mostly intended to map Z-Wave specific data type hierarchy to BeeeOn ModuleTyp...
Definition: ZWaveMapperRegistry.h:22
Mapper::Ptr resolve(const ZWaveNode &node) override
Try to resolve a Mapper for the given node by iterating over the registered ZWaveMapperRegistry insta...
Definition: CompositeZWaveMapperRegistry.cpp:15
ZWaveNode represents information from the Z-Wave network about a particular node. Each Z-Wave node is...
Definition: ZWaveNode.h:22
void addRegistry(ZWaveMapperRegistry::Ptr registry)
Register the given registry to use by resolve().
Definition: CompositeZWaveMapperRegistry.cpp:28
CompositeZWaveMapperRegistry allows to use multiple different ZWaveMapperRegistry instances by the ZW...
Definition: CompositeZWaveMapperRegistry.h:18