QtFit
0.1
Native Qt library for Garmin FIT format
|
The ConnectivityMessage class represents a FIT ConnectivityMessage data message. More...
Public Member Functions | |
ConnectivityMessage () | |
Constructs a ConnectivityMessage object. More... | |
bool | bluetoothEnabled () const |
Returns the ConnectivityMessage data message's bluetoothEnabled field's current value. More... | |
bool | bluetoothLeEnabled () const |
Returns the ConnectivityMessage data message's bluetoothLeEnabled field's current value. More... | |
bool | antEnabled () const |
Returns the ConnectivityMessage data message's antEnabled field's current value. More... | |
QString | name () const |
Returns the ConnectivityMessage data message's name field's current value. More... | |
bool | liveTrackingEnabled () const |
Returns the ConnectivityMessage data message's liveTrackingEnabled field's current value. More... | |
bool | weatherConditionsEnabled () const |
Returns the ConnectivityMessage data message's weatherConditionsEnabled field's current value. More... | |
bool | weatherAlertsEnabled () const |
Returns the ConnectivityMessage data message's weatherAlertsEnabled field's current value. More... | |
bool | autoActivityUploadEnabled () const |
Returns the ConnectivityMessage data message's autoActivityUploadEnabled field's current value. More... | |
bool | courseDownloadEnabled () const |
Returns the ConnectivityMessage data message's courseDownloadEnabled field's current value. More... | |
bool | workoutDownloadEnabled () const |
Returns the ConnectivityMessage data message's workoutDownloadEnabled field's current value. More... | |
bool | gpsEphemerisDownloadEnabled () const |
Returns the ConnectivityMessage data message's gpsEphemerisDownloadEnabled field's current value. More... | |
bool | incidentDetectionEnabled () const |
Returns the ConnectivityMessage data message's incidentDetectionEnabled field's current value. More... | |
bool | grouptrackEnabled () const |
Returns the ConnectivityMessage data message's grouptrackEnabled field's current value. More... | |
void | setBluetoothEnabled (const bool bluetoothEnabled) |
Sets the bluetoothEnabled field to bluetoothEnabled. More... | |
void | setBluetoothLeEnabled (const bool bluetoothLeEnabled) |
Sets the bluetoothLeEnabled field to bluetoothLeEnabled. More... | |
void | setAntEnabled (const bool antEnabled) |
Sets the antEnabled field to antEnabled. More... | |
void | setName (const QString name) |
Sets the name field to name. More... | |
void | setLiveTrackingEnabled (const bool liveTrackingEnabled) |
Sets the liveTrackingEnabled field to liveTrackingEnabled. More... | |
void | setWeatherConditionsEnabled (const bool weatherConditionsEnabled) |
Sets the weatherConditionsEnabled field to weatherConditionsEnabled. More... | |
void | setWeatherAlertsEnabled (const bool weatherAlertsEnabled) |
Sets the weatherAlertsEnabled field to weatherAlertsEnabled. More... | |
void | setAutoActivityUploadEnabled (const bool autoActivityUploadEnabled) |
Sets the autoActivityUploadEnabled field to autoActivityUploadEnabled. More... | |
void | setCourseDownloadEnabled (const bool courseDownloadEnabled) |
Sets the courseDownloadEnabled field to courseDownloadEnabled. More... | |
void | setWorkoutDownloadEnabled (const bool workoutDownloadEnabled) |
Sets the workoutDownloadEnabled field to workoutDownloadEnabled. More... | |
void | setGpsEphemerisDownloadEnabled (const bool gpsEphemerisDownloadEnabled) |
Sets the gpsEphemerisDownloadEnabled field to gpsEphemerisDownloadEnabled. More... | |
void | setIncidentDetectionEnabled (const bool incidentDetectionEnabled) |
Sets the incidentDetectionEnabled field to incidentDetectionEnabled. More... | |
void | setGrouptrackEnabled (const bool grouptrackEnabled) |
Sets the grouptrackEnabled field to grouptrackEnabled. More... | |
![]() | |
~AbstractDataMessage () | |
Destroys the AbstractDataMessage object. | |
MesgNum | globalMessageNumber () const |
Returns the data message's global message number. More... | |
Additional Inherited Members | |
![]() | |
static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More... | |
The ConnectivityMessage class represents a FIT ConnectivityMessage data message.
ConnectivityMessage::ConnectivityMessage | ( | ) |
Constructs a ConnectivityMessage 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.
bool ConnectivityMessage::antEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's antEnabled
field's current value.
Use ANT for connectivity features
antEnabled
field value. bool ConnectivityMessage::autoActivityUploadEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's autoActivityUploadEnabled
field's current value.
autoActivityUploadEnabled
field value. bool ConnectivityMessage::bluetoothEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's bluetoothEnabled
field's current value.
Use Bluetooth for connectivity features
bluetoothEnabled
field value. bool ConnectivityMessage::bluetoothLeEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's bluetoothLeEnabled
field's current value.
Use Bluetooth Low Energy for connectivity features
bluetoothLeEnabled
field value. bool ConnectivityMessage::courseDownloadEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's courseDownloadEnabled
field's current value.
courseDownloadEnabled
field value. bool ConnectivityMessage::gpsEphemerisDownloadEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's gpsEphemerisDownloadEnabled
field's current value.
gpsEphemerisDownloadEnabled
field value. bool ConnectivityMessage::grouptrackEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's grouptrackEnabled
field's current value.
grouptrackEnabled
field value. bool ConnectivityMessage::incidentDetectionEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's incidentDetectionEnabled
field's current value.
incidentDetectionEnabled
field value. bool ConnectivityMessage::liveTrackingEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's liveTrackingEnabled
field's current value.
liveTrackingEnabled
field value. QString ConnectivityMessage::name | ( | ) | const |
Returns the ConnectivityMessage data message's name
field's current value.
name
field value. void ConnectivityMessage::setAntEnabled | ( | const bool | antEnabled | ) |
Sets the antEnabled
field to antEnabled.
antEnabled | The field value to set. |
void ConnectivityMessage::setAutoActivityUploadEnabled | ( | const bool | autoActivityUploadEnabled | ) |
Sets the autoActivityUploadEnabled
field to autoActivityUploadEnabled.
autoActivityUploadEnabled | The field value to set. |
void ConnectivityMessage::setBluetoothEnabled | ( | const bool | bluetoothEnabled | ) |
Sets the bluetoothEnabled
field to bluetoothEnabled.
bluetoothEnabled | The field value to set. |
void ConnectivityMessage::setBluetoothLeEnabled | ( | const bool | bluetoothLeEnabled | ) |
Sets the bluetoothLeEnabled
field to bluetoothLeEnabled.
bluetoothLeEnabled | The field value to set. |
void ConnectivityMessage::setCourseDownloadEnabled | ( | const bool | courseDownloadEnabled | ) |
Sets the courseDownloadEnabled
field to courseDownloadEnabled.
courseDownloadEnabled | The field value to set. |
void ConnectivityMessage::setGpsEphemerisDownloadEnabled | ( | const bool | gpsEphemerisDownloadEnabled | ) |
Sets the gpsEphemerisDownloadEnabled
field to gpsEphemerisDownloadEnabled.
gpsEphemerisDownloadEnabled | The field value to set. |
void ConnectivityMessage::setGrouptrackEnabled | ( | const bool | grouptrackEnabled | ) |
Sets the grouptrackEnabled
field to grouptrackEnabled.
grouptrackEnabled | The field value to set. |
void ConnectivityMessage::setIncidentDetectionEnabled | ( | const bool | incidentDetectionEnabled | ) |
Sets the incidentDetectionEnabled
field to incidentDetectionEnabled.
incidentDetectionEnabled | The field value to set. |
void ConnectivityMessage::setLiveTrackingEnabled | ( | const bool | liveTrackingEnabled | ) |
Sets the liveTrackingEnabled
field to liveTrackingEnabled.
liveTrackingEnabled | The field value to set. |
void ConnectivityMessage::setName | ( | const QString | name | ) |
Sets the name
field to name.
name | The field value to set. |
void ConnectivityMessage::setWeatherAlertsEnabled | ( | const bool | weatherAlertsEnabled | ) |
Sets the weatherAlertsEnabled
field to weatherAlertsEnabled.
weatherAlertsEnabled | The field value to set. |
void ConnectivityMessage::setWeatherConditionsEnabled | ( | const bool | weatherConditionsEnabled | ) |
Sets the weatherConditionsEnabled
field to weatherConditionsEnabled.
weatherConditionsEnabled | The field value to set. |
void ConnectivityMessage::setWorkoutDownloadEnabled | ( | const bool | workoutDownloadEnabled | ) |
Sets the workoutDownloadEnabled
field to workoutDownloadEnabled.
workoutDownloadEnabled | The field value to set. |
bool ConnectivityMessage::weatherAlertsEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's weatherAlertsEnabled
field's current value.
weatherAlertsEnabled
field value. bool ConnectivityMessage::weatherConditionsEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's weatherConditionsEnabled
field's current value.
weatherConditionsEnabled
field value. bool ConnectivityMessage::workoutDownloadEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's workoutDownloadEnabled
field's current value.
workoutDownloadEnabled
field value.