reactor-c
C Runtime for Lingua Franca
|
The base type for all reactor self structs. More...
#include <lf_types.h>
Data Fields | |
struct allocation_record_t * | allocations |
struct reaction_t * | executing_reaction |
environment_t * | environment |
void * | reactor_mutex |
The base type for all reactor self structs.
The first element of every self struct defined in generated code will be a pointer to an allocation record, which is either NULL or the head of a NULL-terminated linked list of allocation records. This list is used to free memory that has been dynamically allocated. This struct also provides a pointer to the currently executing reaction, to the environment in which the reaction is executing, and to the mutex that is used to protect the reactor. If modal models are being used, it also records the current mode.
struct allocation_record_t* self_base_t::allocations |
environment_t* self_base_t::environment |
struct reaction_t* self_base_t::executing_reaction |
void* self_base_t::reactor_mutex |