reactor-c
C Runtime for Lingua Franca
|
Functions | |
void | _lf_initialize_trigger_objects (void) |
void | lf_terminate_execution (void) |
void | lf_set_default_command_line_options (void) |
Generated function that optionally sets default command-line options. | |
void | _lf_initialize_watchdogs (environment_t **envs) |
void | logical_tag_complete (tag_t tag_to_send) |
int | _lf_get_environments (environment_t **envs) |
Will update the argument to point to the beginning of the array of environments in this program. | |
Variables | |
environment_t | _env |
int _lf_get_environments | ( | environment_t ** | envs | ) |
Will update the argument to point to the beginning of the array of environments in this program.
envs | A double pointer which will be dereferenced and modified |
void _lf_initialize_trigger_objects | ( | ) |
Generated function that produces a table containing all triggers (i.e., inputs, timers, and actions).
void _lf_initialize_watchdogs | ( | environment_t ** | envs | ) |
void lf_set_default_command_line_options | ( | void | ) |
Generated function that optionally sets default command-line options.
void lf_terminate_execution | ( | void | ) |
void logical_tag_complete | ( | tag_t | tag_to_send | ) |
Placeholder for code-generated function that will, in a federated execution, be used to coordinate the advancement of tag. It will notify the runtime infrastructure (RTI) that all reactions at the specified logical tag have completed. This function should be called only while holding the mutex lock.
tag_to_send | The tag to send. |
environment_t _env |
This file enables unit tests to run without there having been an actual code generation from a Lingua Franca program. It defines (mostly empty) functions that would normally be code generated. Of course, this strategy will only work for tests that do not actually need functional versions of these functions.