public class Simulator extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected Queue<CCSDSPacket> |
pendingCommands |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
Simulator(SimulationConfiguration simConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteLosDataFile(String filename) |
void |
dumpLosDataFile(String filename) |
LosStore |
getLosStore() |
SimulationConfiguration |
getSimulationConfiguration() |
SimWindow |
getSimWindow() |
TelemetryLink |
getTMLink() |
boolean |
isLOS() |
protected Queue<CCSDSPacket> |
readPackets(DataInputStream dIn)
this runs in a separate thread but pushes commands to the main TM thread
|
void |
run() |
void |
setLOS(boolean isLos) |
void |
setSimWindow(SimWindow simWindow) |
void |
startTriggeringLos() |
void |
stopTriggeringLos() |
protected void |
transmitTM(CCSDSPacket packet) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected Queue<CCSDSPacket> pendingCommands
public Simulator(SimulationConfiguration simConfig)
protected Queue<CCSDSPacket> readPackets(DataInputStream dIn)
public SimulationConfiguration getSimulationConfiguration()
public LosStore getLosStore()
public boolean isLOS()
public void setLOS(boolean isLos)
public TelemetryLink getTMLink()
protected void transmitTM(CCSDSPacket packet)
public void dumpLosDataFile(String filename)
public void deleteLosDataFile(String filename)
public SimWindow getSimWindow()
public void setSimWindow(SimWindow simWindow)
public void startTriggeringLos()
public void stopTriggeringLos()
Copyright © 2017 Space Applications Services. All rights reserved.