Class Buffer

    • Field Detail

      • capacity

        public Parameter capacity
        The capacity of the buffer. To provide "infinite" capacity, set this to a negative number.
      • output

        public TypedIOPort output
        The output port. The type of this output is constrained to be at least that of the input.
    • Constructor Detail

      • Buffer

        public Buffer​(CompositeEntity container,
                      java.lang.String name)
               throws IllegalActionException,
                      NameDuplicationException
        Construct an actor in the specified container with the specified name. The name must be unique within the container or an exception is thrown. The container argument must not be null, or a NullPointerException will be thrown.
        Parameters:
        container - The container.
        name - The name.
        Throws:
        IllegalActionException - If the actor cannot be contained by the proposed container.
        NameDuplicationException - If the name coincides with an actor already in the container.