|
Z-Wave Protocol Controller Reference
|
C++ definitions for the Association toolbox. More...
Classes | |
| struct | association_compare |
Typedefs | |
| using | association_set = std::set< association_t, association_compare > |
| using | association_bytes = std::vector< uint8_t > |
Functions | |
| void | get_association_list (association_bytes source, association_set &target) |
| Converts a bytestream from the attribute store to a set of associations. More... | |
| void | get_node_id_association_list (association_bytes source, association_set &target) |
| Converts a bytestream from the attribute store to a set of NodeID associations. Everything after the MARKER will be ignored. More... | |
| void | get_association_bytestream (association_set source, association_bytes &target) |
| Converts a set of associations to a bytestream for the attribute store. More... | |
| void | get_node_id_association_bytestream (association_set source, association_bytes &target) |
| Converts a set of associations to a bytestream that contains only NodeID associations. More... | |
| void | substract_association_lists (const association_set &set_1, const association_set &set_2, association_set &result) |
| Substract set_1 from set_2. More... | |
| void | merge_association_lists (const association_set &set_1, const association_set &set_2, association_set &result) |
| Merge set_1 and set_2. More... | |
C++ definitions for the Association toolbox.
C++ Helper defintions and functions to manipulate association data in the attribute store
| using association_bytes = std::vector<uint8_t> |
| using association_set = std::set<association_t, association_compare> |
| void get_association_bytestream | ( | association_set | source, |
| association_bytes & | target | ||
| ) |
Converts a set of associations to a bytestream for the attribute store.
An empty set will result in an ASSOCIATION_MARKER bytestream.
| [in] | source | Source Association Set |
| [out] | target | Destination Association Bytes |
| void get_association_list | ( | association_bytes | source, |
| association_set & | target | ||
| ) |
Converts a bytestream from the attribute store to a set of associations.
| [in] | source | Source Association Bytes |
| [out] | target | Destination Association Sets |
| void get_node_id_association_bytestream | ( | association_set | source, |
| association_bytes & | target | ||
| ) |
Converts a set of associations to a bytestream that contains only NodeID associations.
An empty set will result in an empty bytestream.
| [in] | source | Source Association Set |
| [out] | target | Destination Association Bytes |
| void get_node_id_association_list | ( | association_bytes | source, |
| association_set & | target | ||
| ) |
Converts a bytestream from the attribute store to a set of NodeID associations. Everything after the MARKER will be ignored.
| [in] | source | Source Association Bytes |
| [out] | target | Destination Association Set |
| void merge_association_lists | ( | const association_set & | set_1, |
| const association_set & | set_2, | ||
| association_set & | result | ||
| ) |
Merge set_1 and set_2.
| [in] | set_1 | The first Association Set |
| [in] | set_2 | The second Association Set |
| [out] | result | Set that contains both set_1 and set_2 elements |
| void substract_association_lists | ( | const association_set & | set_1, |
| const association_set & | set_2, | ||
| association_set & | result | ||
| ) |
Substract set_1 from set_2.
| [in] | set_1 | The first Association Set |
| [in] | set_2 | The second Association Set |
| [out] | result | Set that contains set_2 elements that are not in set_1 |