Kstars

calculatedgainsubexposuretime.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 <QLoggingCategory>
9#include "calculatedgainsubexposuretime.h"
10#include <QAbstractItemModel>
11
12#include <ekos_capture_debug.h>
13
14int OptimalExposure::CalculatedGainSubExposureTime::getSubExposureGain()
15{
16 return subExposureGain;
17}
18
19void OptimalExposure::CalculatedGainSubExposureTime::setSubExposureGain(int newSubExposureGain)
20{
21 subExposureGain = newSubExposureGain;
22}
23
24double OptimalExposure::CalculatedGainSubExposureTime::getSubExposureTime()
25{
26 return subExposureTime;
27}
28
29void OptimalExposure::CalculatedGainSubExposureTime::setSubExposureTime(double newSubExposureTime)
30{
31 subExposureTime = newSubExposureTime;
32}
33
34
35
36namespace OptimalExposure
37{
38CalculatedGainSubExposureTime::CalculatedGainSubExposureTime(int subExposureGain,
39 double subExposureTime) : subExposureGain(subExposureGain), subExposureTime(subExposureTime)
40{
41 // qCInfo(KSTARS_EKOS_CAPTURE) << "CalculatedGainSubExposureTime constructor: "
42 // << subExposureGain << " " << subExposureTime;
43}
44
45}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.