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

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

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

Public Member Functions

 AntRxMessage ()
 Constructs a AntRxMessage object. More...
 
DateTime timestamp () const
 Returns the AntRxMessage data message's timestamp field's current value. More...
 
quint16 fractionalTimestamp () const
 Returns the AntRxMessage data message's fractionalTimestamp field's current value. More...
 
quint8 mesgId () const
 Returns the AntRxMessage data message's mesgId field's current value. More...
 
quint8 mesgData () const
 Returns the AntRxMessage data message's mesgData field's current value. More...
 
quint8 channelNumber () const
 Returns the AntRxMessage data message's channelNumber field's current value. More...
 
quint8 data () const
 Returns the AntRxMessage data message's data field's current value. More...
 
void setTimestamp (const DateTime timestamp)
 Sets the timestamp field to timestamp. More...
 
void setFractionalTimestamp (const quint16 fractionalTimestamp)
 Sets the fractionalTimestamp field to fractionalTimestamp. More...
 
void setMesgId (const quint8 mesgId)
 Sets the mesgId field to mesgId. More...
 
void setMesgData (const quint8 mesgData)
 Sets the mesgData field to mesgData. More...
 
void setChannelNumber (const quint8 channelNumber)
 Sets the channelNumber field to channelNumber. More...
 
void setData (const quint8 data)
 Sets the data field to data. 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 AntRxMessage class represents a FIT AntRxMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ AntRxMessage()

AntRxMessage::AntRxMessage ( )

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

◆ channelNumber()

quint8 AntRxMessage::channelNumber ( ) const

Returns the AntRxMessage data message's channelNumber field's current value.

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

◆ data()

quint8 AntRxMessage::data ( ) const

Returns the AntRxMessage data message's data field's current value.

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

◆ fractionalTimestamp()

quint16 AntRxMessage::fractionalTimestamp ( ) const

Returns the AntRxMessage data message's fractionalTimestamp field's current value.

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

◆ mesgData()

quint8 AntRxMessage::mesgData ( ) const

Returns the AntRxMessage data message's mesgData field's current value.

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

◆ mesgId()

quint8 AntRxMessage::mesgId ( ) const

Returns the AntRxMessage data message's mesgId field's current value.

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

◆ setChannelNumber()

void AntRxMessage::setChannelNumber ( const quint8  channelNumber)

Sets the channelNumber field to channelNumber.

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

◆ setData()

void AntRxMessage::setData ( const quint8  data)

Sets the data field to data.

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

◆ setFractionalTimestamp()

void AntRxMessage::setFractionalTimestamp ( const quint16  fractionalTimestamp)

Sets the fractionalTimestamp field to fractionalTimestamp.

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

◆ setMesgData()

void AntRxMessage::setMesgData ( const quint8  mesgData)

Sets the mesgData field to mesgData.

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

◆ setMesgId()

void AntRxMessage::setMesgId ( const quint8  mesgId)

Sets the mesgId field to mesgId.

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

◆ setTimestamp()

void AntRxMessage::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 AntRxMessage::timestamp ( ) const

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

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

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