QtFit  0.1
Native Qt library for Garmin FIT format
All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
ConnectivityMessage Class Reference

The ConnectivityMessage class represents a FIT ConnectivityMessage data message. More...

Inheritance diagram for ConnectivityMessage:
[legend]
Collaboration diagram for ConnectivityMessage:
[legend]

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...
 

Additional Inherited Members

- Static Public Member Functions inherited from AbstractDataMessage
static AbstractDataMessagefromData (const DataDefinition *const defn, const QByteArray &record)
 Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More...
 

Detailed Description

The ConnectivityMessage class represents a FIT ConnectivityMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ ConnectivityMessage()

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.

Member Function Documentation

◆ antEnabled()

bool ConnectivityMessage::antEnabled ( ) const

Returns the ConnectivityMessage data message's antEnabled field's current value.

Use ANT for connectivity features

Returns
the antEnabled field value.
Here is the caller graph for this function:

◆ autoActivityUploadEnabled()

bool ConnectivityMessage::autoActivityUploadEnabled ( ) const

Returns the ConnectivityMessage data message's autoActivityUploadEnabled field's current value.

Returns
the autoActivityUploadEnabled field value.
Here is the caller graph for this function:

◆ bluetoothEnabled()

bool ConnectivityMessage::bluetoothEnabled ( ) const

Returns the ConnectivityMessage data message's bluetoothEnabled field's current value.

Use Bluetooth for connectivity features

Returns
the bluetoothEnabled field value.
Here is the caller graph for this function:

◆ bluetoothLeEnabled()

bool ConnectivityMessage::bluetoothLeEnabled ( ) const

Returns the ConnectivityMessage data message's bluetoothLeEnabled field's current value.

Use Bluetooth Low Energy for connectivity features

Returns
the bluetoothLeEnabled field value.
Here is the caller graph for this function:

◆ courseDownloadEnabled()

bool ConnectivityMessage::courseDownloadEnabled ( ) const

Returns the ConnectivityMessage data message's courseDownloadEnabled field's current value.

Returns
the courseDownloadEnabled field value.
Here is the caller graph for this function:

◆ gpsEphemerisDownloadEnabled()

bool ConnectivityMessage::gpsEphemerisDownloadEnabled ( ) const

Returns the ConnectivityMessage data message's gpsEphemerisDownloadEnabled field's current value.

Returns
the gpsEphemerisDownloadEnabled field value.
Here is the caller graph for this function:

◆ grouptrackEnabled()

bool ConnectivityMessage::grouptrackEnabled ( ) const

Returns the ConnectivityMessage data message's grouptrackEnabled field's current value.

Returns
the grouptrackEnabled field value.
Here is the caller graph for this function:

◆ incidentDetectionEnabled()

bool ConnectivityMessage::incidentDetectionEnabled ( ) const

Returns the ConnectivityMessage data message's incidentDetectionEnabled field's current value.

Returns
the incidentDetectionEnabled field value.
Here is the caller graph for this function:

◆ liveTrackingEnabled()

bool ConnectivityMessage::liveTrackingEnabled ( ) const

Returns the ConnectivityMessage data message's liveTrackingEnabled field's current value.

Returns
the liveTrackingEnabled field value.
Here is the caller graph for this function:

◆ name()

QString ConnectivityMessage::name ( ) const

Returns the ConnectivityMessage data message's name field's current value.

Returns
the name field value.
Here is the caller graph for this function:

◆ setAntEnabled()

void ConnectivityMessage::setAntEnabled ( const bool  antEnabled)

Sets the antEnabled field to antEnabled.

Parameters
antEnabledThe field value to set.
Here is the call graph for this function:

◆ setAutoActivityUploadEnabled()

void ConnectivityMessage::setAutoActivityUploadEnabled ( const bool  autoActivityUploadEnabled)

Sets the autoActivityUploadEnabled field to autoActivityUploadEnabled.

Parameters
autoActivityUploadEnabledThe field value to set.
Here is the call graph for this function:

◆ setBluetoothEnabled()

void ConnectivityMessage::setBluetoothEnabled ( const bool  bluetoothEnabled)

Sets the bluetoothEnabled field to bluetoothEnabled.

Parameters
bluetoothEnabledThe field value to set.
Here is the call graph for this function:

◆ setBluetoothLeEnabled()

void ConnectivityMessage::setBluetoothLeEnabled ( const bool  bluetoothLeEnabled)

Sets the bluetoothLeEnabled field to bluetoothLeEnabled.

Parameters
bluetoothLeEnabledThe field value to set.
Here is the call graph for this function:

◆ setCourseDownloadEnabled()

void ConnectivityMessage::setCourseDownloadEnabled ( const bool  courseDownloadEnabled)

Sets the courseDownloadEnabled field to courseDownloadEnabled.

Parameters
courseDownloadEnabledThe field value to set.
Here is the call graph for this function:

◆ setGpsEphemerisDownloadEnabled()

void ConnectivityMessage::setGpsEphemerisDownloadEnabled ( const bool  gpsEphemerisDownloadEnabled)

Sets the gpsEphemerisDownloadEnabled field to gpsEphemerisDownloadEnabled.

Parameters
gpsEphemerisDownloadEnabledThe field value to set.
Here is the call graph for this function:

◆ setGrouptrackEnabled()

void ConnectivityMessage::setGrouptrackEnabled ( const bool  grouptrackEnabled)

Sets the grouptrackEnabled field to grouptrackEnabled.

Parameters
grouptrackEnabledThe field value to set.
Here is the call graph for this function:

◆ setIncidentDetectionEnabled()

void ConnectivityMessage::setIncidentDetectionEnabled ( const bool  incidentDetectionEnabled)

Sets the incidentDetectionEnabled field to incidentDetectionEnabled.

Parameters
incidentDetectionEnabledThe field value to set.
Here is the call graph for this function:

◆ setLiveTrackingEnabled()

void ConnectivityMessage::setLiveTrackingEnabled ( const bool  liveTrackingEnabled)

Sets the liveTrackingEnabled field to liveTrackingEnabled.

Parameters
liveTrackingEnabledThe field value to set.
Here is the call graph for this function:

◆ setName()

void ConnectivityMessage::setName ( const QString  name)

Sets the name field to name.

Parameters
nameThe field value to set.
Here is the call graph for this function:

◆ setWeatherAlertsEnabled()

void ConnectivityMessage::setWeatherAlertsEnabled ( const bool  weatherAlertsEnabled)

Sets the weatherAlertsEnabled field to weatherAlertsEnabled.

Parameters
weatherAlertsEnabledThe field value to set.
Here is the call graph for this function:

◆ setWeatherConditionsEnabled()

void ConnectivityMessage::setWeatherConditionsEnabled ( const bool  weatherConditionsEnabled)

Sets the weatherConditionsEnabled field to weatherConditionsEnabled.

Parameters
weatherConditionsEnabledThe field value to set.
Here is the call graph for this function:

◆ setWorkoutDownloadEnabled()

void ConnectivityMessage::setWorkoutDownloadEnabled ( const bool  workoutDownloadEnabled)

Sets the workoutDownloadEnabled field to workoutDownloadEnabled.

Parameters
workoutDownloadEnabledThe field value to set.
Here is the call graph for this function:

◆ weatherAlertsEnabled()

bool ConnectivityMessage::weatherAlertsEnabled ( ) const

Returns the ConnectivityMessage data message's weatherAlertsEnabled field's current value.

Returns
the weatherAlertsEnabled field value.
Here is the caller graph for this function:

◆ weatherConditionsEnabled()

bool ConnectivityMessage::weatherConditionsEnabled ( ) const

Returns the ConnectivityMessage data message's weatherConditionsEnabled field's current value.

Returns
the weatherConditionsEnabled field value.
Here is the caller graph for this function:

◆ workoutDownloadEnabled()

bool ConnectivityMessage::workoutDownloadEnabled ( ) const

Returns the ConnectivityMessage data message's workoutDownloadEnabled field's current value.

Returns
the workoutDownloadEnabled field value.
Here is the caller graph for this function:

The documentation for this class was generated from the following files: