Klasse WireImpl
- Alle implementierten Schnittstellen:
MouseListener, EventListener
Wire for all signal types. Can be used as multiplex wire with multiple output.
Connection: Implements connection transaction.
Simulation: Implements step(Signal).
Layout: Manages display and canvas.
Initialization and Signaling.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidbackwardSignaling(SignalingMessage sigMess) Runs (backward) through the simulation chain and communicates a Signaling message (SigMess).voidconnect(SystemImpl toSys) voidconnect(SystemImpl fromSys, int fromPortIdNumber, SystemImpl toSys, int toPortIdNumber) voidconnect(SystemImpl fromSys, SystemImpl toSys) voidvoidSignaling:voidforwardSignaling(SignalingMessage sigMess) Runs (forward) through the simulation chain and communicates a Signaling message (SigMess).getter and setters:getSymbols(SystemImpl outSystem) getToWC()getToWC(int port) voidinitSystemContainer(SystemContainer sysContainer) Runs through the simulation chain to initialize the SystemContainer and all TerminationInPorts.voidbooleanisMux()voidvoidSets both name and long namevoidreplaceInPort(InPort oldToPort, InPort newToPort) voidIncoming signal is output.inttoPorts()Von Klasse geerbte Methoden WiringComponentImpl
addPointBetween, addSymbol, addSymbol, addSymbol, getCanvas, getLongLabel, getName, getParent, getSymbolResolver, getSymbols, hide, isHidden, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, name, nameIfNotNamed, setLongLabel, setName, setParent, setSymbol, setSymbolResolver, setSymbols, toStringVon Klasse geerbte Methoden BaseWiringComponent
addSelectParameter, getMainParameters, getMeasures, getParameters, getSamplingTime, getSignalType, initSignalType, interceptStep, notifyBeforeParameterChange, notifyPropertyChangedPre, putParameters, putParams, setAutoshow, setAutoshow, setMeasures, setParametersSet, setParamsSet, setSamplingTime, setSignalType, setStepInterceptor, stepPreVon Klasse geerbte Methoden SignalingComponent
discoverStartableSystems, getSignalingReceiver, initDelay, processSignaling, resetSimulation, setFacade, setSignalingReceiver
-
Konstruktordetails
-
WireImpl
public WireImpl()
-
-
Methodendetails
-
getFacade
- Setzt außer Kraft:
getFacadein KlasseSignalingComponent
-
getFullLabel
- Setzt außer Kraft:
getFullLabelin KlasseWiringComponentImpl- Gibt zurück:
- Concatenated (short) name and long name, e.g. "s(t) - Sendesignal". If a long name doesn't exist only the (short) name, e.g. "s(t)", is returned.
-
getFromWC
getter and setters:- Angegeben von:
getFromWCin KlasseWiringComponentImpl
-
getToWC
- Angegeben von:
getToWCin KlasseWiringComponentImpl
-
getToWC
- Angegeben von:
getToWCin KlasseWiringComponentImpl
-
isMux
public boolean isMux()- Angegeben von:
isMuxin KlasseWiringComponentImpl
-
toPorts
public int toPorts() -
name
- Setzt außer Kraft:
namein KlasseWiringComponentImpl
-
name
Beschreibung aus Klasse kopiert:WiringComponentImplSets both name and long name- Setzt außer Kraft:
namein KlasseWiringComponentImpl- Parameter:
name-longName-
-
connect
- Parameter:
fromSys- the system output (port 0) is connected to this wiretoSys- the system input (port 0) is connected to this wire
-
connect
- Parameter:
fromSys- the system which output will be connected to this wirefromPortIdNumber- portIdnumber (tentative: field index) of the system which output will be connected to this wiretoSys- the system which input will be connected to this wiretoPortIdNumber- portIdnumber (tentative: field index) of the system which input will be connected to this wire
-
connect
-
initToPorts
public void initToPorts() -
connect
-
replaceInPort
-
initSystemContainer
Runs through the simulation chain to initialize the SystemContainer and all TerminationInPorts. -
step
Incoming signal is output.- Angegeben von:
stepin KlasseBaseWiringComponent- Parameter:
signal- Signal
-
forwardSignaling
Runs (forward) through the simulation chain and communicates a Signaling message (SigMess). Can be used for all meta communication beyond simulation signal flow. Wire is not allowed to change sigMess. -
backwardSignaling
Runs (backward) through the simulation chain and communicates a Signaling message (SigMess). Can be used for all meta communication beyond simulation signal flow. Wire is not allowed to change sigMess. -
checkConnection
public void checkConnection()- Angegeben von:
checkConnectionin KlasseBaseWiringComponent
-
createMeasures
public void createMeasures()Beschreibung aus Klasse kopiert:BaseWiringComponentSignaling:- Angegeben von:
createMeasuresin KlasseBaseWiringComponent
-
connectionDiagnose
-
getSymbols
-