|
QtFit
0.1
Internal library development documentation
|
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... | |
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 | |
| ConnectivityMessage (ConnectivityMessagePrivate *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 ConnectivityMessage class represents a FIT ConnectivityMessage data message.
Definition at line 39 of file connectivitymessage.h.
| 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.
Definition at line 52 of file connectivitymessage.cpp.
|
explicitprotected |
Constructs a ConnectivityMessage object with private implementation d.
| d | Pointer to private implementation. |
Definition at line 64 of file connectivitymessage.cpp.
| bool ConnectivityMessage::antEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's antEnabled field's current value.
Use ANT for connectivity features
antEnabled field value. Definition at line 102 of file connectivitymessage.cpp.
Referenced by setAntEnabled().
| bool ConnectivityMessage::autoActivityUploadEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's autoActivityUploadEnabled field's current value.
autoActivityUploadEnabled field value. Definition at line 157 of file connectivitymessage.cpp.
Referenced by setAutoActivityUploadEnabled().
| bool ConnectivityMessage::bluetoothEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's bluetoothEnabled field's current value.
Use Bluetooth for connectivity features
bluetoothEnabled field value. Definition at line 76 of file connectivitymessage.cpp.
Referenced by setBluetoothEnabled().
| 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. Definition at line 89 of file connectivitymessage.cpp.
Referenced by setBluetoothLeEnabled().
| bool ConnectivityMessage::courseDownloadEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's courseDownloadEnabled field's current value.
courseDownloadEnabled field value. Definition at line 168 of file connectivitymessage.cpp.
Referenced by setCourseDownloadEnabled().
| bool ConnectivityMessage::gpsEphemerisDownloadEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's gpsEphemerisDownloadEnabled field's current value.
gpsEphemerisDownloadEnabled field value. Definition at line 190 of file connectivitymessage.cpp.
Referenced by setGpsEphemerisDownloadEnabled().
| bool ConnectivityMessage::grouptrackEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's grouptrackEnabled field's current value.
grouptrackEnabled field value. Definition at line 212 of file connectivitymessage.cpp.
Referenced by setGrouptrackEnabled().
| bool ConnectivityMessage::incidentDetectionEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's incidentDetectionEnabled field's current value.
incidentDetectionEnabled field value. Definition at line 201 of file connectivitymessage.cpp.
Referenced by setIncidentDetectionEnabled().
| bool ConnectivityMessage::liveTrackingEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's liveTrackingEnabled field's current value.
liveTrackingEnabled field value. Definition at line 124 of file connectivitymessage.cpp.
Referenced by setLiveTrackingEnabled().
| QString ConnectivityMessage::name | ( | ) | const |
Returns the ConnectivityMessage data message's name field's current value.
name field value. Definition at line 113 of file connectivitymessage.cpp.
Referenced by setName().
| void ConnectivityMessage::setAntEnabled | ( | const bool | antEnabled | ) |
Sets the antEnabled field to antEnabled.
| antEnabled | The field value to set. |
Definition at line 243 of file connectivitymessage.cpp.
References antEnabled().
| void ConnectivityMessage::setAutoActivityUploadEnabled | ( | const bool | autoActivityUploadEnabled | ) |
Sets the autoActivityUploadEnabled field to autoActivityUploadEnabled.
| autoActivityUploadEnabled | The field value to set. |
Definition at line 293 of file connectivitymessage.cpp.
References autoActivityUploadEnabled().
| void ConnectivityMessage::setBluetoothEnabled | ( | const bool | bluetoothEnabled | ) |
Sets the bluetoothEnabled field to bluetoothEnabled.
| bluetoothEnabled | The field value to set. |
Definition at line 223 of file connectivitymessage.cpp.
References bluetoothEnabled().
| void ConnectivityMessage::setBluetoothLeEnabled | ( | const bool | bluetoothLeEnabled | ) |
Sets the bluetoothLeEnabled field to bluetoothLeEnabled.
| bluetoothLeEnabled | The field value to set. |
Definition at line 233 of file connectivitymessage.cpp.
References bluetoothLeEnabled().
| void ConnectivityMessage::setCourseDownloadEnabled | ( | const bool | courseDownloadEnabled | ) |
Sets the courseDownloadEnabled field to courseDownloadEnabled.
| courseDownloadEnabled | The field value to set. |
Definition at line 303 of file connectivitymessage.cpp.
References courseDownloadEnabled().
| void ConnectivityMessage::setGpsEphemerisDownloadEnabled | ( | const bool | gpsEphemerisDownloadEnabled | ) |
Sets the gpsEphemerisDownloadEnabled field to gpsEphemerisDownloadEnabled.
| gpsEphemerisDownloadEnabled | The field value to set. |
Definition at line 323 of file connectivitymessage.cpp.
References gpsEphemerisDownloadEnabled().
| void ConnectivityMessage::setGrouptrackEnabled | ( | const bool | grouptrackEnabled | ) |
Sets the grouptrackEnabled field to grouptrackEnabled.
| grouptrackEnabled | The field value to set. |
Definition at line 343 of file connectivitymessage.cpp.
References grouptrackEnabled().
| void ConnectivityMessage::setIncidentDetectionEnabled | ( | const bool | incidentDetectionEnabled | ) |
Sets the incidentDetectionEnabled field to incidentDetectionEnabled.
| incidentDetectionEnabled | The field value to set. |
Definition at line 333 of file connectivitymessage.cpp.
References incidentDetectionEnabled().
| void ConnectivityMessage::setLiveTrackingEnabled | ( | const bool | liveTrackingEnabled | ) |
Sets the liveTrackingEnabled field to liveTrackingEnabled.
| liveTrackingEnabled | The field value to set. |
Definition at line 263 of file connectivitymessage.cpp.
References liveTrackingEnabled().
| void ConnectivityMessage::setName | ( | const QString | name | ) |
Sets the name field to name.
| name | The field value to set. |
Definition at line 253 of file connectivitymessage.cpp.
References name().
| void ConnectivityMessage::setWeatherAlertsEnabled | ( | const bool | weatherAlertsEnabled | ) |
Sets the weatherAlertsEnabled field to weatherAlertsEnabled.
| weatherAlertsEnabled | The field value to set. |
Definition at line 283 of file connectivitymessage.cpp.
References weatherAlertsEnabled().
| void ConnectivityMessage::setWeatherConditionsEnabled | ( | const bool | weatherConditionsEnabled | ) |
Sets the weatherConditionsEnabled field to weatherConditionsEnabled.
| weatherConditionsEnabled | The field value to set. |
Definition at line 273 of file connectivitymessage.cpp.
References weatherConditionsEnabled().
| void ConnectivityMessage::setWorkoutDownloadEnabled | ( | const bool | workoutDownloadEnabled | ) |
Sets the workoutDownloadEnabled field to workoutDownloadEnabled.
| workoutDownloadEnabled | The field value to set. |
Definition at line 313 of file connectivitymessage.cpp.
References workoutDownloadEnabled().
| bool ConnectivityMessage::weatherAlertsEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's weatherAlertsEnabled field's current value.
weatherAlertsEnabled field value. Definition at line 146 of file connectivitymessage.cpp.
Referenced by setWeatherAlertsEnabled().
| bool ConnectivityMessage::weatherConditionsEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's weatherConditionsEnabled field's current value.
weatherConditionsEnabled field value. Definition at line 135 of file connectivitymessage.cpp.
Referenced by setWeatherConditionsEnabled().
| bool ConnectivityMessage::workoutDownloadEnabled | ( | ) | const |
Returns the ConnectivityMessage data message's workoutDownloadEnabled field's current value.
workoutDownloadEnabled field value. Definition at line 179 of file connectivitymessage.cpp.
Referenced by setWorkoutDownloadEnabled().