QtFit  0.1
Internal library development documentation
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
userprofilemessage.h
Go to the documentation of this file.
1 /*
2  Copyright 2021 Paul Colby
3 
4  This file is part of QtFit.
5 
6  QtFit is free software: you can redistribute it and/or modify
7  it under the terms of the GNU Lesser General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  QtFit is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public License
17  along with QtFit. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 /*!
21  * \file
22  * \note This file is automatcially generated. Any changes here are likely to be overwritten.
23  */
24 
25 /*!
26  * \file
27  * Declares the UserProfileMessage class.
28  */
29 
30 #ifndef QTFIT_USERPROFILEMESSAGE_H
31 #define QTFIT_USERPROFILEMESSAGE_H
32 
33 #include "abstractdatamessage.h"
34 
36 
38 
40 
41 public:
44 
45  MessageIndex messageIndex() const;
46  QString friendlyName() const;
47  Gender gender() const;
48  quint8 age() const;
49  quint8 height() const;
50  quint16 weight() const;
51  Language language() const;
52  DisplayMeasure elevSetting() const;
53  DisplayMeasure weightSetting() const;
54  quint8 restingHeartRate() const;
55  quint8 defaultMaxRunningHeartRate() const;
56  quint8 defaultMaxBikingHeartRate() const;
57  quint8 defaultMaxHeartRate() const;
58  DisplayHeart hrSetting() const;
59  DisplayMeasure speedSetting() const;
60  DisplayMeasure distSetting() const;
61  DisplayPower powerSetting() const;
62  ActivityClass activityClass() const;
63  DisplayPosition positionSetting() const;
64  DisplayMeasure temperatureSetting() const;
65  UserLocalId localId() const;
66  quint8 globalId() const;
67  LocaltimeIntoDay wakeTime() const;
68  LocaltimeIntoDay sleepTime() const;
69  DisplayMeasure heightSetting() const;
70  quint16 userRunningStepLength() const;
71  quint16 userWalkingStepLength() const;
72  DisplayMeasure depthSetting() const;
73  quint32 diveCount() const;
74 
75  void setMessageIndex(const MessageIndex messageIndex);
76  void setFriendlyName(const QString friendlyName);
77  void setGender(const Gender gender);
78  void setAge(const quint8 age);
79  void setHeight(const quint8 height);
80  void setWeight(const quint16 weight);
81  void setLanguage(const Language language);
82  void setElevSetting(const DisplayMeasure elevSetting);
83  void setWeightSetting(const DisplayMeasure weightSetting);
84  void setRestingHeartRate(const quint8 restingHeartRate);
85  void setDefaultMaxRunningHeartRate(const quint8 defaultMaxRunningHeartRate);
86  void setDefaultMaxBikingHeartRate(const quint8 defaultMaxBikingHeartRate);
87  void setDefaultMaxHeartRate(const quint8 defaultMaxHeartRate);
88  void setHrSetting(const DisplayHeart hrSetting);
89  void setSpeedSetting(const DisplayMeasure speedSetting);
90  void setDistSetting(const DisplayMeasure distSetting);
91  void setPowerSetting(const DisplayPower powerSetting);
92  void setActivityClass(const ActivityClass activityClass);
93  void setPositionSetting(const DisplayPosition positionSetting);
94  void setTemperatureSetting(const DisplayMeasure temperatureSetting);
95  void setLocalId(const UserLocalId localId);
96  void setGlobalId(const quint8 globalId);
97  void setWakeTime(const LocaltimeIntoDay wakeTime);
98  void setSleepTime(const LocaltimeIntoDay sleepTime);
99  void setHeightSetting(const DisplayMeasure heightSetting);
100  void setUserRunningStepLength(const quint16 userRunningStepLength);
101  void setUserWalkingStepLength(const quint16 userWalkingStepLength);
102  void setDepthSetting(const DisplayMeasure depthSetting);
103  void setDiveCount(const quint32 diveCount);
104 
105 protected:
106  /// \cond internal
107  explicit UserProfileMessage(UserProfileMessagePrivate * const d);
108  /// \endcond
109 
110 private:
111  Q_DECLARE_PRIVATE(UserProfileMessage)
112  //Q_DISABLE_COPY(UserProfileMessage)
113 
114 };
115 
117 
118 #endif // QTFIT_USERPROFILEMESSAGE_H
#define QTFIT_EXPORT
QtFit library export/import macro.
Definition: QtFit_global.h:42
#define QTFIT_END_NAMESPACE
Macro for ending the QtFit library's top-most namespace (if one is defined).
Definition: QtFit_global.h:78
#define QTFIT_BEGIN_NAMESPACE
Macro for starting the QtFit library's top-most namespace (if one is defined).
Definition: QtFit_global.h:77
Declares the AbstractDataMessage class.
The AbstractDataMessage class is the polymorphic base class for all FIT Data Message classes.
The UserProfileMessage class represents a FIT UserProfileMessage data message.
UserLocalId
Garmin FIT UserLocalId type.
Definition: types.h:2244
DisplayHeart
Garmin FIT DisplayHeart type.
Definition: types.h:587
Language
Garmin FIT Language type.
Definition: types.h:305
Gender
Garmin FIT Gender type.
Definition: types.h:291
ActivityClass
Garmin FIT ActivityClass type.
Definition: types.h:1267
DisplayMeasure
Garmin FIT DisplayMeasure type.
Definition: types.h:572
MessageIndex
Garmin FIT MessageIndex type.
Definition: types.h:263
DisplayPosition
Garmin FIT DisplayPosition type.
Definition: types.h:616
DisplayPower
Garmin FIT DisplayPower type.
Definition: types.h:602
quint32 LocaltimeIntoDay
Number of seconds into the day since local 00:00:00.
Definition: types.h:2642