BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
ZWaveDriverEvent.h
1 #pragma once
2 
3 #include <cstdint>
4 #include <map>
5 
6 namespace BeeeOn {
7 
15 public:
19  ZWaveDriverEvent(const std::map<std::string, uint32_t> &stats);
20 
21  [[deprecated("use SOFCount instead")]]
22  uint32_t SOAFCount() const
23  {
24  return SOFCount();
25  }
26 
27  uint32_t SOFCount() const;
28  uint32_t ACKWaiting() const;
29  uint32_t readAborts() const;
30  uint32_t badChecksum() const;
31  uint32_t readCount() const;
32  uint32_t writeCount() const;
33  uint32_t CANCount() const;
34  uint32_t NAKCount() const;
35  uint32_t ACKCount() const;
36  uint32_t OOFCount() const;
37  uint32_t dropped() const;
38  uint32_t retries() const;
39  uint32_t callbacks() const;
40  uint32_t badroutes() const;
41  uint32_t noACK() const;
42  uint32_t netBusy() const;
43  uint32_t notIdle() const;
44  uint32_t nonDelivery() const;
45  uint32_t routedBusy() const;
46  uint32_t broadcastReadCount() const;
47  uint32_t broadcastWriteCount() const;
48 
49 protected:
50  uint32_t lookup(const std::string &key) const;
51 
52 private:
53  std::map<std::string, uint32_t> m_stats;
54 };
55 
56 }
ZWaveDriverEvent(const std::map< std::string, uint32_t > &stats)
Definition: ZWaveDriverEvent.cpp:8
Definition: ZWaveDriverEvent.h:14