de.bsvrz.vew.sim.sim.simulation
Class OfflineSimulation

java.lang.Object
  extended by de.bsvrz.vew.sim.sim.simulation.Simulation
      extended by de.bsvrz.vew.sim.sim.simulation.OfflineSimulation
All Implemented Interfaces:
de.bsvrz.dav.daf.main.ClientReceiverInterface, EmpfaengerMitAnAbmeldung, EmpfaengerMitAnmeldung

public class OfflineSimulation
extends Simulation

Kommentar

Version:
$Revision: 1.3 $ / $Date: 2008/10/31 13:30:30 $ / ($Author: Sans $)
Author:
Dambach-Werke GmbH, Stefan Sans

Nested Class Summary
 
Nested classes/interfaces inherited from class de.bsvrz.vew.sim.sim.simulation.Simulation
Simulation.ZustandsBezeichner
 
Field Summary
private static de.bsvrz.sys.funclib.debug.Debug _debug
          Debug-Logger für Logging-Ausgaben
private  EndlicherAutomat _endlicherAutomat
          Der endliche Automat für diese Simulation
private  SteuerungOfflineSimulation _steuerung
          Die Steuerung für diese Simulation
 
Fields inherited from class de.bsvrz.vew.sim.sim.simulation.Simulation
ARC_STATUS_AKTIV, ARC_STATUS_NICHT_AKTIV, KONFIG_STATUS_BEREIT, KONFIG_STATUS_GELOESCHT, KONFIG_STATUS_NICHT_BEREIT, PARAM_STATUS_AKTIV, PARAM_STATUS_NICHT_AKTIV
 
Constructor Summary
OfflineSimulation(de.bsvrz.dav.daf.main.config.SystemObject obj, short sv, SimulationsStrecke ss, de.bsvrz.dav.daf.main.ClientDavInterface con, Simulation.ZustandsBezeichner anfangsZustand)
          Erzeugt eine neue Instanz vom Typ OfflineSimulation
 
Method Summary
 void abmelden()
          Abmelden aller Datenidentifikationen für diese Instanz und das zugeordnete Systemobjekt
 void anmelden()
          Anmelden aller Datenidentifikationen für diese Instanz und das zugeordnete Systemobjekt
protected  EndlicherAutomat getEndlicherAutomat()
          Bestimmt den endlichen Automaten
 SteuerungOfflineSimulation getSteuerung()
          Bestimmt die Steuerungsinstanz
 void update(de.bsvrz.dav.daf.main.ResultData[] resultData)
           
 
Methods inherited from class de.bsvrz.vew.sim.sim.simulation.Simulation
getConnection, getName, getObjekt, getSimulationsStrecke, getSimulationsVariante, getStatusArchiv, getStatusKonfiguration, getStatusParametrierung, getVarianteFuerSimulation, getZustand, sendeAlsQuelle, setZustand, setZustand, starteZustandswechsel, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_debug

private static final de.bsvrz.sys.funclib.debug.Debug _debug
Debug-Logger für Logging-Ausgaben


_steuerung

private SteuerungOfflineSimulation _steuerung
Die Steuerung für diese Simulation


_endlicherAutomat

private EndlicherAutomat _endlicherAutomat
Der endliche Automat für diese Simulation

Constructor Detail

OfflineSimulation

public OfflineSimulation(de.bsvrz.dav.daf.main.config.SystemObject obj,
                         short sv,
                         SimulationsStrecke ss,
                         de.bsvrz.dav.daf.main.ClientDavInterface con,
                         Simulation.ZustandsBezeichner anfangsZustand)
Erzeugt eine neue Instanz vom Typ OfflineSimulation

Parameters:
obj - das dynamische Simulationsobjekt
sv - die Simulationsvariante
ss - die Simulationsstrecke (Klasse Simulationsstrecke)
con - die Datenverteiler-Verbindung
anfangsZustand - der Anfangszustand
Method Detail

getSteuerung

public SteuerungOfflineSimulation getSteuerung()
Description copied from class: Simulation
Bestimmt die Steuerungsinstanz

Specified by:
getSteuerung in class Simulation
Returns:
die Steuerungsinstanz für diese Simulation

getEndlicherAutomat

protected EndlicherAutomat getEndlicherAutomat()
Description copied from class: Simulation
Bestimmt den endlichen Automaten

Specified by:
getEndlicherAutomat in class Simulation
Returns:
den endlichen Automaten für diese Instanz

anmelden

public void anmelden()
Description copied from interface: EmpfaengerMitAnmeldung
Anmelden aller Datenidentifikationen für diese Instanz und das zugeordnete Systemobjekt

Specified by:
anmelden in interface EmpfaengerMitAnmeldung
Overrides:
anmelden in class Simulation

abmelden

public void abmelden()
Description copied from interface: EmpfaengerMitAnAbmeldung
Abmelden aller Datenidentifikationen für diese Instanz und das zugeordnete Systemobjekt

Specified by:
abmelden in interface EmpfaengerMitAnAbmeldung
Overrides:
abmelden in class Simulation

update

public void update(de.bsvrz.dav.daf.main.ResultData[] resultData)
Specified by:
update in interface de.bsvrz.dav.daf.main.ClientReceiverInterface
Overrides:
update in class Simulation