Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added reactor name functions #302

Merged
merged 1 commit into from
Dec 31, 2024
Merged

Added reactor name functions #302

merged 1 commit into from
Dec 31, 2024

Conversation

edwardalee
Copy link
Contributor

This PR adds documentation for two functions (and macros), lf_reactor_name and lf_reactor_full_name, each of which takes a self struct as an argument. The name is the instance name given by the new statement. If the reactor is in a bank, then the name will have a suffix of the form [bank_index]. The full name is the name of the reactor and all its parents separated by periods. There is a companion PR in lingua-franca.

@edwardalee edwardalee added the enhancement New feature or request label Dec 29, 2024
@edwardalee edwardalee merged commit 1939131 into main Dec 31, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant