public class ConfigSimulationObject extends Object
Constructor and Description |
---|
ConfigSimulationObject(ClientDavInterface connection,
SystemObject simulationObject,
ConfigurationQueryManager configurationQueryManager)
Dieses Objekt stellt aus Sicht der Konfiguration eine Simulation dar.
|
Modifier and Type | Method and Description |
---|---|
SystemObject |
getSimulationObject()
Gibt das Systemobject zurück, das aus Sicht des Datenverteilers eine Simulation darstellt.
|
short |
getSimulationVariant() |
boolean |
isOfflineSimulation() |
boolean |
isSpecialTreatedDynamicObjectType(DynamicObjectType dynamicObjectType)
Diese Methode prüft ob der übergeben Typ speziell behandelt werden soll.
|
boolean |
isSpecialTreatedSetType(ObjectSetType setType)
Prüft, ob der Typ einer Menge zu den Typen gehört, die an Simulationsstrecke festgelegt wurden.
|
void |
simulationRemovedFromSet()
Diese Methode wird aufgerufen sobald die Simulation, die zu diesem Objekt gehört, aus der Menge der Simulationen entfernt wird.
|
public ConfigSimulationObject(ClientDavInterface connection, SystemObject simulationObject, ConfigurationQueryManager configurationQueryManager) throws OneSubscriptionPerSendData
connection
- simulationObject
- SystemObject vom Typ typ.simulation.configurationQueryManager
- Objekt, mit denen das Objekt die Konfiguration beauftragen kann, einen Empfänger für Konfigurationsanfragen für diese
Simulationsvariante anzumelden/abzumeldenOneSubscriptionPerSendData
public SystemObject getSimulationObject()
public void simulationRemovedFromSet()
public short getSimulationVariant()
public boolean isOfflineSimulation()
public boolean isSpecialTreatedSetType(ObjectSetType setType)
setType
- Mengentyp, der geprüft werden soll. Vererbung wird nicht berücksichtigt.public boolean isSpecialTreatedDynamicObjectType(DynamicObjectType dynamicObjectType)
dynamicObjectType
- dynamischer Typ, der geprüft werden soll