|
| Node () |
| Constructor.
|
|
| Node (const Node &other) |
| Copy constructor.
|
|
Node & | operator= (const Node &other) |
| Assignment operator.
|
|
virtual | ~Node () |
| Deconstructor.
|
|
virtual CommonState | state () const =0 |
| Returns the current node state.
|
|
const deCONZ::Address & | address () const |
| Returns the const node address.
|
|
bool | isCoordinator () const |
| Returns true if the node is a coordinator.
|
|
bool | isRouter () const |
| Returns true if the node is a router.
|
|
bool | isEndDevice () const |
| Returns true if the node is a end-device.
|
|
bool | isZombie () const |
| Returns true if the node not reachable.
|
|
void | setIsZombie (bool isZombie) |
| Sets the reachable state of the node.
|
|
const QString & | userDescriptor () const |
| Returns the user descriptor (usually the nodes name).
|
|
void | setUserDescriptor (const QString &userDescriptor) |
| Sets the user descriptor.
|
|
QString | deviceTypeString () |
| Returns the device type as string which might be Coordinator, Router or End device.
|
|
const std::vector< uint8_t > & | endpoints () const |
| Returns all known active endpoint numbers.
|
|
void | setActiveEndpoints (const std::vector< uint8_t > &ep) |
| Sets the active endpoint numbers.
|
|
SimpleDescriptor * | getSimpleDescriptor (uint8_t endpoint) |
| Returns a simple descriptor for a endpoint .
|
|
bool | setSimpleDescriptor (const SimpleDescriptor &descr) |
| Adds or updates a simple descriptor.
|
|
std::vector< SimpleDescriptor > & | simpleDescriptors () |
| Returns the modifyable list of a simple descriptors.
|
|
const std::vector< SimpleDescriptor > & | simpleDescriptors () const |
| Returns the const list of a simple descriptors.
|
|
int | copySimpleDescriptor (uint8_t endpoint, SimpleDescriptor *descr) const |
| Copy the simple descriptor specified by endpoint from internal storage to descr .
|
|
const NodeDescriptor & | nodeDescriptor () const |
| Returns the node descriptor.
|
|
void | setNodeDescriptor (const NodeDescriptor &descr) |
| Sets the node descriptor.
|
|
const PowerDescriptor & | powerDescriptor () const |
| Returns the power descriptor.
|
|
void | setPowerDescriptor (const PowerDescriptor &descr) |
| Sets the power descriptor.
|
|
const MacCapabilities & | macCapabilities () const |
| Returns the mac capabilities.
|
|
void | setMacCapabilities (MacCapabilities cap) |
| Sets the mac capabilities.
|
|
void | resetAll () |
| Resets internal fields and state.
|
|
virtual const std::vector< NodeNeighbor > & | neighbors () const =0 |
| Returns all neighbors of the node.
|
|
const std::vector< SourceRoute > & | sourceRoutes () const |
| Returns all source routes of the node.
|
|
int | addSourceRoute (const SourceRoute &sourceRoute) |
| Add or update a source route.
|
|
bool | updateSourceRoute (const SourceRoute &sourceRoute) |
| Update a source route.
|
|
int | removeSourceRoute (uint srHash) |
| Removes a source route specified by srHash .
|
|
virtual const BindingTable & | bindingTable () const =0 |
| Returns the binding table of a node.
|
|
void | pushEdScan (int ed) |
|
int | edScanValue () const |
|
bool | needRedraw () const |
|
void | setNeedRedraw (bool redraw) |
|
Represents a ZigBee node with all its descriptors and clusters.