|
Unify Framework Lib 1.7.0
|
Typedefs | |
| using | node_changed_callback = std::function< void(attribute_store_node_t, attribute_store_change_t)> |
Functions | |
| void | register_callback_by_type (node_changed_callback callback_function, attribute_store_type_t type) |
| Register a callback function to any node with a given type. More... | |
| void | register_callback_by_type_and_state (node_changed_callback callback_function, attribute_store_type_t type, attribute_store_node_value_state_t value_state) |
| Register a callback function to any node with a given type and value state. More... | |
| using attribute_store::node_changed_callback = typedef std::function<void(attribute_store_node_t, attribute_store_change_t)> |
| void attribute_store::register_callback_by_type | ( | node_changed_callback | callback_function, |
| attribute_store_type_t | type | ||
| ) |
Register a callback function to any node with a given type.
| callback_function | The function to invoke when the node's value is updated. |
| type | The attribute node type for which a callback will be registered. |
| void attribute_store::register_callback_by_type_and_state | ( | node_changed_callback | callback_function, |
| attribute_store_type_t | type, | ||
| attribute_store_node_value_state_t | value_state | ||
| ) |
Register a callback function to any node with a given type and value state.
| callback_function | The function to invoke when the node's value is updated. |
| type | The attribute node type for which a callback will be registered. |
| value_state | The value state for which a callback will be registered. |