QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
ConnectivityMessagePrivate (ConnectivityMessage *const q) | |
virtual | ~ConnectivityMessagePrivate () |
![]() | |
AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
virtual | ~AbstractDataMessagePrivate () |
bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
bool | bluetoothEnabled |
The ConnectivityMessage FIT message's bluetoothEnabled field. More... | |
bool | bluetoothLeEnabled |
The ConnectivityMessage FIT message's bluetoothLeEnabled field. More... | |
bool | antEnabled |
The ConnectivityMessage FIT message's antEnabled field. More... | |
QString | name |
The ConnectivityMessage FIT message's name field. | |
bool | liveTrackingEnabled |
The ConnectivityMessage FIT message's liveTrackingEnabled field. | |
bool | weatherConditionsEnabled |
The ConnectivityMessage FIT message's weatherConditionsEnabled field. | |
bool | weatherAlertsEnabled |
The ConnectivityMessage FIT message's weatherAlertsEnabled field. | |
bool | autoActivityUploadEnabled |
The ConnectivityMessage FIT message's autoActivityUploadEnabled field. | |
bool | courseDownloadEnabled |
The ConnectivityMessage FIT message's courseDownloadEnabled field. | |
bool | workoutDownloadEnabled |
The ConnectivityMessage FIT message's workoutDownloadEnabled field. | |
bool | gpsEphemerisDownloadEnabled |
The ConnectivityMessage FIT message's gpsEphemerisDownloadEnabled field. | |
bool | incidentDetectionEnabled |
The ConnectivityMessage FIT message's incidentDetectionEnabled field. | |
bool | grouptrackEnabled |
The ConnectivityMessage FIT message's grouptrackEnabled 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 ConnectivityMessagePrivate class provides private implementation for the ConnectivityMessage.
Definition at line 38 of file connectivitymessage_p.h.
|
explicit |
Constructs a ConnectivityMessagePrivate object with public implementation q.
q | Pointer to public implementaton. |
Definition at line 368 of file connectivitymessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the ConnectivityMessagePrivate object.
Definition at line 391 of file connectivitymessage.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 396 of file connectivitymessage.cpp.
References AbstractDataMessagePrivate::verify().
bool ConnectivityMessagePrivate::antEnabled |
The ConnectivityMessage FIT message's antEnabled field.
Use ANT for connectivity features
Definition at line 60 of file connectivitymessage_p.h.
bool ConnectivityMessagePrivate::bluetoothEnabled |
The ConnectivityMessage FIT message's bluetoothEnabled field.
Use Bluetooth for connectivity features
Definition at line 46 of file connectivitymessage_p.h.
bool ConnectivityMessagePrivate::bluetoothLeEnabled |
The ConnectivityMessage FIT message's bluetoothLeEnabled field.
Use Bluetooth Low Energy for connectivity features
Definition at line 53 of file connectivitymessage_p.h.