|
QtFit
0.1
Internal library development documentation
|
The AviationAttitudeMessage class represents a FIT AviationAttitudeMessage data message. More...
Public Member Functions | |
| AviationAttitudeMessage () | |
| Constructs a AviationAttitudeMessage object. More... | |
| DateTime | timestamp () const |
Returns the AviationAttitudeMessage data message's timestamp field's current value. More... | |
| quint16 | timestampMs () const |
Returns the AviationAttitudeMessage data message's timestampMs field's current value. More... | |
| quint32 | systemTime () const |
Returns the AviationAttitudeMessage data message's systemTime field's current value. More... | |
| qint16 | pitch () const |
Returns the AviationAttitudeMessage data message's pitch field's current value. More... | |
| qint16 | roll () const |
Returns the AviationAttitudeMessage data message's roll field's current value. More... | |
| qint16 | accelLateral () const |
Returns the AviationAttitudeMessage data message's accelLateral field's current value. More... | |
| qint16 | accelNormal () const |
Returns the AviationAttitudeMessage data message's accelNormal field's current value. More... | |
| qint16 | turnRate () const |
Returns the AviationAttitudeMessage data message's turnRate field's current value. More... | |
| AttitudeStage | stage () const |
Returns the AviationAttitudeMessage data message's stage field's current value. More... | |
| quint8 | attitudeStageComplete () const |
Returns the AviationAttitudeMessage data message's attitudeStageComplete field's current value. More... | |
| quint16 | track () const |
Returns the AviationAttitudeMessage data message's track field's current value. More... | |
| AttitudeValidity | validity () const |
Returns the AviationAttitudeMessage data message's validity field's current value. More... | |
| void | setTimestamp (const DateTime timestamp) |
Sets the timestamp field to timestamp. More... | |
| void | setTimestampMs (const quint16 timestampMs) |
Sets the timestampMs field to timestampMs. More... | |
| void | setSystemTime (const quint32 systemTime) |
Sets the systemTime field to systemTime. More... | |
| void | setPitch (const qint16 pitch) |
Sets the pitch field to pitch. More... | |
| void | setRoll (const qint16 roll) |
Sets the roll field to roll. More... | |
| void | setAccelLateral (const qint16 accelLateral) |
Sets the accelLateral field to accelLateral. More... | |
| void | setAccelNormal (const qint16 accelNormal) |
Sets the accelNormal field to accelNormal. More... | |
| void | setTurnRate (const qint16 turnRate) |
Sets the turnRate field to turnRate. More... | |
| void | setStage (const AttitudeStage stage) |
Sets the stage field to stage. More... | |
| void | setAttitudeStageComplete (const quint8 attitudeStageComplete) |
Sets the attitudeStageComplete field to attitudeStageComplete. More... | |
| void | setTrack (const quint16 track) |
Sets the track field to track. More... | |
| void | setValidity (const AttitudeValidity validity) |
Sets the validity field to validity. More... | |
Public Member Functions inherited from AbstractDataMessage | |
| ~AbstractDataMessage () | |
| Destroys the AbstractDataMessage object. | |
| MesgNum | globalMessageNumber () const |
| Returns the data message's global message number. More... | |
Protected Member Functions | |
| AviationAttitudeMessage (AviationAttitudeMessagePrivate *const d) | |
Protected Member Functions inherited from AbstractDataMessage | |
| AbstractDataMessage (AbstractDataMessagePrivate *const d) | |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractDataMessage | |
| static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
| Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More... | |
Protected Attributes inherited from AbstractDataMessage | |
| AbstractDataMessagePrivate *const | d_ptr |
| Internal d-pointer. | |
The AviationAttitudeMessage class represents a FIT AviationAttitudeMessage data message.
Definition at line 39 of file aviationattitudemessage.h.
| AviationAttitudeMessage::AviationAttitudeMessage | ( | ) |
Constructs a AviationAttitudeMessage object.
Typically, instances of this class will be returned by FitStreamReader::readNext, but this constructor may be used, along with the relevant setter methods, to create a valid message.
Definition at line 52 of file aviationattitudemessage.cpp.
|
explicitprotected |
Constructs a AviationAttitudeMessage object with private implementation d.
| d | Pointer to private implementation. |
Definition at line 64 of file aviationattitudemessage.cpp.
| qint16 AviationAttitudeMessage::accelLateral | ( | ) | const |
Returns the AviationAttitudeMessage data message's accelLateral field's current value.
Range -78.4 to +78.4 (-8 Gs to 8 Gs)
accelLateral field value. Definition at line 141 of file aviationattitudemessage.cpp.
Referenced by setAccelLateral().
| qint16 AviationAttitudeMessage::accelNormal | ( | ) | const |
Returns the AviationAttitudeMessage data message's accelNormal field's current value.
Range -78.4 to +78.4 (-8 Gs to 8 Gs)
accelNormal field value. Definition at line 154 of file aviationattitudemessage.cpp.
Referenced by setAccelNormal().
| quint8 AviationAttitudeMessage::attitudeStageComplete | ( | ) | const |
Returns the AviationAttitudeMessage data message's attitudeStageComplete field's current value.
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
attitudeStageComplete field value. Definition at line 192 of file aviationattitudemessage.cpp.
Referenced by setAttitudeStageComplete().
| qint16 AviationAttitudeMessage::pitch | ( | ) | const |
Returns the AviationAttitudeMessage data message's pitch field's current value.
Range -PI/2 to +PI/2
pitch field value. Definition at line 115 of file aviationattitudemessage.cpp.
Referenced by setPitch().
| qint16 AviationAttitudeMessage::roll | ( | ) | const |
Returns the AviationAttitudeMessage data message's roll field's current value.
Range -PI to +PI
roll field value. Definition at line 128 of file aviationattitudemessage.cpp.
Referenced by setRoll().
| void AviationAttitudeMessage::setAccelLateral | ( | const qint16 | accelLateral | ) |
Sets the accelLateral field to accelLateral.
| accelLateral | The field value to set. |
Definition at line 277 of file aviationattitudemessage.cpp.
References accelLateral().
| void AviationAttitudeMessage::setAccelNormal | ( | const qint16 | accelNormal | ) |
Sets the accelNormal field to accelNormal.
| accelNormal | The field value to set. |
Definition at line 287 of file aviationattitudemessage.cpp.
References accelNormal().
| void AviationAttitudeMessage::setAttitudeStageComplete | ( | const quint8 | attitudeStageComplete | ) |
Sets the attitudeStageComplete field to attitudeStageComplete.
| attitudeStageComplete | The field value to set. |
Definition at line 317 of file aviationattitudemessage.cpp.
References attitudeStageComplete().
| void AviationAttitudeMessage::setPitch | ( | const qint16 | pitch | ) |
Sets the pitch field to pitch.
| pitch | The field value to set. |
Definition at line 257 of file aviationattitudemessage.cpp.
References pitch().
| void AviationAttitudeMessage::setRoll | ( | const qint16 | roll | ) |
Sets the roll field to roll.
| roll | The field value to set. |
Definition at line 267 of file aviationattitudemessage.cpp.
References roll().
| void AviationAttitudeMessage::setStage | ( | const AttitudeStage | stage | ) |
Sets the stage field to stage.
| stage | The field value to set. |
Definition at line 307 of file aviationattitudemessage.cpp.
References stage().
| void AviationAttitudeMessage::setSystemTime | ( | const quint32 | systemTime | ) |
Sets the systemTime field to systemTime.
| systemTime | The field value to set. |
Definition at line 247 of file aviationattitudemessage.cpp.
References systemTime().
| void AviationAttitudeMessage::setTimestamp | ( | const DateTime | timestamp | ) |
Sets the timestamp field to timestamp.
| timestamp | The field value to set. |
Definition at line 227 of file aviationattitudemessage.cpp.
References timestamp().
| void AviationAttitudeMessage::setTimestampMs | ( | const quint16 | timestampMs | ) |
Sets the timestampMs field to timestampMs.
| timestampMs | The field value to set. |
Definition at line 237 of file aviationattitudemessage.cpp.
References timestampMs().
| void AviationAttitudeMessage::setTrack | ( | const quint16 | track | ) |
Sets the track field to track.
| track | The field value to set. |
Definition at line 327 of file aviationattitudemessage.cpp.
References track().
| void AviationAttitudeMessage::setTurnRate | ( | const qint16 | turnRate | ) |
Sets the turnRate field to turnRate.
| turnRate | The field value to set. |
Definition at line 297 of file aviationattitudemessage.cpp.
References turnRate().
| void AviationAttitudeMessage::setValidity | ( | const AttitudeValidity | validity | ) |
Sets the validity field to validity.
| validity | The field value to set. |
Definition at line 337 of file aviationattitudemessage.cpp.
References validity().
| AttitudeStage AviationAttitudeMessage::stage | ( | ) | const |
Returns the AviationAttitudeMessage data message's stage field's current value.
stage field value. Definition at line 178 of file aviationattitudemessage.cpp.
Referenced by setStage().
| quint32 AviationAttitudeMessage::systemTime | ( | ) | const |
Returns the AviationAttitudeMessage data message's systemTime field's current value.
System time associated with sample expressed in ms.
systemTime field value. Definition at line 102 of file aviationattitudemessage.cpp.
Referenced by setSystemTime().
| DateTime AviationAttitudeMessage::timestamp | ( | ) | const |
Returns the AviationAttitudeMessage data message's timestamp field's current value.
Timestamp message was output
timestamp field value. Definition at line 76 of file aviationattitudemessage.cpp.
Referenced by setTimestamp().
| quint16 AviationAttitudeMessage::timestampMs | ( | ) | const |
Returns the AviationAttitudeMessage data message's timestampMs field's current value.
Fractional part of timestamp, added to timestamp
timestampMs field value. Definition at line 89 of file aviationattitudemessage.cpp.
Referenced by setTimestampMs().
| quint16 AviationAttitudeMessage::track | ( | ) | const |
Returns the AviationAttitudeMessage data message's track field's current value.
Track Angle/Heading Range 0 - 2pi
track field value. Definition at line 205 of file aviationattitudemessage.cpp.
Referenced by setTrack().
| qint16 AviationAttitudeMessage::turnRate | ( | ) | const |
Returns the AviationAttitudeMessage data message's turnRate field's current value.
Range -8.727 to +8.727 (-500 degs/sec to +500 degs/sec)
turnRate field value. Definition at line 167 of file aviationattitudemessage.cpp.
Referenced by setTurnRate().
| AttitudeValidity AviationAttitudeMessage::validity | ( | ) | const |
Returns the AviationAttitudeMessage data message's validity field's current value.
validity field value. Definition at line 216 of file aviationattitudemessage.cpp.
Referenced by setValidity().