1#ifndef DECONZ_NODE_EVENT_H
2#define DECONZ_NODE_EVENT_H
16#include <deconz/aps.h>
22class NodeEventPrivate;
29class DECONZ_DLLSPEC NodeEvent
54 UpdatedNodeDescriptor,
56 UpdatedPowerDescriptor,
58 UpdatedUserDescriptor,
62 UpdatedSimpleDescriptor,
70 UpdatedClusterDataZclRead,
74 UpdatedClusterDataZclReport,
82 NodeEvent(Event event,
const Node *node = 0, uint8_t endpoint = 0, uint16_t profileId = 0, uint16_t clusterId = 0);
84 NodeEvent(Event event,
const Node *node,
const ApsDataIndication &ind);
86 NodeEvent(
const NodeEvent &other);
88 NodeEvent &operator= (
const NodeEvent &other);
92 const Node *node()
const;
101 uint8_t endpoint()
const;
106 uint16_t profileId()
const;
111 uint16_t clusterId()
const;
117 const std::vector<uint16_t> &attributeIds()
const;
120 void addAttributeId(uint16_t
id);
122 NodeEventPrivate *d_ptr;
123 Q_DECLARE_PRIVATE(NodeEvent)
128Q_DECLARE_METATYPE(deCONZ::NodeEvent)
The deCONZ namespace.
Definition aps.cpp:19
Declaration of the most common deCONZ library types.