Node management for ozw.
More...
This class is used by ozw to manage valueids for a node (device). No user-serviceable parts inside. It is not exposed to the end user.
|
typedef std::map< int, OpenZWave::ValueID > | valueMap_t |
|
typedef std::list< OpenZWave::ValueID > | valueList_t |
|
zwNode |
( |
uint32_t |
homeId, |
|
|
uint8_t |
nodeId |
|
) |
| |
zwNode constructor.
- Parameters
-
homeId | the homeId os the network controller |
nodeId | the node index |
get the nodeId
- Returns
- The nodeId for this node
get the homeId
- Returns
- The homeId for this node
void addValueID |
( |
OpenZWave::ValueID |
vid | ) |
|
Add an OpenZWave ValueID and index to the value map, incrementing m_vindex.
- Parameters
-
void removeValueID |
( |
OpenZWave::ValueID |
vid | ) |
|
Remove an OpenZWave ValueID from the value map.
- Parameters
-
bool indexToValueID |
( |
int |
index, |
|
|
OpenZWave::ValueID * |
vid |
|
) |
| |
Lookup and return a ValueID corresponding to an index.
- Parameters
-
index | the index to look up |
vid | The pointer to the returned ValueID, if it exists |
- Returns
- true if the index was found, false otherwise
void dumpNode |
( |
bool |
all = false | ) |
|
Dump various information about the ValueIDs stored in this node.
- Parameters
-
all | true to dump all values, false to limit dumping only 'user' values. |
Clear the VID map, sort the list containing registered VID's, and re-create the VID map. The goal is to ensure that the Map is always sorted in acsending order by VID.
void setAutoUpdate |
( |
bool |
enable | ) |
|
|
inline |
When enabled, updateVIDMap() will be called every time a new VID is inserted or removed. This is disabled by default for performance reasons during init() time. Once the driver is initialized, then this option is, by default enabled so that the VID map is always kept in a sorted order.
- Parameters
-
enable | true to enable, false to disable. |
The documentation for this class was generated from the following files: