![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
The main class for the federated code generator. More...
Public Member Functions | |
| boolean | doGenerate (Resource resource, LFGeneratorContext context) throws IOException |
| Produce LF code for each federate in a separate file, then invoke a target-specific code generator for each of those files. | |
| FedGenerator (LFGeneratorContext context) | |
| Create a new generator and initialize a file configuration, target configuration, and error reporter. | |
Package Attributes | |
| final RtiConfig | rtiConfig = new RtiConfig() |
| Configuration of the RTI. | |
The main class for the federated code generator.
| org.lflang.federated.generator.FedGenerator.FedGenerator | ( | LFGeneratorContext | context | ) |
Create a new generator and initialize a file configuration, target configuration, and error reporter.
| boolean org.lflang.federated.generator.FedGenerator.doGenerate | ( | Resource | resource, |
| LFGeneratorContext | context ) throws IOException |
Produce LF code for each federate in a separate file, then invoke a target-specific code generator for each of those files.
| resource | The resource that has the federated main reactor in it |
| context | The context in which to carry out the code generation. |
Configuration of the RTI.