BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
LoggingCollector.h
1 #pragma once
2 
3 #include <Poco/AtomicCounter.h>
4 
5 #include "core/AbstractCollector.h"
6 #include "util/Loggable.h"
7 
8 namespace BeeeOn {
9 
11 public:
14 
15  void onExport(const SensorData &data) override;
16  void onDriverStats(const ZWaveDriverEvent &event) override;
17  void onNodeStats(const ZWaveNodeEvent &event) override;
18  void onNotification(const OZWNotificationEvent &event) override;
19  void onHciStats(const HciInfo &info) override;
20  void onBulbStats(const PhilipsHueBulbInfo &info) override;
21  void onBridgeStats(const PhilipsHueBridgeInfo &info) override;
22  void onDispatch(const Command::Ptr cmd) override;
23  void onReceiveDPA(const IQRFEvent &info) override;
24  void onConradMessage(const ConradEvent &info) override;
25 
26 private:
27  Poco::AtomicCounter m_seenData;
28 };
29 
30 }
Definition: ZWaveNodeEvent.h:14
Definition: SensorData.h:20
void onBulbStats(const PhilipsHueBulbInfo &info) override
Definition: LoggingCollector.cpp:224
void onHciStats(const HciInfo &info) override
Definition: LoggingCollector.cpp:172
Definition: ConradEvent.h:17
void onNodeStats(const ZWaveNodeEvent &event) override
Definition: LoggingCollector.cpp:111
Definition: LoggingCollector.h:10
The class represents a collector of events occuring inside the Gateway. It implements all available l...
Definition: AbstractCollector.h:19
Definition: HciInfo.h:15
void onExport(const SensorData &data) override
Definition: LoggingCollector.cpp:57
void onNotification(const OZWNotificationEvent &event) override
Definition: LoggingCollector.cpp:144
Definition: IQRFEvent.h:15
void onBridgeStats(const PhilipsHueBridgeInfo &info) override
Definition: LoggingCollector.cpp:228
Definition: Loggable.h:19
void onConradMessage(const ConradEvent &info) override
Definition: LoggingCollector.cpp:264
void onDispatch(const Command::Ptr cmd) override
Definition: LoggingCollector.cpp:269
void onDriverStats(const ZWaveDriverEvent &event) override
Definition: LoggingCollector.cpp:107
Definition: PhilipsHueBridgeInfo.h:12
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
void onReceiveDPA(const IQRFEvent &info) override
Definition: LoggingCollector.cpp:243