Unify Framework Lib 1.6.0
attribute_resolver_rule_internal.hpp File Reference

TODO: Write brief for attribute_resolver_rule_internal. More...

#include <set>
#include "attribute_resolver_rule.h"

Go to the source code of this file.

Functions

std::set< attribute_store_node_tattribute_resolver_rule_get_group_nodes (resolver_rule_type_t rule_type, attribute_store_node_t group)
 Get a list of attribute types that has the same resolution method as a given attribute type. More...
 

Detailed Description

TODO: Write brief for attribute_resolver_rule_internal.

TODO: Write component description for attribute_resolver_rule_internal

Function Documentation

◆ attribute_resolver_rule_get_group_nodes()

std::set< attribute_store_node_t > attribute_resolver_rule_get_group_nodes ( resolver_rule_type_t  rule_type,
attribute_store_node_t  group 
)

Get a list of attribute types that has the same resolution method as a given attribute type.

Given an attribute type return a list of attributes which will be resolved by the same frame. Note that this only works if there is a one to one relation between attribute type ids and frame rules. Ie, this does not hold true for the ZWAVE VERSION attribute, as here we have many attributes( one for each zwave command class), which are all resolved by a VERSION_COMMAND_CLASS_GET

Parameters
rule_typeSet or get resolution
groupA collection of all the other attribute in the group