BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
AbstractCollector.h
1 #pragma once
2 
3 #include "bluetooth/HciListener.h"
4 #include "conrad/ConradListener.h"
5 #include "core/CommandDispatcherListener.h"
6 #include "core/DistributorListener.h"
7 #include "iqrf/IQRFListener.h"
8 #include "philips/PhilipsHueListener.h"
9 #include "zwave/ZWaveListener.h"
10 
11 namespace BeeeOn {
12 
20  public HciListener,
21  public DistributorListener,
22  public PhilipsHueListener,
23  public ZWaveListener,
25  public IQRFListener,
26  public ConradListener {
27 public:
28  virtual ~AbstractCollector();
29 
33  void onExport(const SensorData &data) override;
34 
38  void onDriverStats(const ZWaveDriverEvent &event) override;
39 
43  void onNodeStats(const ZWaveNodeEvent &event) override;
44 
48  void onNotification(const OZWNotificationEvent &event) override;
49 
53  void onHciStats(const HciInfo &info) override;
54 
58  void onBulbStats(const PhilipsHueBulbInfo &info) override;
59 
63  void onBridgeStats(const PhilipsHueBridgeInfo &info) override;
64 
68  void onDispatch(const Command::Ptr cmd) override;
69 
73  void onReceiveDPA(const IQRFEvent &info) override;
74 
78  void onConradMessage(const ConradEvent &info) override;
79 };
80 
81 }
Definition: ZWaveNodeEvent.h:14
void onDriverStats(const ZWaveDriverEvent &event) override
Definition: AbstractCollector.cpp:13
Definition: IQRFListener.h:12
void onNotification(const OZWNotificationEvent &event) override
Definition: AbstractCollector.cpp:21
Definition: SensorData.h:20
void onNodeStats(const ZWaveNodeEvent &event) override
Definition: AbstractCollector.cpp:17
void onConradMessage(const ConradEvent &info) override
Definition: AbstractCollector.cpp:45
void onDispatch(const Command::Ptr cmd) override
Definition: AbstractCollector.cpp:37
void onExport(const SensorData &data) override
Definition: AbstractCollector.cpp:9
Definition: ConradEvent.h:17
Definition: ZWaveListener.h:14
The class represents a collector of events occuring inside the Gateway. It implements all available l...
Definition: AbstractCollector.h:19
Definition: CommandDispatcherListener.h:12
Definition: HciInfo.h:15
Interface to report events occuring in Distributor.
Definition: DistributorListener.h:15
Definition: PhilipsHueListener.h:13
Definition: HciListener.h:9
Definition: IQRFEvent.h:15
void onBulbStats(const PhilipsHueBulbInfo &info) override
Definition: AbstractCollector.cpp:29
Definition: ConradListener.h:12
void onHciStats(const HciInfo &info) override
Definition: AbstractCollector.cpp:25
void onReceiveDPA(const IQRFEvent &info) override
Definition: AbstractCollector.cpp:41
Definition: PhilipsHueBridgeInfo.h:12
void onBridgeStats(const PhilipsHueBridgeInfo &info) override
Definition: AbstractCollector.cpp:33
Definition: PhilipsHueBulbInfo.h:11
Definition: ZWaveDriverEvent.h:14
Low-level OpenZWave notification event. Because, the OpenZWave::Notification cannot be copied nor clo...
Definition: OZWNotificationEvent.h:16