Class ActuatorSetup

    • Constructor Detail

      • ActuatorSetup

        public ActuatorSetup​(ActuatorSetup actor)
        Construct a ActuatorSetup adapter.
        Parameters:
        actor - The associated actor.
    • Method Detail

      • generateFireCode

        public java.lang.String generateFireCode()
                                          throws IllegalActionException
        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.