QtFit  0.1
Internal library development documentation
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
workoutstepmessage_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 WorkoutStepMessagePrivate class.
28  */
29 #ifndef QTFIT_WORKOUTSTEPMESSAGE_P_H
30 #define QTFIT_WORKOUTSTEPMESSAGE_P_H
31 
32 #include "abstractdatamessage_p.h"
33 
35 
36 class WorkoutStepMessage;
37 
39 
40 public:
41  /*!
42  * The WorkoutStepMessage FIT message's messageIndex field.
43  */
45 
46  /*!
47  * The WorkoutStepMessage FIT message's wktStepName field.
48  */
49  QString wktStepName;
50 
51  /*!
52  * The WorkoutStepMessage FIT message's durationType field.
53  */
55 
56  /*!
57  * The WorkoutStepMessage FIT message's durationValue field.
58  */
59  quint32 durationValue;
60 
61  /*!
62  * The WorkoutStepMessage FIT message's targetType field.
63  */
65 
66  /*!
67  * The WorkoutStepMessage FIT message's targetValue field.
68  */
69  quint32 targetValue;
70 
71  /*!
72  * The WorkoutStepMessage FIT message's customTargetValueLow field.
73  */
75 
76  /*!
77  * The WorkoutStepMessage FIT message's customTargetValueHigh field.
78  */
80 
81  /*!
82  * The WorkoutStepMessage FIT message's intensity field.
83  */
85 
86  /*!
87  * The WorkoutStepMessage FIT message's notes field.
88  */
89  QString notes;
90 
91  /*!
92  * The WorkoutStepMessage FIT message's equipment field.
93  */
95 
96  /*!
97  * The WorkoutStepMessage FIT message's exerciseCategory field.
98  */
100 
101  /*!
102  * The WorkoutStepMessage FIT message's exerciseName field.
103  */
104  quint16 exerciseName;
105 
106  /*!
107  * The WorkoutStepMessage FIT message's exerciseWeight field.
108  */
109  quint16 exerciseWeight;
110 
111  /*!
112  * The WorkoutStepMessage FIT message's weightDisplayUnit field.
113  */
115 
116  WorkoutStepMessagePrivate() = delete;
117  explicit WorkoutStepMessagePrivate(WorkoutStepMessage * const q);
118  virtual ~WorkoutStepMessagePrivate();
119 
120 protected:
121  bool setField(const int fieldId, const QByteArray &data,
122  const FitBaseType baseType, const bool bigEndian) override;
123 
124 private:
125  Q_DECLARE_PUBLIC(WorkoutStepMessage)
126  Q_DISABLE_COPY(WorkoutStepMessagePrivate)
127 
128 };
129 
131 
132 #endif // QTFIT_WORKOUTSTEPMESSAGE_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.
quint16 exerciseName
The WorkoutStepMessage FIT message's exerciseName field.
bool setField(const int fieldId, const QByteArray &data, const FitBaseType baseType, const bool bigEndian) override
quint32 customTargetValueLow
The WorkoutStepMessage FIT message's customTargetValueLow field.
ExerciseCategory exerciseCategory
The WorkoutStepMessage FIT message's exerciseCategory field.
MessageIndex messageIndex
The WorkoutStepMessage FIT message's messageIndex field.
quint16 exerciseWeight
The WorkoutStepMessage FIT message's exerciseWeight field.
quint32 targetValue
The WorkoutStepMessage FIT message's targetValue field.
Intensity intensity
The WorkoutStepMessage FIT message's intensity field.
QString wktStepName
The WorkoutStepMessage FIT message's wktStepName field.
WorkoutEquipment equipment
The WorkoutStepMessage FIT message's equipment field.
FitBaseUnit weightDisplayUnit
The WorkoutStepMessage FIT message's weightDisplayUnit field.
quint32 durationValue
The WorkoutStepMessage FIT message's durationValue field.
WktStepTarget targetType
The WorkoutStepMessage FIT message's targetType field.
QString notes
The WorkoutStepMessage FIT message's notes field.
quint32 customTargetValueHigh
The WorkoutStepMessage FIT message's customTargetValueHigh field.
WktStepDuration durationType
The WorkoutStepMessage FIT message's durationType field.
The WorkoutStepMessage class represents a FIT WorkoutStepMessage data message.
Intensity
Garmin FIT Intensity type.
Definition: types.h:994
WorkoutEquipment
Garmin FIT WorkoutEquipment type.
Definition: types.h:2835
FitBaseType
Garmin FIT FitBaseType type.
Definition: types.h:3388
ExerciseCategory
Garmin FIT ExerciseCategory type.
Definition: types.h:3510
FitBaseUnit
Garmin FIT FitBaseUnit type.
Definition: types.h:3481
MessageIndex
Garmin FIT MessageIndex type.
Definition: types.h:263
WktStepTarget
Garmin FIT WktStepTarget type.
Definition: types.h:1354
WktStepDuration
Garmin FIT WktStepDuration type.
Definition: types.h:1311