deCONZ C++ API v2.6.1
Loading...
Searching...
No Matches
deCONZ::SourceRoute Class Reference

Public Types

enum  Constants { MaxHops = 9 }
 
enum  State { StateIdle , StateWorking , StateSleep }
 

Public Member Functions

 SourceRoute (const QString &uuid, const int order, const std::vector< Address > &hops)
 
bool operator== (const SourceRoute &other) const
 
bool operator!= (const SourceRoute &other) const
 
bool isValid () const
 
bool isOperational () const
 
const QString & uuid () const
 
uint uuidHash () const
 
const std::vector< Address > & hops () const
 The last hop in the list is the destination node.
 
int order () const
 A lower order means a higher priority for the source route.
 
void addHop (const deCONZ::Address &hop, quint8 lqi)
 
bool hasHop (const deCONZ::Address &hop) const
 
void updateHopAddress (const deCONZ::Address &hop)
 
size_t errors () const
 
void incrementErrors ()
 
size_t txOk () const
 
void incrementTxOk ()
 
State state () const
 
void setState (State state)
 
bool needSave () const
 
void saved ()
 

Public Attributes

quint8 m_hopLqi [MaxHops] = { }
 

The documentation for this class was generated from the following files: