OpenShoe
1.0
|
Functions for manipulating and running process sequence. More...
#include "process_sequence.h"
Functions | |
void | run_process_sequence (void) |
Execute all non-NULL functions in the processing sequence. | |
void | empty_process_sequence (void) |
Sets alla elements in processing sequence to NULL. | |
void | store_and_empty_process_sequence (void) |
Copy processing sequence to temporary storage and sets all elements to NULL. | |
void | restore_process_sequence (void) |
Copy the content of the #process_sequence_storage to the #process_sequence. | |
void | set_last_process_sequence_element (processing_function_p elem_value) |
Sets last element in the process sequence to the argument function pointer. | |
void | set_elem_in_process_sequence (processing_function_p elem_value, uint8_t elem_nr) |
Sets process sequence element number to elem_value. |
Functions for manipulating and running process sequence.
An internal arrary of functions pointers (#process_sequence) are use to store pointers to functions which are to be executed for some processing sequence. The pointers are of (void) (f*)(void) type meaning that they have to communicate via some global or c-file internal variables. The functions in this file are used for manipulating the #process_sequence and to execute the whole processing function sequence.