Kstars

cameragainreadmode.cpp
1/*
2 SPDX-FileCopyrightText: 2023 Joseph McGee <joseph.mcgee@sbcglobal.net>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7
8#include "cameragainreadmode.h"
9#include "cameragainreadnoise.h"
10#include <QAbstractItemModel>
11#include <QVector>
12
13namespace OptimalExposure
14{
15
16
17int CameraGainReadMode::getCameraGainReadModeNumber() const
18{
19 return CameraGainReadModeNumber;
20}
21
22void CameraGainReadMode::setCameraGainReadModeNumber(int newCameraGainReadModeNumber)
23{
24 CameraGainReadModeNumber = newCameraGainReadModeNumber;
25}
26
27const QString &CameraGainReadMode::getCameraGainReadModeName() const
28{
29 return CameraGainReadModeName;
30}
31
32void CameraGainReadMode::setCameraGainReadModeName(const QString &newCameraGainReadModeName)
33{
34 CameraGainReadModeName = newCameraGainReadModeName;
35}
36
37const QVector<OptimalExposure::CameraGainReadNoise> &CameraGainReadMode::getCameraGainReadNoiseVector() const
38{
39 return CameraGainReadNoiseVector;
40}
41
42void CameraGainReadMode::setCameraGainReadNoiseVector(const QVector<OptimalExposure::CameraGainReadNoise>
43 &newCameraGainReadNoiseVector)
44{
45 CameraGainReadNoiseVector = newCameraGainReadNoiseVector;
46}
47
48CameraGainReadMode::CameraGainReadMode(int CameraGainReadModeNumber, const QString &CameraGainReadModeName,
49 const QVector<CameraGainReadNoise> &CameraGainReadNoiseVector) : CameraGainReadModeNumber(CameraGainReadModeNumber),
50 CameraGainReadModeName(CameraGainReadModeName),
51 CameraGainReadNoiseVector(CameraGainReadNoiseVector)
52{}
53
54}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.