Class AbstractStation

    • Field Detail

      • input

        public TypedIOPort input
        The input port, which is a multiport.
      • output

        public TypedIOPort output
        The output port, which is a multiport consisting of RecordTokens.
      • stationId

        public Parameter stationId
        The station ID. The initial value is an integer with value -1.
      • settlingTime

        public Parameter settlingTime
        The settling time. The initial value is an integer with the value 1.
      • lineSymbol

        public Parameter lineSymbol
        The line symbol, which is a string.
      • inJunction

        public Parameter inJunction
        True if this is an input junction.
      • broken

        public Parameter broken
        True if this station is broken.
      • neighbors

        public Parameter neighbors
        The neighbors of this station. The display name is "idOfNeighborStationOrJunction". The initial value of this parameter is a string consisting of the open curly bracket followed by the close curly bracket: "{}"
    • Constructor Detail

      • AbstractStation

        public AbstractStation​(CompositeEntity container,
                               java.lang.String name)
                        throws IllegalActionException,
                               NameDuplicationException
        Create a new 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 of this actor within the container.
        Throws:
        IllegalActionException - If this actor cannot be contained by the proposed container (see the setContainer() method).
        NameDuplicationException - If the name coincides with an entity already in the container.