Klasse SystemImpl
java.lang.Object
de.labAlive.core.wiringComponent.SignalingComponent
de.labAlive.core.wiringComponent.BaseWiringComponent
de.labAlive.core.wiringComponent.WiringComponentImpl
de.labAlive.core.abstractSystem.SystemImpl
- Alle implementierten Schnittstellen:
MouseListener, EventListener
- Bekannte direkte Unterklassen:
MultiplexerImpl, OnConditionStartableSystemImpl, PilotSyncReceiveImpl, PilotSyncReceiveImpl, PilotSyncReceiveImpl, PilotSyncReceiveImpl, PilotSyncReceiveImpl, SinkImpl, SISOSystemImpl, SourceImpl, SynchronizerImpl, SystemCompositeImpl, SystemContainer
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.
Simulation: Implements a default output helper method.
Signaling: Implements basic Signaling methods, e.g. forwardSignaling.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidallocOutPorts(int nOut) Might be overridden if others than standard ports are required.voidbackwardSignaling(SignalingMessage sigMess) Runs (backward) through the simulation chain and communicates a Signaling message (SigMess).final voidbuild()voidconnect(SystemImpl toSys) Connection:voidSignaling:voidforwardSignaling(SignalingMessage sigMess) Runs (forward) through the simulation chain and communicates a Signaling message (SigMess).voidSimulation parameters have changed - this method sends the corresponding Signaling message to inform subsequent systems and measures (e.g.Getter and Setter:getFromWC(int input) GenericInPorts<? extends InPort> GenericOutPorts<? extends OutPort> intintgetT0()getToWC()getToWC(int port) initDelay(InitDelaySignaling initDelaySignaling) voidinitSystemContainer(SystemContainer sysContainer) Runs through the simulation chain to initialize the SystemContainer and all TerminationInPorts.booleanisMux()booleanbooleanbooleanisSink()booleanisSiso()booleanisSource()booleanfinal voidvoidParameters have changed (sent by DefaultSystemMeasure).voidParameters have changed (sent by DefaultSystemMeasure).voidvoidSimulation:voidrebuild()voidsetInPorts(GenericInPorts<? extends InPort> inPorts) voidsetInPorts(System system) This system's inPorts are set to the implementing System's inports.voidsetNinNout(int nIn, int nOut) voidsetOutPorts(GenericOutPorts<? extends OutPort> outPorts) voidsetOutPorts(System system) This system's outPorts are set to the implementingSystem's outPorts.voidsetT0(int t0) Set system's dead time (delay).voidIs implemented in Wire and Systems.Von Klasse geerbte Methoden WiringComponentImpl
addPointBetween, addSymbol, addSymbol, addSymbol, getCanvas, getFullLabel, getLongLabel, getName, getParent, getSymbolResolver, getSymbols, hide, isHidden, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, name, name, name, nameIfNotNamed, setLongLabel, setName, setParent, setSymbol, setSymbolResolver, setSymbols, toStringVon Klasse geerbte Methoden BaseWiringComponent
addSelectParameter, getMainParameters, getMeasures, getParameters, getSamplingTime, getSignalType, initSignalType, interceptStep, notifyBeforeParameterChange, putParameters, putParams, setAutoshow, setAutoshow, setMeasures, setParametersSet, setParamsSet, setSamplingTime, setSignalType, setStepInterceptor, stepPreVon Klasse geerbte Methoden SignalingComponent
discoverStartableSystems, getSignalingReceiver, processSignaling, resetSimulation, setFacade, setSignalingReceiver
-
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
Getter and Setter:- Setzt außer Kraft:
getFacadein KlasseSignalingComponent
-
setT0
public void setT0(int t0) Set system's dead time (delay).- Parameter:
t0- system's dead time
-
getT0
public int getT0() -
getInPorts
-
setInPorts
-
getOutPorts
-
setOutPorts
-
getFromWC
-
getToWC
- Angegeben von:
getToWCin KlasseWiringComponentImpl
-
getFromWC
- Angegeben von:
getFromWCin KlasseWiringComponentImpl
-
getToWC
- Angegeben von:
getToWCin KlasseWiringComponentImpl
-
isMux
public boolean isMux()- Angegeben von:
isMuxin KlasseWiringComponentImpl
-
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
-
connect
Connection: -
setInPorts
This system's inPorts are set to the implementing System's inports. (Used by SystemSwitch.) Not to be used by SystemComposite!- Parameter:
implementingSystem-
-
setOutPorts
This system's outPorts are set to the implementingSystem's outPorts. (Used by SystemSwitch.)- Parameter:
implementingSystem-
-
initSystemContainer
Runs through the simulation chain to initialize the SystemContainer and all TerminationInPorts. -
output
Simulation: -
output
-
notifyPropertyChangedPre
public void notifyPropertyChangedPre()Parameters have changed (sent by DefaultSystemMeasure).- Setzt außer Kraft:
notifyPropertyChangedPrein KlasseBaseWiringComponent
-
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
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
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
- Setzt außer Kraft:
initDelayin KlasseSignalingComponent
-
checkConnection
public void checkConnection()- Angegeben von:
checkConnectionin KlasseBaseWiringComponent
-
step
Beschreibung aus Klasse kopiert:BaseWiringComponentIs implemented in Wire and Systems.- Angegeben von:
stepin KlasseBaseWiringComponent
-
build
public final void build() -
rebuild
public void rebuild() -
notifyBeforeBuild
public final void notifyBeforeBuild() -
connectionDiagnose
-
createMeasures
public void createMeasures()Beschreibung aus Klasse kopiert:BaseWiringComponentSignaling:- Angegeben von:
createMeasuresin KlasseBaseWiringComponent
-