Klasse SystemImpl

Alle implementierten Schnittstellen:
MouseListener, EventListener
Bekannte direkte Unterklassen:
MultiplexerImpl, OnConditionStartableSystemImpl, PilotSyncReceiveImpl, PilotSyncReceiveImpl, PilotSyncReceiveImpl, PilotSyncReceiveImpl, PilotSyncReceiveImpl, SinkImpl, SISOSystemImpl, SourceImpl, SynchronizerImpl, SystemCompositeImpl, SystemContainer

public class SystemImpl extends WiringComponentImpl
Abstract class for a system with 0 or more inputs (Ports) and 0 or more outputs (Ports).
Simulation: Implements a default output helper method.
Signaling: Implements basic Signaling methods, e.g. forwardSignaling.
  • Konstruktordetails

    • SystemImpl

      public SystemImpl()
  • Methodendetails

    • setNinNout

      public void setNinNout(int nIn, int nOut)
    • allocOutPorts

      public void allocOutPorts(int nOut)
      Might be overridden if others than standard ports are required.
      Parameter:
      nOut -
    • getFacade

      public System getFacade()
      Getter and Setter:
      Setzt außer Kraft:
      getFacade in Klasse SignalingComponent
    • setT0

      public void setT0(int t0)
      Set system's dead time (delay).
      Parameter:
      t0 - system's dead time
    • getT0

      public int getT0()
    • getInPorts

      public GenericInPorts<? extends InPort> getInPorts()
    • setInPorts

      public void setInPorts(GenericInPorts<? extends InPort> inPorts)
    • getOutPorts

      public GenericOutPorts<? extends OutPort> getOutPorts()
    • setOutPorts

      public void setOutPorts(GenericOutPorts<? extends OutPort> outPorts)
    • getFromWC

      public WireImpl getFromWC(int input)
    • getToWC

      public WireImpl getToWC(int port)
      Angegeben von:
      getToWC in Klasse WiringComponentImpl
    • getFromWC

      public WireImpl getFromWC()
      Angegeben von:
      getFromWC in Klasse WiringComponentImpl
    • getToWC

      public WireImpl getToWC()
      Angegeben von:
      getToWC in Klasse WiringComponentImpl
    • isMux

      public boolean isMux()
      Angegeben von:
      isMux in Klasse WiringComponentImpl
    • isSource

      public boolean isSource()
    • isSink

      public boolean isSink()
    • isSiso

      public boolean isSiso()
    • isSingleInput

      public boolean isSingleInput()
    • isStartOfBranch

      public boolean isStartOfBranch()
    • isNotEndOfBranch

      public boolean isNotEndOfBranch()
    • getPort

      public int getPort(WireImpl outWire)
    • connect

      public WireImpl connect(SystemImpl toSys)
      Connection:
    • setInPorts

      public void setInPorts(System system)
      This system's inPorts are set to the implementing System's inports. (Used by SystemSwitch.) Not to be used by SystemComposite!
      Parameter:
      implementingSystem -
    • setOutPorts

      public void setOutPorts(System system)
      This system's outPorts are set to the implementingSystem's outPorts. (Used by SystemSwitch.)
      Parameter:
      implementingSystem -
    • initSystemContainer

      public void initSystemContainer(SystemContainer sysContainer)
      Runs through the simulation chain to initialize the SystemContainer and all TerminationInPorts.
    • output

      public void output(Signal signal)
      Simulation:
    • output

      public void output(int port, Signal signal)
    • notifyPropertyChangedPre

      public void notifyPropertyChangedPre()
      Parameters have changed (sent by DefaultSystemMeasure).
      Setzt außer Kraft:
      notifyPropertyChangedPre in Klasse BaseWiringComponent
    • notifyPropertyChanged

      public void notifyPropertyChanged()
      Parameters have changed (sent by DefaultSystemMeasure). Dummy implementation of notifyParameterChanged(). Systems using Parameter must adapt to changed parameters. System is allowed to change parameter feed accepted parameter value back to parameter. PropertyWindow displays the updated parameter values.
    • forwardSignaling

      public void forwardSignaling(SignalingMessage sigMess)
      Runs (forward) through the simulation chain and communicates a Signaling message (SigMess). Can be used for all meta communication beyond simulation signal flow. System is allowed to change sigMess.
    • forwardSimulationParameterChanged

      public void forwardSimulationParameterChanged()
      Simulation parameters have changed - this method sends the corresponding Signaling message to inform subsequent systems and measures (e.g. Osci eyepattern uses this and clears the display).
    • backwardSignaling

      public void backwardSignaling(SignalingMessage sigMess)
      Runs (backward) through the simulation chain and communicates a Signaling message (SigMess). Can be used for all meta communication beyond simulation signal flow. System is allowed to change sigMess.
    • initDelay

      public SignalingMessage initDelay(InitDelaySignaling initDelaySignaling)
      Setzt außer Kraft:
      initDelay in Klasse SignalingComponent
    • checkConnection

      public void checkConnection()
      Angegeben von:
      checkConnection in Klasse BaseWiringComponent
    • step

      public void step(Signal signal)
      Beschreibung aus Klasse kopiert: BaseWiringComponent
      Is implemented in Wire and Systems.
      Angegeben von:
      step in Klasse BaseWiringComponent
    • build

      public final void build()
    • rebuild

      public void rebuild()
    • notifyBeforeBuild

      public final void notifyBeforeBuild()
    • connectionDiagnose

      public String connectionDiagnose()
    • createMeasures

      public void createMeasures()
      Beschreibung aus Klasse kopiert: BaseWiringComponent
      Signaling:
      Angegeben von:
      createMeasures in Klasse BaseWiringComponent