Class EmbeddedCodeActor

    • Constructor Detail

      • EmbeddedCodeActor

        public EmbeddedCodeActor​(EmbeddedCodeActor component)
        Construct the code generator adapter associated with the given TypedCompositeActor.
        Parameters:
        component - The associated component.
    • Method Detail

      • generateTypeConvertFireCode

        public java.lang.String generateTypeConvertFireCode​(boolean forComposite)
                                                     throws IllegalActionException
        Generate the type conversion fire code. This method is called by the Director to append necessary fire code to handle type conversion. In this implementation nothing needs to happen.
        Overrides:
        generateTypeConvertFireCode in class NamedProgramCodeGeneratorAdapter
        Parameters:
        forComposite - True if we are generating code for a composite.
        Returns:
        The generated code.
        Throws:
        IllegalActionException - Not thrown in this base class.