Class TimeDelay

    • Constructor Detail

      • TimeDelay

        public TimeDelay​(TimeDelay actor)
        Construct a TimeGap adapter.
        Parameters:
        actor - The given ptolemy.actor.lib.TimeGap actor.
    • Method Detail

      • generateFireCode

        public java.lang.String generateFireCode()
                                          throws IllegalActionException
        Description copied from class: NamedProgramCodeGeneratorAdapter
        Generate the fire code. In this base class, add the name of the associated component in the comment. It checks the inline parameter of the code generator. If the value is true, it generates the actor fire code and the necessary type conversion code. Otherwise, it generate an invocation to the actor function that is generated by generateFireFunctionCode.
        Overrides:
        generateFireCode in class NamedProgramCodeGeneratorAdapter
        Returns:
        The generated code.
        Throws:
        IllegalActionException - Not thrown in this base class.