File indexing completed on 2024-05-12 03:44:33

0001 /*
0002     SPDX-FileCopyrightText: 2023 Joseph McGee <joseph.mcgee@sbcglobal.net>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 
0008 #include "optimalexposurestack.h"
0009 
0010 namespace OptimalExposure
0011 {
0012 
0013 
0014 OptimalExposureStack::OptimalExposureStack()
0015 {
0016 
0017 }
0018 
0019 int OptimalExposureStack::getPlannedTime() const
0020 {
0021     return plannedTime;
0022 }
0023 
0024 void OptimalExposureStack::setPlannedTime(int newPlannedTime)
0025 {
0026     plannedTime = newPlannedTime;
0027 }
0028 
0029 int OptimalExposureStack::getExposureCount() const
0030 {
0031     return exposureCount;
0032 }
0033 
0034 void OptimalExposureStack::setExposureCount(int newExposureCount)
0035 {
0036     exposureCount = newExposureCount;
0037 }
0038 
0039 int OptimalExposureStack::getStackTime() const
0040 {
0041     return stackTime;
0042 }
0043 
0044 void OptimalExposureStack::setStackTime(int newStackTime)
0045 {
0046     stackTime = newStackTime;
0047 }
0048 
0049 double OptimalExposureStack::getStackTotalNoise() const
0050 {
0051     return stackTotalNoise;
0052 }
0053 
0054 void OptimalExposureStack::setStackTotalNoise(double newStackTotalNoise)
0055 {
0056     stackTotalNoise = newStackTotalNoise;
0057 }
0058 
0059 OptimalExposureStack::OptimalExposureStack(int plannedTime, int exposureCount, int stackTime,
0060         double stackTotalNoise) : plannedTime(plannedTime),
0061     exposureCount(exposureCount),
0062     stackTime(stackTime),
0063     stackTotalNoise(stackTotalNoise)
0064 {}
0065 }