| Modifier and Type | Field and Description |
|---|---|
protected long |
datacount |
protected boolean |
disabled |
boolean |
loopSimulation |
Date |
simulationRealStartTime |
Date |
simulationStartTime |
int |
simulationStepLengthMs |
long |
simutationStep |
| Constructor and Description |
|---|
SimulationPpProvider() |
SimulationPpProvider(String yamcsInstance,
String name,
LinkedHashMap<String,String> args) |
| Modifier and Type | Method and Description |
|---|---|
void |
disable() |
void |
enable() |
long |
getDataInCount() |
long |
getDataOutCount() |
String |
getDetailedStatus() |
org.yamcs.tctm.Link.Status |
getLinkStatus() |
boolean |
isDisabled() |
PpSimulation |
loadSimulationData(String fileName)
Load simulation data from an XML file
|
void |
processSimulationData()
Processes the specified simulation scenario
|
void |
run()
Entry point to run the simulation
|
void |
setParameterSink(org.yamcs.tctm.ParameterSink ppListener) |
void |
setSimulationData(String xmlFilePath) |
protected boolean |
stop() |
addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, executor, failureCause, isRunning, serviceName, shutDown, startAsync, startUp, state, stopAsync, toString, triggerShutdownpublic Date simulationStartTime
public Date simulationRealStartTime
public int simulationStepLengthMs
public long simutationStep
public boolean loopSimulation
protected volatile long datacount
protected volatile boolean disabled
public SimulationPpProvider(String yamcsInstance, String name, LinkedHashMap<String,String> args) throws org.yamcs.ConfigurationException
org.yamcs.ConfigurationExceptionpublic SimulationPpProvider()
public org.yamcs.tctm.Link.Status getLinkStatus()
getLinkStatus in interface org.yamcs.tctm.Linkpublic String getDetailedStatus()
getDetailedStatus in interface org.yamcs.tctm.Linkpublic void enable()
enable in interface org.yamcs.tctm.Linkpublic void disable()
disable in interface org.yamcs.tctm.Linkpublic boolean isDisabled()
isDisabled in interface org.yamcs.tctm.Linkpublic long getDataInCount()
getDataInCount in interface org.yamcs.tctm.Linkpublic long getDataOutCount()
getDataOutCount in interface org.yamcs.tctm.Linkpublic void setParameterSink(org.yamcs.tctm.ParameterSink ppListener)
setParameterSink in interface org.yamcs.tctm.ParameterDataLinkpublic void run()
public void setSimulationData(String xmlFilePath)
public void processSimulationData()
public PpSimulation loadSimulationData(String fileName)
fileName - protected boolean stop()
Copyright © 2019 Space Applications Services. All rights reserved.