Loading...
Searching...
No Matches
AisCompRange.h
1#ifndef SQUIDSTATLIBRARY_AISCOMPRANGE_H
2#define SQUIDSTATLIBRARY_AISCOMPRANGE_H
3
4#include "AisSquidstatGlobal.h"
5#include <QString>
6#include <memory>
7
8class AisCompRangePrivate;
9
17class SQUIDSTATLIBRARY_EXPORT AisCompRange final {
18public:
27 explicit AisCompRange(const QString& compRangeName, uint8_t bandwidthIndex, uint8_t stabilityFactor);
28
33
34
40 uint8_t getBandwidthIndex() const;
41
49 void setBandwidthIndex(uint8_t index);
50
55 uint8_t getStabilityFactor() const;
56
64 void setStabilityFactor(uint8_t factor);
65
70 void setCompRangeName(const QString& compRangeName);
71
76 const QString& getCompRangeName() const;
77
78private:
79 std::shared_ptr<AisCompRangePrivate> m_data;
80};
81
82#endif
This class has advanced options controlling the device stability including the bandwidth index and th...
Definition AisCompRange.h:17
uint8_t getBandwidthIndex() const
get the value set for the bandwidth index.
void setCompRangeName(const QString &compRangeName)
set a name for the compensation range for reference purposes.
AisCompRange(const AisCompRange &)
copy constructor for the compensation-range object.
void setBandwidthIndex(uint8_t index)
set the index value for the bandwidth.
AisCompRange(const QString &compRangeName, uint8_t bandwidthIndex, uint8_t stabilityFactor)
constructor for the compensation-range object.
void setStabilityFactor(uint8_t factor)
set a value for the stability factor.
uint8_t getStabilityFactor() const
get the value set for the stability factor.
const QString & getCompRangeName() const
get the name set for the compensation range.