Unify Framework Lib 1.6.0
attribute_transitions.h File Reference
#include "sl_status.h"
#include "attribute_store.h"
#include "clock.h"

Go to the source code of this file.

Functions

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 duration. More...
 
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. More...
 
sl_status_t attribute_stop_transition (attribute_store_node_t node)
 Stops an ongoing transition for an attribute. More...
 
bool is_attribute_transition_ongoing (attribute_store_node_t node)
 Verifies if a transition is ongoing for an attribute. More...
 
clock_time_t attribute_transition_get_remaining_duration (attribute_store_node_t node)
 Retrieves the remaining time for a transition. More...
 
sl_status_t attribute_transitions_init ()
 Initializes the Unify attribute transition component. More...
 
int attribute_transitions_teardown ()
 Teardown the Unify attribute transition component. More...