Kstars

cameragainreadnoise.h
1/*
2 SPDX-FileCopyrightText: 2023 Joseph McGee <joseph.mcgee@sbcglobal.net>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#ifndef CAMERAGAINREADNOISE_H
10#define CAMERAGAINREADNOISE_H
11
12#include <QAbstractItemModel>
13QT_BEGIN_NAMESPACE
14namespace OptimalExposure
15{
16
17class CameraGainReadNoise
18{
19
20 public:
21 CameraGainReadNoise() {}
22 CameraGainReadNoise(int gain, double readNoise);
23
24 int getGain();
25 void setGain(int newGain);
26 double getReadNoise();
27 void setReadNoise(double newReadNoise);
28
29 private:
30 int gain = 0;
31 double readNoise = 0.0;
32
33};
34
35
36}
37QT_END_NAMESPACE
38#endif // CAMERAGAINREADNOISE_H
39
40
41
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:11:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.