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

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

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

Public Member Functions

 OhrSettingsMessage ()
 Constructs a OhrSettingsMessage object. More...
 
DateTime timestamp () const
 Returns the OhrSettingsMessage data message's timestamp field's current value. More...
 
Switch enabled () const
 Returns the OhrSettingsMessage data message's enabled field's current value. More...
 
void setTimestamp (const DateTime timestamp)
 Sets the timestamp field to timestamp. More...
 
void setEnabled (const Switch enabled)
 Sets the enabled field to enabled. 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 OhrSettingsMessage class represents a FIT OhrSettingsMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ OhrSettingsMessage()

OhrSettingsMessage::OhrSettingsMessage ( )

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

◆ enabled()

Switch OhrSettingsMessage::enabled ( ) const

Returns the OhrSettingsMessage data message's enabled field's current value.

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

◆ setEnabled()

void OhrSettingsMessage::setEnabled ( const Switch  enabled)

Sets the enabled field to enabled.

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

◆ setTimestamp()

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

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