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

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

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

Public Member Functions

 ThreeDSensorCalibrationMessage ()
 Constructs a ThreeDSensorCalibrationMessage object. More...
 
DateTime timestamp () const
 Returns the ThreeDSensorCalibrationMessage data message's timestamp field's current value. More...
 
SensorType sensorType () const
 Returns the ThreeDSensorCalibrationMessage data message's sensorType field's current value. More...
 
quint32 calibrationFactor () const
 Returns the ThreeDSensorCalibrationMessage data message's calibrationFactor field's current value. More...
 
quint32 calibrationDivisor () const
 Returns the ThreeDSensorCalibrationMessage data message's calibrationDivisor field's current value. More...
 
quint32 levelShift () const
 Returns the ThreeDSensorCalibrationMessage data message's levelShift field's current value. More...
 
qint32 offsetCal () const
 Returns the ThreeDSensorCalibrationMessage data message's offsetCal field's current value. More...
 
qint32 orientationMatrix () const
 Returns the ThreeDSensorCalibrationMessage data message's orientationMatrix field's current value. More...
 
void setTimestamp (const DateTime timestamp)
 Sets the timestamp field to timestamp. More...
 
void setSensorType (const SensorType sensorType)
 Sets the sensorType field to sensorType. More...
 
void setCalibrationFactor (const quint32 calibrationFactor)
 Sets the calibrationFactor field to calibrationFactor. More...
 
void setCalibrationDivisor (const quint32 calibrationDivisor)
 Sets the calibrationDivisor field to calibrationDivisor. More...
 
void setLevelShift (const quint32 levelShift)
 Sets the levelShift field to levelShift. More...
 
void setOffsetCal (const qint32 offsetCal)
 Sets the offsetCal field to offsetCal. More...
 
void setOrientationMatrix (const qint32 orientationMatrix)
 Sets the orientationMatrix field to orientationMatrix. 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 ThreeDSensorCalibrationMessage class represents a FIT ThreeDSensorCalibrationMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ ThreeDSensorCalibrationMessage()

ThreeDSensorCalibrationMessage::ThreeDSensorCalibrationMessage ( )

Constructs a ThreeDSensorCalibrationMessage 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

◆ calibrationDivisor()

quint32 ThreeDSensorCalibrationMessage::calibrationDivisor ( ) const

Returns the ThreeDSensorCalibrationMessage data message's calibrationDivisor field's current value.

Calibration factor divisor

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

◆ calibrationFactor()

quint32 ThreeDSensorCalibrationMessage::calibrationFactor ( ) const

Returns the ThreeDSensorCalibrationMessage data message's calibrationFactor field's current value.

Calibration factor used to convert from raw ADC value to degrees, g, etc.

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

◆ levelShift()

quint32 ThreeDSensorCalibrationMessage::levelShift ( ) const

Returns the ThreeDSensorCalibrationMessage data message's levelShift field's current value.

Level shift value used to shift the ADC value back into range

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

◆ offsetCal()

qint32 ThreeDSensorCalibrationMessage::offsetCal ( ) const

Returns the ThreeDSensorCalibrationMessage data message's offsetCal field's current value.

Internal calibration factors, one for each: xy, yx, zx

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

◆ orientationMatrix()

qint32 ThreeDSensorCalibrationMessage::orientationMatrix ( ) const

Returns the ThreeDSensorCalibrationMessage data message's orientationMatrix field's current value.

3 x 3 rotation matrix (row major)

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

◆ sensorType()

SensorType ThreeDSensorCalibrationMessage::sensorType ( ) const

Returns the ThreeDSensorCalibrationMessage data message's sensorType field's current value.

Indicates which sensor the calibration is for

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

◆ setCalibrationDivisor()

void ThreeDSensorCalibrationMessage::setCalibrationDivisor ( const quint32  calibrationDivisor)

Sets the calibrationDivisor field to calibrationDivisor.

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

◆ setCalibrationFactor()

void ThreeDSensorCalibrationMessage::setCalibrationFactor ( const quint32  calibrationFactor)

Sets the calibrationFactor field to calibrationFactor.

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

◆ setLevelShift()

void ThreeDSensorCalibrationMessage::setLevelShift ( const quint32  levelShift)

Sets the levelShift field to levelShift.

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

◆ setOffsetCal()

void ThreeDSensorCalibrationMessage::setOffsetCal ( const qint32  offsetCal)

Sets the offsetCal field to offsetCal.

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

◆ setOrientationMatrix()

void ThreeDSensorCalibrationMessage::setOrientationMatrix ( const qint32  orientationMatrix)

Sets the orientationMatrix field to orientationMatrix.

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

◆ setSensorType()

void ThreeDSensorCalibrationMessage::setSensorType ( const SensorType  sensorType)

Sets the sensorType field to sensorType.

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

◆ setTimestamp()

void ThreeDSensorCalibrationMessage::setTimestamp ( const DateTime  timestamp)

Sets the timestamp field to timestamp.

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

◆ timestamp()

DateTime ThreeDSensorCalibrationMessage::timestamp ( ) const

Returns the ThreeDSensorCalibrationMessage data message's timestamp field's current value.

Whole second part of the timestamp

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

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