QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
AviationAttitudeMessagePrivate (AviationAttitudeMessage *const q) | |
virtual | ~AviationAttitudeMessagePrivate () |
![]() | |
AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
virtual | ~AbstractDataMessagePrivate () |
bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
DateTime | timestamp |
The AviationAttitudeMessage FIT message's timestamp field. More... | |
quint16 | timestampMs |
The AviationAttitudeMessage FIT message's timestampMs field. More... | |
quint32 | systemTime |
The AviationAttitudeMessage FIT message's systemTime field. More... | |
qint16 | pitch |
The AviationAttitudeMessage FIT message's pitch field. More... | |
qint16 | roll |
The AviationAttitudeMessage FIT message's roll field. More... | |
qint16 | accelLateral |
The AviationAttitudeMessage FIT message's accelLateral field. More... | |
qint16 | accelNormal |
The AviationAttitudeMessage FIT message's accelNormal field. More... | |
qint16 | turnRate |
The AviationAttitudeMessage FIT message's turnRate field. More... | |
AttitudeStage | stage |
The AviationAttitudeMessage FIT message's stage field. | |
quint8 | attitudeStageComplete |
The AviationAttitudeMessage FIT message's attitudeStageComplete field. More... | |
quint16 | track |
The AviationAttitudeMessage FIT message's track field. More... | |
AttitudeValidity | validity |
The AviationAttitudeMessage FIT message's validity field. | |
![]() | |
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 AviationAttitudeMessagePrivate class provides private implementation for the AviationAttitudeMessage.
Definition at line 38 of file aviationattitudemessage_p.h.
|
explicit |
Constructs a AviationAttitudeMessagePrivate object with public implementation q.
q | Pointer to public implementaton. |
Definition at line 362 of file aviationattitudemessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the AviationAttitudeMessagePrivate object.
Definition at line 385 of file aviationattitudemessage.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 390 of file aviationattitudemessage.cpp.
References AbstractDataMessagePrivate::verify().
qint16 AviationAttitudeMessagePrivate::accelLateral |
The AviationAttitudeMessage FIT message's accelLateral field.
Range -78.4 to +78.4 (-8 Gs to 8 Gs)
Definition at line 81 of file aviationattitudemessage_p.h.
qint16 AviationAttitudeMessagePrivate::accelNormal |
The AviationAttitudeMessage FIT message's accelNormal field.
Range -78.4 to +78.4 (-8 Gs to 8 Gs)
Definition at line 88 of file aviationattitudemessage_p.h.
quint8 AviationAttitudeMessagePrivate::attitudeStageComplete |
The AviationAttitudeMessage FIT message's attitudeStageComplete field.
The percent complete of the current attitude stage. Set to 0 for attitude stages 0, 1 and 2 and to 100 for attitude stage 3 by AHRS modules that do not support it. Range - 100
Definition at line 108 of file aviationattitudemessage_p.h.
qint16 AviationAttitudeMessagePrivate::pitch |
The AviationAttitudeMessage FIT message's pitch field.
Range -PI/2 to +PI/2
Definition at line 67 of file aviationattitudemessage_p.h.
qint16 AviationAttitudeMessagePrivate::roll |
The AviationAttitudeMessage FIT message's roll field.
Range -PI to +PI
Definition at line 74 of file aviationattitudemessage_p.h.
quint32 AviationAttitudeMessagePrivate::systemTime |
The AviationAttitudeMessage FIT message's systemTime field.
System time associated with sample expressed in ms.
Definition at line 60 of file aviationattitudemessage_p.h.
DateTime AviationAttitudeMessagePrivate::timestamp |
The AviationAttitudeMessage FIT message's timestamp field.
Timestamp message was output
Definition at line 46 of file aviationattitudemessage_p.h.
quint16 AviationAttitudeMessagePrivate::timestampMs |
The AviationAttitudeMessage FIT message's timestampMs field.
Fractional part of timestamp, added to timestamp
Definition at line 53 of file aviationattitudemessage_p.h.
quint16 AviationAttitudeMessagePrivate::track |
The AviationAttitudeMessage FIT message's track field.
Track Angle/Heading Range 0 - 2pi
Definition at line 115 of file aviationattitudemessage_p.h.
qint16 AviationAttitudeMessagePrivate::turnRate |
The AviationAttitudeMessage FIT message's turnRate field.
Range -8.727 to +8.727 (-500 degs/sec to +500 degs/sec)
Definition at line 95 of file aviationattitudemessage_p.h.