WSF
WsfAtmosphere.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2020 Infoscitex, a DCS Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef WSFATMOSPHERE_HPP
13#define WSFATMOSPHERE_HPP
14
15#include "WsfObject.hpp"
16
17class UtCalendar;
18#include "UtCentralBody.hpp"
19#include "UtCloneablePtr.hpp"
20class UtLLAPos;
21
22#include "wsf_space_export.h"
23
24namespace wsf
25{
26namespace space
27{
28
29class WSF_SPACE_EXPORT Atmosphere : public WsfObject
30{
31public:
32 Atmosphere();
33 Atmosphere(const Atmosphere& aOther) = default;
34 virtual ~Atmosphere() = default;
35
36 Atmosphere* Clone() const override = 0;
37
38 bool ProcessInput(UtInput& aInput) override;
39
40 const ut::CentralBody& GetCentralBody() const { return *mCentralBodyPtr; }
41
42 const char* GetScriptClassName() const override { return "WsfAtmosphereModel"; }
43
54 virtual double GetDensity(const UtCalendar& aEpoch, const UtLLAPos& aLLA) const = 0;
55
56protected:
57 ut::CloneablePtr<ut::CentralBody> mCentralBodyPtr;
58};
59
60} // namespace space
61} // namespace wsf
62
63#endif // WSFATMOSPHERE_HPP
WsfObject()
This is the constructor for the WsfObject class.
Definition WsfObject.cpp:88
ut::CloneablePtr< ut::CentralBody > mCentralBodyPtr
Definition WsfAtmosphere.hpp:57
Atmosphere * Clone() const override=0
virtual double GetDensity(const UtCalendar &aEpoch, const UtLLAPos &aLLA) const =0
Atmosphere(const Atmosphere &aOther)=default
Atmosphere()
Definition WsfAtmosphere.cpp:25
const char * GetScriptClassName() const override
Definition WsfAtmosphere.hpp:42
virtual ~Atmosphere()=default
bool ProcessInput(UtInput &aInput) override
Definition WsfAtmosphere.cpp:30
const ut::CentralBody & GetCentralBody() const
Definition WsfAtmosphere.hpp:40
Definition WsfAtmosphere.cpp:23
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved