14#ifndef ATTRIBUTE_CALLBACKS_HPP
15#define ATTRIBUTE_CALLBACKS_HPP
uint32_t attribute_store_type_t
Definition: attribute_store.h:50
attribute_store_change_t
Attribute Store type to indicate the modification type that triggered a callback.
Definition: attribute_store.h:112
attribute_store_node_value_state_t
This is the value state of a value.
Definition: attribute_store.h:121
datastore_attribute_id_t attribute_store_node_t
Handle to identify attribute store nodes.
Definition: attribute_store.h:101
Definition: attribute_callbacks.hpp:23
std::function< void(attribute_store_node_t, attribute_store_change_t)> node_changed_callback
Definition: attribute_callbacks.hpp:26
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.
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.