File indexing completed on 2024-03-24 15:17:36

0001 /*
0002     SPDX-FileCopyrightText: 2009 Prakash Mohan <prakash.mohan@kdemail.net>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 #pragma once
0007 
0008 #include "oal/oal.h"
0009 
0010 #include <QString>
0011 
0012 /**
0013  * @class OAL::Lens
0014  *
0015  * Information of lens utilized in the observation
0016  */
0017 class OAL::Lens
0018 {
0019     public:
0020         Lens(const QString &id, const QString &model, const QString &vendor, double factor)
0021         {
0022             setLens(id, model, vendor, factor);
0023         }
0024         QString id() const
0025         {
0026             return m_Id;
0027         }
0028         QString name() const
0029         {
0030             return m_Name;
0031         }
0032         QString model() const
0033         {
0034             return m_Model;
0035         }
0036         QString vendor() const
0037         {
0038             return m_Vendor;
0039         }
0040         double factor() const
0041         {
0042             return m_Factor;
0043         }
0044         void setLens(const QString &_id, const QString &_model, const QString &_vendor, double _factor);
0045 
0046     private:
0047         QString m_Id, m_Model, m_Vendor, m_Name;
0048         double m_Factor;
0049 };