Class SampleDelay

    • Constructor Detail

      • SampleDelay

        public SampleDelay​(SampleDelay actor)
        Construct a SampleDelay adapter.
        Parameters:
        actor - The given ptolemy.domains.sdf.lib.SampleDelay actor.
    • Method Detail

      • generateInitializeCode

        public java.lang.String generateInitializeCode()
                                                throws IllegalActionException
        Generate the initialize code for the SampleDelay actor by declaring the initial values of the sink channels of the output port of the SampleDelay actor.
        Overrides:
        generateInitializeCode in class NamedProgramCodeGeneratorAdapter
        Returns:
        The generated initialize code for the SampleDelay actor.
        Throws:
        IllegalActionException - If the base class throws it, or if the initial outputs of the SampleDelay actor is not defined.