QtFit  0.1
Internal library development documentation
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Todo List
Class FitStreamReader
Mention that this is a lower-level class, a users should probably use some yet-to-be FitFile class, that wraps up the calls to this one.
Member FitStreamReader::atEnd () const

Implement this method.

Implement this method.

Member FitStreamReader::readNext ()
Document how the caller should distinguish errors, from more-data-needed.
Member FitStreamReaderPrivate::fitChecksum (const QByteArray &data)
Move this somewhere appropriate; its not specific to FitStreamReader, but rather would be useful eventually for a FitStreamWriter class too. I guess its safe to keep in a private class for now, so it can then be moved without affecting the library's binary interface.
Member FitStreamReaderPrivate::parseDataMessage ()

Process timeOffset.

Set error code.

Member FitStreamReaderPrivate::parseFileHeader ()

Provide, and document, a way for the caller to distingish errors from simply not-enough- bytes-yet, when false it returned.

set not-enough-bytes; ie might need to wait for more bytes.

set invalid header size error; ie FIT stream is corrupt / invalid.

set invalid header data type (must be ".FIT").

set error, and return false here?

Member QTFIT_NAMESPACE
Consider moving this to a CMake option.