WSF
VerticalCoverageFunction.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 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 VERTICALCOVERAGEFUNCTION_HPP
13#define VERTICALCOVERAGEFUNCTION_HPP
14
15#include <string>
16
17#include "Function.hpp"
18#include "Sensor.hpp"
19#include "Target.hpp"
20
22{
23public:
24 static const double cUNDEFINED;
25
26 explicit VerticalCoverageFunction(const WsfScenario& aScenario);
27
28 bool Execute(WsfSimulation& aSimulation) override;
29 bool ProcessInput(UtInput& aInput) override;
30
31private:
32 WsfSimulation* mSimulationPtr;
33 bool mOutputMaxHeight;
34 bool mOutputMaxRange;
35
36 Sensor mSensor;
37 Target mTarget;
38
39 std::string mOutputBase;
40 std::string mOutputFile;
41 double mMaximumRange;
42 double mLargeRangeStep;
43 double mSmallRangeStep;
44 double mMinElevation;
45 double mMaxElevation;
46 double mElevationStep;
47 std::string mAltUnitsStr;
48 std::string mRangeUnitsStr;
49 std::string mX_UnitsStr;
50 std::string mY_UnitsStr;
51};
52
53#endif
Function(const Function &)=default
Definition Sensor.hpp:30
Definition Target.hpp:27
bool Execute(WsfSimulation &aSimulation) override
Definition VerticalCoverageFunction.cpp:60
VerticalCoverageFunction(const WsfScenario &aScenario)
Definition VerticalCoverageFunction.cpp:37
bool ProcessInput(UtInput &aInput) override
Definition VerticalCoverageFunction.cpp:277
static const double cUNDEFINED
Definition VerticalCoverageFunction.hpp:24
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
The main controller for a simulation.
Definition WsfSimulation.hpp:109
Copyrights Multiple, All Rights Reserved