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

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

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

Public Member Functions

 AntChannelIdMessage ()
 Constructs a AntChannelIdMessage object. More...
 
quint8 channelNumber () const
 Returns the AntChannelIdMessage data message's channelNumber field's current value. More...
 
quint8z deviceType () const
 Returns the AntChannelIdMessage data message's deviceType field's current value. More...
 
quint16z deviceNumber () const
 Returns the AntChannelIdMessage data message's deviceNumber field's current value. More...
 
quint8z transmissionType () const
 Returns the AntChannelIdMessage data message's transmissionType field's current value. More...
 
DeviceIndex deviceIndex () const
 Returns the AntChannelIdMessage data message's deviceIndex field's current value. More...
 
void setChannelNumber (const quint8 channelNumber)
 Sets the channelNumber field to channelNumber. More...
 
void setDeviceType (const quint8z deviceType)
 Sets the deviceType field to deviceType. More...
 
void setDeviceNumber (const quint16z deviceNumber)
 Sets the deviceNumber field to deviceNumber. More...
 
void setTransmissionType (const quint8z transmissionType)
 Sets the transmissionType field to transmissionType. More...
 
void setDeviceIndex (const DeviceIndex deviceIndex)
 Sets the deviceIndex field to deviceIndex. 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 AntChannelIdMessage class represents a FIT AntChannelIdMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ AntChannelIdMessage()

AntChannelIdMessage::AntChannelIdMessage ( )

Constructs a AntChannelIdMessage 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 AntChannelIdMessage::channelNumber ( ) const

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

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

◆ deviceIndex()

DeviceIndex AntChannelIdMessage::deviceIndex ( ) const

Returns the AntChannelIdMessage data message's deviceIndex field's current value.

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

◆ deviceNumber()

quint16z AntChannelIdMessage::deviceNumber ( ) const

Returns the AntChannelIdMessage data message's deviceNumber field's current value.

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

◆ deviceType()

quint8z AntChannelIdMessage::deviceType ( ) const

Returns the AntChannelIdMessage data message's deviceType field's current value.

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

◆ setChannelNumber()

void AntChannelIdMessage::setChannelNumber ( const quint8  channelNumber)

Sets the channelNumber field to channelNumber.

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

◆ setDeviceIndex()

void AntChannelIdMessage::setDeviceIndex ( const DeviceIndex  deviceIndex)

Sets the deviceIndex field to deviceIndex.

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

◆ setDeviceNumber()

void AntChannelIdMessage::setDeviceNumber ( const quint16z  deviceNumber)

Sets the deviceNumber field to deviceNumber.

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

◆ setDeviceType()

void AntChannelIdMessage::setDeviceType ( const quint8z  deviceType)

Sets the deviceType field to deviceType.

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

◆ setTransmissionType()

void AntChannelIdMessage::setTransmissionType ( const quint8z  transmissionType)

Sets the transmissionType field to transmissionType.

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

◆ transmissionType()

quint8z AntChannelIdMessage::transmissionType ( ) const

Returns the AntChannelIdMessage data message's transmissionType field's current value.

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

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