Squidstat API User Manual
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
15class SQUIDSTATLIBRARY_EXPORT AisCompRange final {
16public:
25 explicit AisCompRange(const QString& compRangeName, uint8_t bandwidthIndex, uint8_t stabilityFactor);
26
31
32
38 uint8_t getBandwidthIndex() const;
39
47 void setBandwidthIndex(uint8_t index);
48
53 uint8_t getStabilityFactor() const;
54
62 void setStabilityFactor(uint8_t factor);
63
68 void setCompRangeName(const QString& compRangeName);
69
74 const QString& getCompRangeName() const;
75
76private:
77 std::shared_ptr<AisCompRangePrivate> m_data;
78};
79
80#endif
This class has advanced options controlling the device stability including the bandwidth index and th...
Definition: AisCompRange.h:15
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.