|
QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
| DeviceInfoMessagePrivate (DeviceInfoMessage *const q) | |
| virtual | ~DeviceInfoMessagePrivate () |
Public Member Functions inherited from AbstractDataMessagePrivate | |
| AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
| virtual | ~AbstractDataMessagePrivate () |
| bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
| DateTime | timestamp |
| The DeviceInfoMessage FIT message's timestamp field. | |
| DeviceIndex | deviceIndex |
| The DeviceInfoMessage FIT message's deviceIndex field. | |
| quint8 | deviceType |
| The DeviceInfoMessage FIT message's deviceType field. | |
| Manufacturer | manufacturer |
| The DeviceInfoMessage FIT message's manufacturer field. | |
| quint32z | serialNumber |
| The DeviceInfoMessage FIT message's serialNumber field. | |
| quint16 | product |
| The DeviceInfoMessage FIT message's product field. | |
| quint16 | softwareVersion |
| The DeviceInfoMessage FIT message's softwareVersion field. | |
| quint8 | hardwareVersion |
| The DeviceInfoMessage FIT message's hardwareVersion field. | |
| quint32 | cumOperatingTime |
| The DeviceInfoMessage FIT message's cumOperatingTime field. More... | |
| quint16 | batteryVoltage |
| The DeviceInfoMessage FIT message's batteryVoltage field. | |
| BatteryStatus | batteryStatus |
| The DeviceInfoMessage FIT message's batteryStatus field. | |
| BodyLocation | sensorPosition |
| The DeviceInfoMessage FIT message's sensorPosition field. More... | |
| QString | descriptor |
| The DeviceInfoMessage FIT message's descriptor field. More... | |
| quint8z | antTransmissionType |
| The DeviceInfoMessage FIT message's antTransmissionType field. | |
| quint16z | antDeviceNumber |
| The DeviceInfoMessage FIT message's antDeviceNumber field. | |
| AntNetwork | antNetwork |
| The DeviceInfoMessage FIT message's antNetwork field. | |
| SourceType | sourceType |
| The DeviceInfoMessage FIT message's sourceType field. | |
| QString | productName |
| The DeviceInfoMessage FIT message's productName field. More... | |
Public Attributes inherited from AbstractDataMessagePrivate | |
| 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 |
Protected Member Functions inherited from AbstractDataMessagePrivate | |
| bool | verify (const QByteArray &data, const FitBaseType actualType, const int expectedSize, const FitBaseType expectedType, const char *messageFieldName) |
Additional Inherited Members | |
Protected Attributes inherited from AbstractDataMessagePrivate | |
| AbstractDataMessage *const | q_ptr |
| Internal q-pointer. | |
The DeviceInfoMessagePrivate class provides private implementation for the DeviceInfoMessage.
Definition at line 38 of file deviceinfomessage_p.h.
|
explicit |
Constructs a DeviceInfoMessagePrivate object with public implementation q.
| q | Pointer to public implementaton. |
Definition at line 475 of file deviceinfomessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the DeviceInfoMessagePrivate object.
Definition at line 502 of file deviceinfomessage.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 507 of file deviceinfomessage.cpp.
References AbstractDataMessagePrivate::verify().
| quint32 DeviceInfoMessagePrivate::cumOperatingTime |
The DeviceInfoMessage FIT message's cumOperatingTime field.
Reset by new battery or charge.
Definition at line 86 of file deviceinfomessage_p.h.
| QString DeviceInfoMessagePrivate::descriptor |
The DeviceInfoMessage FIT message's descriptor field.
Used to describe the sensor or location
Definition at line 110 of file deviceinfomessage_p.h.
| QString DeviceInfoMessagePrivate::productName |
The DeviceInfoMessage FIT message's productName field.
Optional free form string to indicate the devices name or model
Definition at line 137 of file deviceinfomessage_p.h.
| BodyLocation DeviceInfoMessagePrivate::sensorPosition |
The DeviceInfoMessage FIT message's sensorPosition field.
Indicates the location of the sensor
Definition at line 103 of file deviceinfomessage_p.h.