QtFit  0.1
Internal library development documentation
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
divesummarymessage.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 DiveSummaryMessage class.
28  */
29 
30 #ifndef QTFIT_DIVESUMMARYMESSAGE_H
31 #define QTFIT_DIVESUMMARYMESSAGE_H
32 
33 #include "abstractdatamessage.h"
34 
36 
38 
40 
41 public:
44 
45  DateTime timestamp() const;
46  MesgNum referenceMesg() const;
47  MessageIndex referenceIndex() const;
48  quint32 avgDepth() const;
49  quint32 maxDepth() const;
50  quint32 surfaceInterval() const;
51  quint8 startCns() const;
52  quint8 endCns() const;
53  quint16 startN2() const;
54  quint16 endN2() const;
55  quint16 o2Toxicity() const;
56  quint32 diveNumber() const;
57  quint32 bottomTime() const;
58  qint32 avgAscentRate() const;
59  quint32 avgDescentRate() const;
60  quint32 maxAscentRate() const;
61  quint32 maxDescentRate() const;
62  quint32 hangTime() const;
63 
64  void setTimestamp(const DateTime timestamp);
65  void setReferenceMesg(const MesgNum referenceMesg);
66  void setReferenceIndex(const MessageIndex referenceIndex);
67  void setAvgDepth(const quint32 avgDepth);
68  void setMaxDepth(const quint32 maxDepth);
69  void setSurfaceInterval(const quint32 surfaceInterval);
70  void setStartCns(const quint8 startCns);
71  void setEndCns(const quint8 endCns);
72  void setStartN2(const quint16 startN2);
73  void setEndN2(const quint16 endN2);
74  void setO2Toxicity(const quint16 o2Toxicity);
75  void setDiveNumber(const quint32 diveNumber);
76  void setBottomTime(const quint32 bottomTime);
77  void setAvgAscentRate(const qint32 avgAscentRate);
78  void setAvgDescentRate(const quint32 avgDescentRate);
79  void setMaxAscentRate(const quint32 maxAscentRate);
80  void setMaxDescentRate(const quint32 maxDescentRate);
81  void setHangTime(const quint32 hangTime);
82 
83 protected:
84  /// \cond internal
86  /// \endcond
87 
88 private:
89  Q_DECLARE_PRIVATE(DiveSummaryMessage)
90  //Q_DISABLE_COPY(DiveSummaryMessage)
91 
92 };
93 
95 
96 #endif // QTFIT_DIVESUMMARYMESSAGE_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 DiveSummaryMessage class represents a FIT DiveSummaryMessage data message.
MesgNum
Garmin FIT MesgNum type.
Definition: types.h:91
MessageIndex
Garmin FIT MessageIndex type.
Definition: types.h:263
DateTime
Seconds since UTC 00:00 Dec 31 1989.
Definition: types.h:237