public class AvclTelemetryFileWriter extends Object
Constructor and Description |
---|
AvclTelemetryFileWriter() |
Modifier and Type | Method and Description |
---|---|
void |
endAvclDocument()
Finished the AVCL document.
|
AvclMission |
getAvclMissionInstance() |
void |
setAvclMissionInstance(AvclMission avclMissionInstance) |
void |
startAvclDocument(AVCL avclStartDoc)
A "start event" for capturing telemetry.
|
void |
telemetryEvent(SampledResultsElementType anAvclTelemetry)
Received a telemetry event.
|
void |
writeToFile(String filename)
Once endAvclDocument has been called to close off any tags, we can
marshal out the AVCL document using JAXB.
|
public void startAvclDocument(AVCL avclStartDoc)
avclStartDoc
- the beginning AVCL document, with meta information and
more. If this is null, a default AVCL is created.public void telemetryEvent(SampledResultsElementType anAvclTelemetry)
anAvclTelemetry
- a SampledResultsElementType to populate with datapublic void endAvclDocument()
public void writeToFile(String filename)
filename
- the name of the translated telemetry filepublic AvclMission getAvclMissionInstance()
public void setAvclMissionInstance(AvclMission avclMissionInstance)
avclMissionInstance
- the avclMissionInstance to set