lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.generator.c.CReactorHeaderFileGenerator Class Reference

Generate user-visible header files. More...

Classes

interface  GenerateAuxiliaryStructs
 Functional interface for generating auxiliary structs such as port structs. More...

Static Public Member Functions

static void doGenerate (CTypes types, TypeParameterizedReactor tpr, CFileConfig fileConfig, GenerateAuxiliaryStructs generator, Function< Reactor, String > topLevelPreamble) throws IOException
static String nonInlineInitialization (Reaction r, TypeParameterizedReactor reactor)
 Generate initialization code that is needed if r is not inlined.
static Path outputPath (TypeParameterizedReactor tpr)
 Return the path to the user-visible header file that would be generated for r.
static String reactionArguments (Reaction r, TypeParameterizedReactor reactor)
 Return a string representation of the arguments passed to the function for r.

Detailed Description

Generate user-visible header files.

Member Function Documentation

◆ doGenerate()

void org.lflang.generator.c.CReactorHeaderFileGenerator.doGenerate ( CTypes types,
TypeParameterizedReactor tpr,
CFileConfig fileConfig,
GenerateAuxiliaryStructs generator,
Function< Reactor, String > topLevelPreamble ) throws IOException
static

◆ nonInlineInitialization()

String org.lflang.generator.c.CReactorHeaderFileGenerator.nonInlineInitialization ( Reaction r,
TypeParameterizedReactor reactor )
static

Generate initialization code that is needed if r is not inlined.

◆ outputPath()

Path org.lflang.generator.c.CReactorHeaderFileGenerator.outputPath ( TypeParameterizedReactor tpr)
static

Return the path to the user-visible header file that would be generated for r.

◆ reactionArguments()

String org.lflang.generator.c.CReactorHeaderFileGenerator.reactionArguments ( Reaction r,
TypeParameterizedReactor reactor )
static

Return a string representation of the arguments passed to the function for r.


The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/generator/c/CReactorHeaderFileGenerator.java