generateConnector static method

void generateConnector(
  1. {String directory = './',
  2. String pythonModuleName = defaultPythonModuleName,
  3. bool enableLogging = false}
)

Generates collateral for building and executing a cosimulation.

Generated files will be dumped into directory.

If enableLogging is true, then the python connector will print debug messages.

Implementation

static void generateConnector(
    {String directory = './',
    String pythonModuleName = defaultPythonModuleName,
    bool enableLogging = false}) {
  Directory(directory).createSync(recursive: true);

  _createPythonFile(directory, pythonModuleName, _registrees, enableLogging);
}