QtFit  0.1
Internal library development documentation
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
userprofilemessage_p.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 UserProfileMessagePrivate class.
28  */
29 #ifndef QTFIT_USERPROFILEMESSAGE_P_H
30 #define QTFIT_USERPROFILEMESSAGE_P_H
31 
32 #include "abstractdatamessage_p.h"
33 
35 
36 class UserProfileMessage;
37 
39 
40 public:
41  /*!
42  * The UserProfileMessage FIT message's messageIndex field.
43  */
45 
46  /*!
47  * The UserProfileMessage FIT message's friendlyName field.
48  */
49  QString friendlyName;
50 
51  /*!
52  * The UserProfileMessage FIT message's gender field.
53  */
55 
56  /*!
57  * The UserProfileMessage FIT message's age field.
58  */
59  quint8 age;
60 
61  /*!
62  * The UserProfileMessage FIT message's height field.
63  */
64  quint8 height;
65 
66  /*!
67  * The UserProfileMessage FIT message's weight field.
68  */
69  quint16 weight;
70 
71  /*!
72  * The UserProfileMessage FIT message's language field.
73  */
75 
76  /*!
77  * The UserProfileMessage FIT message's elevSetting field.
78  */
80 
81  /*!
82  * The UserProfileMessage FIT message's weightSetting field.
83  */
85 
86  /*!
87  * The UserProfileMessage FIT message's restingHeartRate field.
88  */
90 
91  /*!
92  * The UserProfileMessage FIT message's defaultMaxRunningHeartRate field.
93  */
95 
96  /*!
97  * The UserProfileMessage FIT message's defaultMaxBikingHeartRate field.
98  */
100 
101  /*!
102  * The UserProfileMessage FIT message's defaultMaxHeartRate field.
103  */
105 
106  /*!
107  * The UserProfileMessage FIT message's hrSetting field.
108  */
110 
111  /*!
112  * The UserProfileMessage FIT message's speedSetting field.
113  */
115 
116  /*!
117  * The UserProfileMessage FIT message's distSetting field.
118  */
120 
121  /*!
122  * The UserProfileMessage FIT message's powerSetting field.
123  */
125 
126  /*!
127  * The UserProfileMessage FIT message's activityClass field.
128  */
130 
131  /*!
132  * The UserProfileMessage FIT message's positionSetting field.
133  */
135 
136  /*!
137  * The UserProfileMessage FIT message's temperatureSetting field.
138  */
140 
141  /*!
142  * The UserProfileMessage FIT message's localId field.
143  */
145 
146  /*!
147  * The UserProfileMessage FIT message's globalId field.
148  */
149  quint8 globalId;
150 
151  /*!
152  * The UserProfileMessage FIT message's wakeTime field.
153  *
154  * Typical wake time
155  */
157 
158  /*!
159  * The UserProfileMessage FIT message's sleepTime field.
160  *
161  * Typical bed time
162  */
164 
165  /*!
166  * The UserProfileMessage FIT message's heightSetting field.
167  */
169 
170  /*!
171  * The UserProfileMessage FIT message's userRunningStepLength field.
172  *
173  * User defined running step length set to 0 for auto length
174  */
176 
177  /*!
178  * The UserProfileMessage FIT message's userWalkingStepLength field.
179  *
180  * User defined walking step length set to 0 for auto length
181  */
183 
184  /*!
185  * The UserProfileMessage FIT message's depthSetting field.
186  */
188 
189  /*!
190  * The UserProfileMessage FIT message's diveCount field.
191  */
192  quint32 diveCount;
193 
194  UserProfileMessagePrivate() = delete;
195  explicit UserProfileMessagePrivate(UserProfileMessage * const q);
196  virtual ~UserProfileMessagePrivate();
197 
198 protected:
199  bool setField(const int fieldId, const QByteArray &data,
200  const FitBaseType baseType, const bool bigEndian) override;
201 
202 private:
203  Q_DECLARE_PUBLIC(UserProfileMessage)
204  Q_DISABLE_COPY(UserProfileMessagePrivate)
205 
206 };
207 
209 
210 #endif // QTFIT_USERPROFILEMESSAGE_P_H
#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 AbstractDataMessagePrivate class.
quint8 restingHeartRate
The UserProfileMessage FIT message's restingHeartRate field.
LocaltimeIntoDay sleepTime
The UserProfileMessage FIT message's sleepTime field.
DisplayHeart hrSetting
The UserProfileMessage FIT message's hrSetting field.
quint8 defaultMaxHeartRate
The UserProfileMessage FIT message's defaultMaxHeartRate field.
quint16 userRunningStepLength
The UserProfileMessage FIT message's userRunningStepLength field.
DisplayMeasure distSetting
The UserProfileMessage FIT message's distSetting field.
MessageIndex messageIndex
The UserProfileMessage FIT message's messageIndex field.
DisplayMeasure heightSetting
The UserProfileMessage FIT message's heightSetting field.
LocaltimeIntoDay wakeTime
The UserProfileMessage FIT message's wakeTime field.
quint8 defaultMaxRunningHeartRate
The UserProfileMessage FIT message's defaultMaxRunningHeartRate field.
Language language
The UserProfileMessage FIT message's language field.
DisplayMeasure weightSetting
The UserProfileMessage FIT message's weightSetting field.
quint8 age
The UserProfileMessage FIT message's age field.
quint16 userWalkingStepLength
The UserProfileMessage FIT message's userWalkingStepLength field.
DisplayMeasure temperatureSetting
The UserProfileMessage FIT message's temperatureSetting field.
Gender gender
The UserProfileMessage FIT message's gender field.
DisplayMeasure elevSetting
The UserProfileMessage FIT message's elevSetting field.
quint8 globalId
The UserProfileMessage FIT message's globalId field.
DisplayPower powerSetting
The UserProfileMessage FIT message's powerSetting field.
quint16 weight
The UserProfileMessage FIT message's weight field.
quint8 defaultMaxBikingHeartRate
The UserProfileMessage FIT message's defaultMaxBikingHeartRate field.
DisplayPosition positionSetting
The UserProfileMessage FIT message's positionSetting field.
quint32 diveCount
The UserProfileMessage FIT message's diveCount field.
UserLocalId localId
The UserProfileMessage FIT message's localId field.
bool setField(const int fieldId, const QByteArray &data, const FitBaseType baseType, const bool bigEndian) override
ActivityClass activityClass
The UserProfileMessage FIT message's activityClass field.
quint8 height
The UserProfileMessage FIT message's height field.
DisplayMeasure speedSetting
The UserProfileMessage FIT message's speedSetting field.
QString friendlyName
The UserProfileMessage FIT message's friendlyName field.
DisplayMeasure depthSetting
The UserProfileMessage FIT message's depthSetting field.
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
FitBaseType
Garmin FIT FitBaseType type.
Definition: types.h:3388
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