Class HSBtoRGB

    • Constructor Detail

      • HSBtoRGB

        public HSBtoRGB​(HSBtoRGB actor)
        Construct the HSBtoRGB adapter.
        Parameters:
        actor - the associated actor
    • Method Detail

      • _generateFireCode

        protected java.lang.String _generateFireCode()
                                              throws IllegalActionException
        Generate fire code. The method reads in printInt, printArray, printString, or printDouble from HSBtoRGB.c, replaces macros with their values and returns the results.
        Overrides:
        _generateFireCode in class NamedProgramCodeGeneratorAdapter
        Returns:
        The generated code.
        Throws:
        IllegalActionException - If the code stream encounters an error in processing the specified code block(s).