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

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

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

Public Member Functions

 SlaveDeviceMessage ()
 Constructs a SlaveDeviceMessage object. More...
 
Manufacturer manufacturer () const
 Returns the SlaveDeviceMessage data message's manufacturer field's current value. More...
 
quint16 product () const
 Returns the SlaveDeviceMessage data message's product field's current value. More...
 
void setManufacturer (const Manufacturer manufacturer)
 Sets the manufacturer field to manufacturer. More...
 
void setProduct (const quint16 product)
 Sets the product field to product. 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 SlaveDeviceMessage class represents a FIT SlaveDeviceMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ SlaveDeviceMessage()

SlaveDeviceMessage::SlaveDeviceMessage ( )

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

◆ manufacturer()

Manufacturer SlaveDeviceMessage::manufacturer ( ) const

Returns the SlaveDeviceMessage data message's manufacturer field's current value.

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

◆ product()

quint16 SlaveDeviceMessage::product ( ) const

Returns the SlaveDeviceMessage data message's product field's current value.

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

◆ setManufacturer()

void SlaveDeviceMessage::setManufacturer ( const Manufacturer  manufacturer)

Sets the manufacturer field to manufacturer.

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

◆ setProduct()

void SlaveDeviceMessage::setProduct ( const quint16  product)

Sets the product field to product.

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

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