QtFit  0.1
Internal library development documentation
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
bloodpressuremessage_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 BloodPressureMessagePrivate class.
28  */
29 #ifndef QTFIT_BLOODPRESSUREMESSAGE_P_H
30 #define QTFIT_BLOODPRESSUREMESSAGE_P_H
31 
32 #include "abstractdatamessage_p.h"
33 
35 
37 
39 
40 public:
41  /*!
42  * The BloodPressureMessage FIT message's timestamp field.
43  */
45 
46  /*!
47  * The BloodPressureMessage FIT message's systolicPressure field.
48  */
50 
51  /*!
52  * The BloodPressureMessage FIT message's diastolicPressure field.
53  */
55 
56  /*!
57  * The BloodPressureMessage FIT message's meanArterialPressure field.
58  */
60 
61  /*!
62  * The BloodPressureMessage FIT message's map3SampleMean field.
63  */
64  quint16 map3SampleMean;
65 
66  /*!
67  * The BloodPressureMessage FIT message's mapMorningValues field.
68  */
70 
71  /*!
72  * The BloodPressureMessage FIT message's mapEveningValues field.
73  */
75 
76  /*!
77  * The BloodPressureMessage FIT message's heartRate field.
78  */
79  quint8 heartRate;
80 
81  /*!
82  * The BloodPressureMessage FIT message's heartRateType field.
83  */
85 
86  /*!
87  * The BloodPressureMessage FIT message's status field.
88  */
90 
91  /*!
92  * The BloodPressureMessage FIT message's userProfileIndex field.
93  *
94  * Associates this blood pressure message to a user. This corresponds to the index of the user
95  * profile message in the blood pressure file.
96  */
98 
99  BloodPressureMessagePrivate() = delete;
102 
103 protected:
104  bool setField(const int fieldId, const QByteArray &data,
105  const FitBaseType baseType, const bool bigEndian) override;
106 
107 private:
108  Q_DECLARE_PUBLIC(BloodPressureMessage)
109  Q_DISABLE_COPY(BloodPressureMessagePrivate)
110 
111 };
112 
114 
115 #endif // QTFIT_BLOODPRESSUREMESSAGE_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.
DateTime timestamp
The BloodPressureMessage FIT message's timestamp field.
quint16 mapEveningValues
The BloodPressureMessage FIT message's mapEveningValues field.
quint16 meanArterialPressure
The BloodPressureMessage FIT message's meanArterialPressure field.
quint16 map3SampleMean
The BloodPressureMessage FIT message's map3SampleMean field.
bool setField(const int fieldId, const QByteArray &data, const FitBaseType baseType, const bool bigEndian) override
MessageIndex userProfileIndex
The BloodPressureMessage FIT message's userProfileIndex field.
quint16 mapMorningValues
The BloodPressureMessage FIT message's mapMorningValues field.
quint8 heartRate
The BloodPressureMessage FIT message's heartRate field.
BpStatus status
The BloodPressureMessage FIT message's status field.
quint16 diastolicPressure
The BloodPressureMessage FIT message's diastolicPressure field.
quint16 systolicPressure
The BloodPressureMessage FIT message's systolicPressure field.
HrType heartRateType
The BloodPressureMessage FIT message's heartRateType field.
The BloodPressureMessage class represents a FIT BloodPressureMessage data message.
HrType
Garmin FIT HrType type.
Definition: types.h:2151
FitBaseType
Garmin FIT FitBaseType type.
Definition: types.h:3388
MessageIndex
Garmin FIT MessageIndex type.
Definition: types.h:263
BpStatus
Garmin FIT BpStatus type.
Definition: types.h:2227
DateTime
Seconds since UTC 00:00 Dec 31 1989.
Definition: types.h:237