WSF
FiresLaunchComputer.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_LAUNCH_COMPUTER_HPP
13#define FIRES_LAUNCH_COMPUTER_HPP
14
15#include "wsf_fires_export.h"
16
17#include <map>
18
19#include "FiresTable.hpp"
20#include "UtEntity.hpp"
21class UtInput;
22#include "WsfLaunchComputer.hpp"
23class WsfScenario;
24#include "WsfStringId.hpp"
25
26namespace Fires
27{
28
29class FiresTables;
30
36class WSF_FIRES_EXPORT FiresLaunchComputer : public WsfLaunchComputer
37{
38public:
39 explicit FiresLaunchComputer(WsfScenario* aScenarioPtr);
42 ~FiresLaunchComputer() override = default;
43
44 WsfLaunchComputer* Clone() const override;
45
46 bool ProcessInput(UtInput& aInput) override;
47
48 // static void ResetState();
49
50 double EstimatedTimeToIntercept(double aSimTime, const WsfTrack& aTrack, double aLaunchDelayTime) override;
51
52protected:
53 bool InitializeTTIData() override;
54
55private:
56 WsfScenario* mScenarioPtr;
57 FiresTables* mFiresTablesPtr;
58
59 WsfStringId mType;
60
61 bool mDebug;
62 UtEntity mGeom;
63
64 double mMinRange;
65 double mMaxRange;
66};
67
68}; // namespace Fires
69
70#endif
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
WsfLaunchComputer * Clone() const override
Definition FiresLaunchComputer.cpp:37
double EstimatedTimeToIntercept(double aSimTime, const WsfTrack &aTrack, double aLaunchDelayTime) override
Definition FiresLaunchComputer.cpp:85
bool InitializeTTIData() override
Definition FiresLaunchComputer.cpp:132
bool ProcessInput(UtInput &aInput) override
Definition FiresLaunchComputer.cpp:43
FiresLaunchComputer & operator=(const FiresLaunchComputer &aSrc)=delete
FiresLaunchComputer(WsfScenario *aScenarioPtr)
Definition FiresLaunchComputer.cpp:25
FiresLaunchComputer(const FiresLaunchComputer &aSrc)=default
~FiresLaunchComputer() override=default
Definition FiresTables.hpp:31
WsfLaunchComputer()
Definition WsfLaunchComputer.cpp:44
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
An object that represents an 'track' (perception) of something.
Definition WsfTrack.hpp:120
Provide a top-level interface for including the fires library's types.
Definition BallisticPath.cpp:34
Copyrights Multiple, All Rights Reserved