QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
GyroscopeDataMessagePrivate (GyroscopeDataMessage *const q) | |
virtual | ~GyroscopeDataMessagePrivate () |
![]() | |
AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
virtual | ~AbstractDataMessagePrivate () |
bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
DateTime | timestamp |
The GyroscopeDataMessage FIT message's timestamp field. More... | |
quint16 | timestampMs |
The GyroscopeDataMessage FIT message's timestampMs field. More... | |
quint16 | sampleTimeOffset |
The GyroscopeDataMessage FIT message's sampleTimeOffset field. More... | |
quint16 | gyroX |
The GyroscopeDataMessage FIT message's gyroX field. More... | |
quint16 | gyroY |
The GyroscopeDataMessage FIT message's gyroY field. More... | |
quint16 | gyroZ |
The GyroscopeDataMessage FIT message's gyroZ field. More... | |
float | calibratedGyroX |
The GyroscopeDataMessage FIT message's calibratedGyroX field. More... | |
float | calibratedGyroY |
The GyroscopeDataMessage FIT message's calibratedGyroY field. More... | |
float | calibratedGyroZ |
The GyroscopeDataMessage FIT message's calibratedGyroZ field. More... | |
![]() | |
MesgNum | globalMessageNumber |
FIT Globla Message Number for this FIT Data Message. | |
Protected Member Functions | |
bool | setField (const int fieldId, const QByteArray &data, const FitBaseType baseType, const bool bigEndian) override |
![]() | |
bool | verify (const QByteArray &data, const FitBaseType actualType, const int expectedSize, const FitBaseType expectedType, const char *messageFieldName) |
Additional Inherited Members | |
![]() | |
AbstractDataMessage *const | q_ptr |
Internal q-pointer. | |
The GyroscopeDataMessagePrivate class provides private implementation for the GyroscopeDataMessage.
Definition at line 38 of file gyroscopedatamessage_p.h.
|
explicit |
Constructs a GyroscopeDataMessagePrivate object with public implementation q.
q | Pointer to public implementaton. |
Definition at line 301 of file gyroscopedatamessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the GyroscopeDataMessagePrivate object.
Definition at line 321 of file gyroscopedatamessage.cpp.
|
overrideprotectedvirtual |
Sets the value of the fieldId field.
Derived classes must implement this method to extract the baseType value from data, and assign the extracted value the fieldId field.
fieldId | The field number within the given FIT data message. |
data | The raw data to extract the field value from. |
baseType | The FIT base type for the field. |
bigEndian | Whether or not multibyte values in record are big-endian. |
true
if the field was set, or safely ignored; false
otherwise. Implements AbstractDataMessagePrivate.
Definition at line 326 of file gyroscopedatamessage.cpp.
References AbstractDataMessagePrivate::verify().
float GyroscopeDataMessagePrivate::calibratedGyroX |
The GyroscopeDataMessage FIT message's calibratedGyroX field.
Calibrated gyro reading
Definition at line 93 of file gyroscopedatamessage_p.h.
float GyroscopeDataMessagePrivate::calibratedGyroY |
The GyroscopeDataMessage FIT message's calibratedGyroY field.
Calibrated gyro reading
Definition at line 100 of file gyroscopedatamessage_p.h.
float GyroscopeDataMessagePrivate::calibratedGyroZ |
The GyroscopeDataMessage FIT message's calibratedGyroZ field.
Calibrated gyro reading
Definition at line 107 of file gyroscopedatamessage_p.h.
quint16 GyroscopeDataMessagePrivate::gyroX |
The GyroscopeDataMessage FIT message's gyroX field.
These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.
Definition at line 70 of file gyroscopedatamessage_p.h.
quint16 GyroscopeDataMessagePrivate::gyroY |
The GyroscopeDataMessage FIT message's gyroY field.
These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.
Definition at line 78 of file gyroscopedatamessage_p.h.
quint16 GyroscopeDataMessagePrivate::gyroZ |
The GyroscopeDataMessage FIT message's gyroZ field.
These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.
Definition at line 86 of file gyroscopedatamessage_p.h.
quint16 GyroscopeDataMessagePrivate::sampleTimeOffset |
The GyroscopeDataMessage FIT message's sampleTimeOffset field.
Each time in the array describes the time at which the gyro sample with the corrosponding index was taken. Limited to 30 samples in each message. The samples may span across seconds. Array size must match the number of samples in gyro_x and gyro_y and gyro_z
Definition at line 62 of file gyroscopedatamessage_p.h.
DateTime GyroscopeDataMessagePrivate::timestamp |
The GyroscopeDataMessage FIT message's timestamp field.
Whole second part of the timestamp
Definition at line 46 of file gyroscopedatamessage_p.h.
quint16 GyroscopeDataMessagePrivate::timestampMs |
The GyroscopeDataMessage FIT message's timestampMs field.
Millisecond part of the timestamp.
Definition at line 53 of file gyroscopedatamessage_p.h.