Class SequencedIntegrator

    • Field Detail

      • callSetStateMethod

        public TypedIOPort callSetStateMethod
        The trigger port for the setState() method.
      • currentState

        public TypedIOPort currentState
        The current state of the integrator output port.
      • sampleFactor

        public TypedIOPort sampleFactor
        The sample factor input port.
      • sampleTime

        public TypedIOPort sampleTime
        The sample time input port.
      • setStateValue

        public TypedIOPort setStateValue
        The integrator initialization input port. Used for the setState() fire method.
    • Constructor Detail

    • Method Detail

      • preinitialize

        public void preinitialize()
                           throws IllegalActionException
        Perform preinitialization checks on the actor. Also call the superclass ASCETSharedMemoryActor's preinitialize() method. In ASCETSharedMemoryActor, preinitialize() sets up a type constraint between the input port and the variable (setTypeAtLeast) and the variable and the output port. Also, preinitialize() in ASCETSharedMemoryActor will create a new variable if none exists.
        Specified by:
        preinitialize in interface Initializable
        Overrides:
        preinitialize in class SequencedSharedMemoryActor
        Throws:
        IllegalActionException - If the SequencedIntegrator actor's state variable is not a scalar type.