WSF
HorizontalCoverageFunction.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 HORIZONTALCOVERAGEFUNCTION_HPP
13#define HORIZONTALCOVERAGEFUNCTION_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 HorizontalCoverageFunction(WsfScenario& aScenario);
27
28 bool Execute(WsfSimulation& aSimulation) override;
29 bool ProcessInput(UtInput& aInput) override;
30
31private:
32 WsfSimulation* mSimulationPtr;
33 bool mOutputMinRange;
34 bool mOutputMaxRange;
35
36 Sensor mSensor;
37 Target mTarget;
38
39 std::string mOutputBase;
40 std::string mOutputFile;
41 double mMinimumRange;
42 double mMaximumRange;
43 double mLargeRangeStep;
44 double mSmallRangeStep;
45 double mMinAzimuth;
46 double mMaxAzimuth;
47 double mAzimuthStep;
48 std::vector<double> mAltValues;
49 std::string mAltUnitsStr;
50 std::string mRangeUnitsStr;
51 std::string mX_UnitsStr;
52 std::string mY_UnitsStr;
53};
54
55#endif
Function(const Function &)=default
bool Execute(WsfSimulation &aSimulation) override
Definition HorizontalCoverageFunction.cpp:62
HorizontalCoverageFunction(WsfScenario &aScenario)
Definition HorizontalCoverageFunction.cpp:37
bool ProcessInput(UtInput &aInput) override
Definition HorizontalCoverageFunction.cpp:249
static const double cUNDEFINED
Definition HorizontalCoverageFunction.hpp:24
Definition Sensor.hpp:30
Definition Target.hpp:27
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