reactor-c 1.0
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
mode_state_variable_reset_data_t Struct Reference

A struct to store data for resetting state variables nested in modes. More...

#include <modes.h>

Data Fields

reactor_mode_tmode
 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.

Detailed Description

A struct to store data for resetting state variables nested in modes.

Field Documentation

◆ mode

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

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.

◆ source

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.

◆ target

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.


The documentation for this struct was generated from the following file:
  • /Users/runner/work/reactor-c/reactor-c/include/core/modal_models/modes.h