#include <DC_FileTelemetryStream.h>
Inheritance diagram for DC_FileTelemetryStream:

The data written to the telemetry stream are written to an output file. The output file can be either a named file or the standard output. This will allow usage both in a desktop environment and in many embedded environments. This type of telemetry stream is primarily intended for testing purposes.
Definition at line 29 of file DC_FileTelemetryStream.h.
Public Member Functions | |
| DC_FileTelemetryStream (void) | |
| Instantiate a file telemetry stream component. | |
| void | setOutputStream (FILE *outputStream) |
| Set the output stream to which the telemetry data are written and write a header to the output stream. | |
| FILE * | getOutputStream (void) |
| Return the output stream to which the telemetry data are written. | |
| virtual void | flush (void) |
| Write an "end-of-TM-frame" message to the output stream and flush it. | |
| virtual void | write (TelemetryPacket *tmItem) |
| Write the full content of the telemetry packet to the output stream. | |
|
|
Instantiate a file telemetry stream component. This constructor sets the the class identifier. Definition at line 20 of file DC_FileTelemetryStream.cpp. |
|
|
Write an "end-of-TM-frame" message to the output stream and flush it. The "end-of-TM-frame" message consists of a single straight line. If the output stream is the standard output, no action is taken. Reimplemented from TelemetryStream. Definition at line 25 of file DC_FileTelemetryStream.cpp. |
|
|
Return the output stream to which the telemetry data are written.
The return value can be
Definition at line 46 of file DC_FileTelemetryStream.cpp. |
|
|
Set the output stream to which the telemetry data are written and write a header to the output stream.
If the argument is
Definition at line 34 of file DC_FileTelemetryStream.cpp. |
|
|
Write the full content of the telemetry packet to the output stream. First, the value of all the attributes (the telemetry time tag, the telemetry type and subtype, the telemetry destination) are written. Then the telemetry packet data are written as a sequence of bytes.
Implements TelemetryStream. Definition at line 50 of file DC_FileTelemetryStream.cpp. |