Klasse OnConditionStartableSystemImpl
java.lang.Object
de.labAlive.core.wiringComponent.SignalingComponent
de.labAlive.core.wiringComponent.BaseWiringComponent
de.labAlive.core.wiringComponent.WiringComponentImpl
de.labAlive.core.abstractSystem.SystemImpl
de.labAlive.core.abstractSystem.mi.OnConditionStartableSystemImpl
- Alle implementierten Schnittstellen:
StartableSystem, SystemI, MouseListener, EventListener
Base class for systems with more than one inputs (and any number of outputs).
These systems are at the beginning of a separate simulation chain, i.e. are
the StartableSystem of a separate SystemContainer.
OnConditionStartableSystem implements the required simulation administration
(interaction with SystemContainer and TerminationInPorts, handles preconditions).
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidbackwardSignaling(SignalingMessage sigMess) Runs (backward) through the simulation chain and communicates a Signaling message (SigMess).voidvoidforwardSignaling(SignalingMessage sigMess) Signaling:Getter and Setter:intReturns number of inputs.Calculates the output signal of the StartableSystem.voidvoidsetColdStartSignal(Signal coldStartSignal) voidstartinitSystemContainer(SystemContainer presysContainer) TerminationInPort acknowledges end of previous SystemContainer.voidPerforms first simulation step in SystemContainer.voidDummy implementation of required step method.Von Klasse geerbte Methoden SystemImpl
allocOutPorts, build, checkConnection, connect, connectionDiagnose, createMeasures, forwardSimulationParameterChanged, getFromWC, getFromWC, getInPorts, getOutPorts, getPort, getT0, getToWC, getToWC, initDelay, initSystemContainer, isMux, isNotEndOfBranch, isSingleInput, isSink, isSiso, isSource, isStartOfBranch, notifyBeforeBuild, notifyPropertyChanged, notifyPropertyChangedPre, output, output, rebuild, setInPorts, setInPorts, setNinNout, setOutPorts, setOutPorts, setT0Von 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, setFacade, setSignalingReceiverVon Schnittstelle geerbte Methoden StartableSystem
getSignalTypeVon Schnittstelle geerbte Methoden SystemI
getSamplingTime
-
Konstruktordetails
-
OnConditionStartableSystemImpl
public OnConditionStartableSystemImpl()
-
-
Methodendetails
-
getFacade
Beschreibung aus Klasse kopiert:SystemImplGetter and Setter:- Setzt außer Kraft:
getFacadein KlasseSystemImpl
-
startinitSystemContainer
TerminationInPort acknowledges end of previous SystemContainer. Orders a new SystemContainer with this as StartSystem. -
startStep
public void startStep()Performs first simulation step in SystemContainer. Calls getSignal() implemented by subclass.- Angegeben von:
startStepin SchnittstelleStartableSystem
-
getSignal
Calculates the output signal of the StartableSystem. To be implemented in the subclass. It is assured that all input signals are available (in TerminationInPorts). -
step
Dummy implementation of required step method. Will never be called as the TerminationInPorts prevent that. startStep() implements the simulation functionality.- Setzt außer Kraft:
stepin KlasseSystemImpl
-
getInputs
public int getInputs()Returns number of inputs. -
forwardSignaling
Signaling:- Angegeben von:
forwardSignalingin SchnittstelleSystemI- Setzt außer Kraft:
forwardSignalingin KlasseSystemImpl
-
backwardSignaling
Beschreibung aus Klasse kopiert:SystemImplRuns (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.- Angegeben von:
backwardSignalingin SchnittstelleSystemI- Setzt außer Kraft:
backwardSignalingin KlasseSystemImpl
-
resetSimulation
public void resetSimulation()- Setzt außer Kraft:
resetSimulationin KlasseSignalingComponent
-
coldStart
public void coldStart() -
setColdStartSignal
-