Unify Framework Lib 1.6.0
|
Classes | |
struct | uic_fixt_setup_step |
struct | uic_fixt_shutdown_step |
Typedefs | |
typedef struct uic_fixt_setup_step | uic_fixt_setup_step_t |
typedef struct uic_fixt_shutdown_step | uic_fixt_shutdown_step_t |
Functions | |
sl_status_t | uic_fixt_setup_loop (const uic_fixt_setup_step_t *fixt_app_setup) |
int | uic_fixt_shutdown_loop (const uic_fixt_shutdown_step_t *fixt_app_shutdown) |
Variables | |
static uic_fixt_shutdown_step_t | uic_fixt_shutdown_steps_list [] |
Internal part of Unify Component Fixture Set Up and Tear Down.
typedef struct uic_fixt_setup_step uic_fixt_setup_step_t |
Struct to hold the component pre-initializers (fixture setup).
These functions are executed in order before entering the Unify main loop.
typedef struct uic_fixt_shutdown_step uic_fixt_shutdown_step_t |
Struct to hold the system tear-down functions.
A component is not required to have a tear-down function just because it has an initializer function (or vice versa). If a component has a Contiki process, teardown of the component should be done by handling the Contiki event PROCESS_EVENT_EXIT
sl_status_t uic_fixt_setup_loop | ( | const uic_fixt_setup_step_t * | fixt_app_setup | ) |
Loop over the set-up functions.
int uic_fixt_shutdown_loop | ( | const uic_fixt_shutdown_step_t * | fixt_app_shutdown | ) |
Loop over the tear-down steps.
|
static |
Final tear-down steps.
Functions to take down components and free allocated resources. The function are executed in order, after all contiki processes have been stopped.