Class EmbeddedCodeActor.EmbeddedActor

    • Constructor Detail

    • Method Detail

      • setupAdapter

        public void setupAdapter()
                          throws IllegalActionException
        Perform any setup or initialization of the adapter. Note that this is not the Ptolemy initialize() method, this method merely sets up any codegen-time variables in the adapters. In this class, reset the gode stream and set the code blocks to the value of the embeddedCode parameter.
        Overrides:
        setupAdapter in class NamedProgramCodeGeneratorAdapter
        Throws:
        IllegalActionException - If an error occurs while initializing an adapter.