lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.federated.launcher.BuildConfig Class Referenceabstract

A collection of methods used for building target code for federates. More...

Inherited by org.lflang.federated.launcher.CBuildConfig, org.lflang.federated.launcher.PyBuildConfig, and org.lflang.federated.launcher.TsBuildConfig.

Public Member Functions

 BuildConfig (FederateInstance federate, FederationFileConfig fileConfig, MessageReporter messageReporter)
 Create a new build configuration.
String compileCommand ()
 Return the compile command for the federate that this build configuration belongs to.
abstract String localExecuteCommand ()
 Return the command that will execute the federate that this build configuration belongs to locally, assuming that the current directory is the top-level project folder.

Protected Attributes

final FederateInstance federate
 The federate that this configuration applies to.
final FederationFileConfig fileConfig
 The file configuration of the federation that the federate belongs to.
final MessageReporter messageReporter
 An error reporter to report problems.

Detailed Description

A collection of methods used for building target code for federates.

Constructor & Destructor Documentation

◆ BuildConfig()

org.lflang.federated.launcher.BuildConfig.BuildConfig ( FederateInstance federate,
FederationFileConfig fileConfig,
MessageReporter messageReporter )

Create a new build configuration.

Parameters
federateThe federate that this configuration applies to.
fileConfigThe file configuration of the federation that the federate belongs to.
messageReporterAn error reporter to report problems.

Member Function Documentation

◆ compileCommand()

String org.lflang.federated.launcher.BuildConfig.compileCommand ( )

Return the compile command for the federate that this build configuration belongs to.

Reimplemented in org.lflang.federated.launcher.CBuildConfig, and org.lflang.federated.launcher.TsBuildConfig.

◆ localExecuteCommand()

abstract String org.lflang.federated.launcher.BuildConfig.localExecuteCommand ( )
abstract

Return the command that will execute the federate that this build configuration belongs to locally, assuming that the current directory is the top-level project folder.

Reimplemented in org.lflang.federated.launcher.CBuildConfig, org.lflang.federated.launcher.PyBuildConfig, and org.lflang.federated.launcher.TsBuildConfig.

Member Data Documentation

◆ federate

final FederateInstance org.lflang.federated.launcher.BuildConfig.federate
protected

The federate that this configuration applies to.

◆ fileConfig

final FederationFileConfig org.lflang.federated.launcher.BuildConfig.fileConfig
protected

The file configuration of the federation that the federate belongs to.

◆ messageReporter

final MessageReporter org.lflang.federated.launcher.BuildConfig.messageReporter
protected

An error reporter to report problems.


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