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

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

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

Public Member Functions

 SoftwareMessage ()
 Constructs a SoftwareMessage object. More...
 
MessageIndex messageIndex () const
 Returns the SoftwareMessage data message's messageIndex field's current value. More...
 
quint16 version () const
 Returns the SoftwareMessage data message's version field's current value. More...
 
QString partNumber () const
 Returns the SoftwareMessage data message's partNumber field's current value. More...
 
void setMessageIndex (const MessageIndex messageIndex)
 Sets the messageIndex field to messageIndex. More...
 
void setVersion (const quint16 version)
 Sets the version field to version. More...
 
void setPartNumber (const QString partNumber)
 Sets the partNumber field to partNumber. 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 SoftwareMessage class represents a FIT SoftwareMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ SoftwareMessage()

SoftwareMessage::SoftwareMessage ( )

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

◆ messageIndex()

MessageIndex SoftwareMessage::messageIndex ( ) const

Returns the SoftwareMessage data message's messageIndex field's current value.

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

◆ partNumber()

QString SoftwareMessage::partNumber ( ) const

Returns the SoftwareMessage data message's partNumber field's current value.

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

◆ setMessageIndex()

void SoftwareMessage::setMessageIndex ( const MessageIndex  messageIndex)

Sets the messageIndex field to messageIndex.

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

◆ setPartNumber()

void SoftwareMessage::setPartNumber ( const QString  partNumber)

Sets the partNumber field to partNumber.

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

◆ setVersion()

void SoftwareMessage::setVersion ( const quint16  version)

Sets the version field to version.

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

◆ version()

quint16 SoftwareMessage::version ( ) const

Returns the SoftwareMessage data message's version field's current value.

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

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