WSF
FiresTable.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI//REL TO USA ONLY
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing 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 FIRES_TABLE_HPP
13#define FIRES_TABLE_HPP
14
15#include "wsf_fires_export.h"
16
17#include <string>
18
19#include "FiresTableLookup.hpp"
20#include "TblLookup.hpp"
21
22namespace Fires
23{
24
28class WSF_FIRES_EXPORT FiresTable
29{
30public:
31 FiresTable();
32 virtual ~FiresTable();
33
43 void GetContext(FiresTableLookup& aContext) const { aContext = mContext; }
44
45 void SetName(const std::string& aName) { mName = aName; }
46 const std::string& GetName() const { return mName; }
47 double GetMinimumRange() const;
48 double GetMaximumRange() const;
49
50 void GetMaxOrdAndTOF(double aRange, double& aMaxOrd, double& aTOF);
51
52 void GetElevationAngleAndTOF(double aRange, double& aElevationAngle, double& aTOF);
53
54 TblIndVarU<double> mRangeValues; //<! range independent values
55 TblDepVar1<double> mMaxOrdValues; //<! dependent value; max. ordinate (max height).
56 TblDepVar1<double> mElevationValues; //<! Alternate dependent value; elevation angle
57 TblDepVar1<double> mTimeOfFlight; //<! dependent valud; time of flight
59
60private:
61 FiresTableLookup mContext; //<! Prototype table lookup context
62 std::string mName;
63};
64
65}; // namespace Fires
66
67#endif
Definition FiresTableLookup.hpp:26
TblDepVar1< double > mTimeOfFlight
Definition FiresTable.hpp:57
TblIndVarU< double > mRangeValues
Definition FiresTable.hpp:54
bool mUseMaxOrd
Definition FiresTable.hpp:58
const std::string & GetName() const
Definition FiresTable.hpp:46
TblDepVar1< double > mElevationValues
Definition FiresTable.hpp:56
void SetName(const std::string &aName)
Definition FiresTable.hpp:45
void GetContext(FiresTableLookup &aContext) const
Definition FiresTable.hpp:43
TblDepVar1< double > mMaxOrdValues
Definition FiresTable.hpp:55
FiresTable()
Definition FiresTable.cpp:22
Provide a top-level interface for including the fires library's types.
Definition BallisticPath.cpp:34
Copyrights Multiple, All Rights Reserved