26#ifndef ATTRIBUTE_TRANSITIONS_H
27#define ATTRIBUTE_TRANSITIONS_H
uint32_t clock_time_t
Definition: contiki-conf.h:31
eval_result_type< T > max_value(std::vector< eval_result_type< T > > &results)
Find the max value of a set of expressions.
Definition: attribute_mapper_built_in_functions.cpp:67
eval_result_type< T > min_value(std::vector< eval_result_type< T > > &results)
Find the min value of a set of expressions.
Definition: attribute_mapper_built_in_functions.cpp:38
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
sl_status_t attribute_start_transition(attribute_store_node_t node, clock_time_t duration)
Starts a transition from the REPORTED to the DESIRED value of an attribute following the indicated du...
sl_status_t attribute_start_cyclic_transition(attribute_store_node_t node, attribute_store_node_value_state_t value_type, float step, float min_value, float max_value, clock_time_t step_interval)
Start attribute transition with a continuous step within cyclic range and interval.
sl_status_t attribute_start_fixed_cyclic_transition(attribute_store_node_t node, attribute_store_node_value_state_t value_type, float target_value, float step, float min_value, float max_value, clock_time_t step_interval)
Start attribute transition with a fixed step within cyclic range, target value and interval.
int attribute_transitions_teardown()
Teardown the Unify attribute transition component.
clock_time_t attribute_transition_get_remaining_duration(attribute_store_node_t node)
Retrieves the remaining time for a transition.
bool is_attribute_transition_ongoing(attribute_store_node_t node)
Verifies if a transition is ongoing for an attribute.
sl_status_t attribute_start_fixed_transition(attribute_store_node_t node, attribute_store_node_value_state_t value_type, float target_value, float step, clock_time_t step_interval)
Start attribute transition with a fixed step, target value and interval.
sl_status_t attribute_transitions_init()
Initializes the Unify attribute transition component.
sl_status_t attribute_stop_transition(attribute_store_node_t node)
Stops an ongoing transition for an attribute.
uint32_t sl_status_t
Definition: sl_status.h:139