![]() |
reactor-c 1.0
C Runtime for Lingua Franca
|
A struct to represent a single mode instace in a reactor instance. More...
#include <modes.h>
Data Fields | |
| instant_t | deactivation_time |
| The logical time when the mode was deactivated (left). | |
| uint8_t | flags |
| Bit vector for several internal flags related to the mode. | |
| char * | name |
| Name of this mode (null-terminated string). | |
| reactor_mode_state_t * | state |
| Pointer to a struct with the reactor's mode state for this mode instance. | |
A struct to represent a single mode instace in a reactor instance.
| instant_t reactor_mode_t::deactivation_time |
The logical time when the mode was deactivated (left).
Used to track when the mode was last exited.
| uint8_t reactor_mode_t::flags |
Bit vector for several internal flags related to the mode.
Used for internal bookkeeping (e.g., active, scheduled for activation, etc.).
| char* reactor_mode_t::name |
Name of this mode (null-terminated string).
Useful for debugging and tracing.
| reactor_mode_state_t* reactor_mode_t::state |
Pointer to a struct with the reactor's mode state for this mode instance.
This links to the state information associated with this mode.