public abstract class TextMissionResults extends Object
Modifier and Type | Field and Description |
---|---|
protected PrintWriter |
ordersOut
text orders output file
|
protected PrintWriter |
telemetryOut
text telemetry output file
|
protected Execution |
vehicle
reference to vehicle object to which this mission applies
|
Modifier | Constructor and Description |
---|---|
protected |
TextMissionResults(Execution execution)
Creates a new instance of AvclMissionResults
|
Modifier and Type | Method and Description |
---|---|
protected void |
closeDataFiles()
closes the vehicle text data output files
|
PrintWriter |
openOutputFile(String fileName)
Opens a text file for output of mission data.
|
protected abstract void |
writeOrders()
Generates an vehicle control orders element and writes it to the XML telemetry file
|
protected abstract void |
writeSensorData()
writes sensor data (as required) to output file(s)
|
protected abstract void |
writeTelemetry()
Constructs a telemetry element and writes it to the telemetry output file
|
protected abstract void |
writeWeaponData()
writes weapon data (as required) to output file(s)
|
protected Execution vehicle
protected PrintWriter telemetryOut
protected PrintWriter ordersOut
protected TextMissionResults(Execution execution)
execution
- public PrintWriter openOutputFile(String fileName)
fileName
- name of file to be openedprotected void closeDataFiles()
protected abstract void writeTelemetry()
protected abstract void writeSensorData()
protected abstract void writeWeaponData()
protected abstract void writeOrders()