A list of uint8_t values.
XsResultValue m_lastResult
bool writeMessage(const XsMessage &message) override
Overloadable function to allow easier testing.
The low-level file communication class.
@ XRV_ALREADYOPEN
269: An I/O device is already opened with this object
@ XRV_NOFILEOPEN
287: No file opened for reading/writing
~MtbDataLogger() override
@ XRV_OK
0: Operation was performed successfully
static int composeMessage(XsByteArray &raw, const XsMessage &msg)
Compose a message for transmission.
bool writeRaw(const XsByteArray &message)
Write precomposed raw data to the file stream.
MtbDataLogger()
Default constructor.
XsString filename() const
Structure for storing a single message.
void close() override
Closes the file.
A 0-terminated managed string of characters.
bool create(const XsString &filename)
Open a log file for output.
@ XRV_DATACORRUPT
278: A trusted data stream proves to contain corrupted data
std::shared_ptr< IoInterfaceFile > m_ioInterfaceFile