![]() |
reactor-c 1.0
C Runtime for Lingua Franca
|
A struct to store data for resetting state variables nested in modes. More...
#include <modes.h>
Data Fields | |
| reactor_mode_t * | mode |
| Pointer to the enclosing mode for this reset data. | |
| size_t | size |
| The size of the variable to be reset (in bytes). | |
| void * | source |
| Pointer to the data source for resetting the variable. | |
| void * | target |
| Pointer to the target variable to be reset. | |
A struct to store data for resetting state variables nested in modes.
| reactor_mode_t* mode_state_variable_reset_data_t::mode |
Pointer to the enclosing mode for this reset data.
Indicates which mode this reset data is associated with.
| size_t mode_state_variable_reset_data_t::size |
The size of the variable to be reset (in bytes).
Used to determine how much data to copy from source to target.
| void* mode_state_variable_reset_data_t::source |
Pointer to the data source for resetting the variable.
The source data used to reset the target variable.
| void* mode_state_variable_reset_data_t::target |
Pointer to the target variable to be reset.
The variable that will be reset when the mode is entered or exited.