|
Unify Framework Lib 1.7.0
|
This module offers API for registering and executing rules. More...
Go to the source code of this file.
| typedef void(* | attribute_rule_complete_t) (attribute_store_node_t, clock_time_t) |
| sl_status_t | attribute_resolver_rule_execute (attribute_store_node_t node, bool set_rule) |
| Execute a rule and send the frame. More... | |
| void | attribute_resolver_rule_register (attribute_store_type_t node_type, attribute_resolver_function_t set_func, attribute_resolver_function_t get_func) |
| void | attribute_resolver_rule_init (attribute_rule_complete_t compl_func) |
| Initialize the rule book. More... | |
| bool | attribute_resolver_rule_busy () |
| Check if the resolver is currently executing a rule. More... | |
| void | attribute_resolver_rule_abort (attribute_store_node_t node) |
| Stop waiting for a send data callback for a given node. More... | |
This module offers API for registering and executing rules.
| typedef void(* attribute_rule_complete_t) (attribute_store_node_t, clock_time_t) |
| void attribute_resolver_rule_abort | ( | attribute_store_node_t | node | ) |
Stop waiting for a send data callback for a given node.
| bool attribute_resolver_rule_busy | ( | ) |
Check if the resolver is currently executing a rule.
| sl_status_t attribute_resolver_rule_execute | ( | attribute_store_node_t | node, |
| bool | set_rule | ||
| ) |
Execute a rule and send the frame.
This function performs a lookup in the rule book and executes either a get rule or a set rule.
| node | Attribute for which we should execute |
| set_rule | true if the set rule needs to be executed false if the get_rule needs to be executed. |
| void attribute_resolver_rule_init | ( | attribute_rule_complete_t | compl_func | ) |
Initialize the rule book.
| compl_func | Callback function which is called when we are done executing a rule. |
| void attribute_resolver_rule_register | ( | attribute_store_type_t | node_type, |
| attribute_resolver_function_t | set_func, | ||
| attribute_resolver_function_t | get_func | ||
| ) |