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

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

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

Public Member Functions

 HrMessage ()
 Constructs a HrMessage object. More...
 
DateTime timestamp () const
 Returns the HrMessage data message's timestamp field's current value. More...
 
quint16 fractionalTimestamp () const
 Returns the HrMessage data message's fractionalTimestamp field's current value. More...
 
quint8 time256 () const
 Returns the HrMessage data message's time256 field's current value. More...
 
quint8 filteredBpm () const
 Returns the HrMessage data message's filteredBpm field's current value. More...
 
quint32 eventTimestamp () const
 Returns the HrMessage data message's eventTimestamp field's current value. More...
 
quint8 eventTimestamp12 () const
 Returns the HrMessage data message's eventTimestamp12 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 setTime256 (const quint8 time256)
 Sets the time256 field to time256. More...
 
void setFilteredBpm (const quint8 filteredBpm)
 Sets the filteredBpm field to filteredBpm. More...
 
void setEventTimestamp (const quint32 eventTimestamp)
 Sets the eventTimestamp field to eventTimestamp. More...
 
void setEventTimestamp12 (const quint8 eventTimestamp12)
 Sets the eventTimestamp12 field to eventTimestamp12. 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 HrMessage class represents a FIT HrMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ HrMessage()

HrMessage::HrMessage ( )

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

◆ eventTimestamp()

quint32 HrMessage::eventTimestamp ( ) const

Returns the HrMessage data message's eventTimestamp field's current value.

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

◆ eventTimestamp12()

quint8 HrMessage::eventTimestamp12 ( ) const

Returns the HrMessage data message's eventTimestamp12 field's current value.

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

◆ filteredBpm()

quint8 HrMessage::filteredBpm ( ) const

Returns the HrMessage data message's filteredBpm field's current value.

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

◆ fractionalTimestamp()

quint16 HrMessage::fractionalTimestamp ( ) const

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

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

◆ setEventTimestamp()

void HrMessage::setEventTimestamp ( const quint32  eventTimestamp)

Sets the eventTimestamp field to eventTimestamp.

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

◆ setEventTimestamp12()

void HrMessage::setEventTimestamp12 ( const quint8  eventTimestamp12)

Sets the eventTimestamp12 field to eventTimestamp12.

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

◆ setFilteredBpm()

void HrMessage::setFilteredBpm ( const quint8  filteredBpm)

Sets the filteredBpm field to filteredBpm.

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

◆ setFractionalTimestamp()

void HrMessage::setFractionalTimestamp ( const quint16  fractionalTimestamp)

Sets the fractionalTimestamp field to fractionalTimestamp.

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

◆ setTime256()

void HrMessage::setTime256 ( const quint8  time256)

Sets the time256 field to time256.

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

◆ setTimestamp()

void HrMessage::setTimestamp ( const DateTime  timestamp)

Sets the timestamp field to timestamp.

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

◆ time256()

quint8 HrMessage::time256 ( ) const

Returns the HrMessage data message's time256 field's current value.

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

◆ timestamp()

DateTime HrMessage::timestamp ( ) const

Returns the HrMessage 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: