QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
OneDSensorCalibrationMessagePrivate (OneDSensorCalibrationMessage *const q) | |
virtual | ~OneDSensorCalibrationMessagePrivate () |
![]() | |
AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
virtual | ~AbstractDataMessagePrivate () |
bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
DateTime | timestamp |
The OneDSensorCalibrationMessage FIT message's timestamp field. More... | |
SensorType | sensorType |
The OneDSensorCalibrationMessage FIT message's sensorType field. More... | |
quint32 | calibrationFactor |
The OneDSensorCalibrationMessage FIT message's calibrationFactor field. More... | |
quint32 | calibrationDivisor |
The OneDSensorCalibrationMessage FIT message's calibrationDivisor field. More... | |
quint32 | levelShift |
The OneDSensorCalibrationMessage FIT message's levelShift field. More... | |
qint32 | offsetCal |
The OneDSensorCalibrationMessage FIT message's offsetCal 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 OneDSensorCalibrationMessagePrivate class provides private implementation for the OneDSensorCalibrationMessage.
Definition at line 38 of file onedsensorcalibrationmessage_p.h.
|
explicit |
Constructs a OneDSensorCalibrationMessagePrivate object with public implementation q.
q | Pointer to public implementaton. |
Definition at line 227 of file onedsensorcalibrationmessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the OneDSensorCalibrationMessagePrivate object.
Definition at line 244 of file onedsensorcalibrationmessage.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 249 of file onedsensorcalibrationmessage.cpp.
References AbstractDataMessagePrivate::verify().
quint32 OneDSensorCalibrationMessagePrivate::calibrationDivisor |
The OneDSensorCalibrationMessage FIT message's calibrationDivisor field.
Calibration factor divisor
Definition at line 67 of file onedsensorcalibrationmessage_p.h.
quint32 OneDSensorCalibrationMessagePrivate::calibrationFactor |
The OneDSensorCalibrationMessage FIT message's calibrationFactor field.
Calibration factor used to convert from raw ADC value to degrees, g, etc.
Definition at line 60 of file onedsensorcalibrationmessage_p.h.
quint32 OneDSensorCalibrationMessagePrivate::levelShift |
The OneDSensorCalibrationMessage FIT message's levelShift field.
Level shift value used to shift the ADC value back into range
Definition at line 74 of file onedsensorcalibrationmessage_p.h.
qint32 OneDSensorCalibrationMessagePrivate::offsetCal |
The OneDSensorCalibrationMessage FIT message's offsetCal field.
Internal Calibration factor
Definition at line 81 of file onedsensorcalibrationmessage_p.h.
SensorType OneDSensorCalibrationMessagePrivate::sensorType |
The OneDSensorCalibrationMessage FIT message's sensorType field.
Indicates which sensor the calibration is for
Definition at line 53 of file onedsensorcalibrationmessage_p.h.
DateTime OneDSensorCalibrationMessagePrivate::timestamp |
The OneDSensorCalibrationMessage FIT message's timestamp field.
Whole second part of the timestamp
Definition at line 46 of file onedsensorcalibrationmessage_p.h.