WSF
WsfScriptLaunchComputer.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 WSFSCRIPTLAUNCHCOMPUTER_HPP
13#define WSFSCRIPTLAUNCHCOMPUTER_HPP
14
15#include "wsf_mil_export.h"
16
17#include "WsfLaunchComputer.hpp"
18class UtScript;
20
22class WSF_MIL_EXPORT WsfScriptLaunchComputer : public WsfLaunchComputer
23{
24public:
26 static std::string BaseTypeName() { return "WSF_SCRIPT_LAUNCH_COMPUTER"; }
27
30 ~WsfScriptLaunchComputer() override;
31
32 WsfLaunchComputer* Clone() const override;
33 bool Initialize(double aSimTime, WsfWeapon* aWeaponPtr) override;
34 bool ProcessInput(UtInput& aInput) override;
35
36 double EstimatedTimeToIntercept(double aSimTime, const WsfTrack& aTrack, double aLaunchDelayTime) override;
37
38protected:
41
42 bool InitializeTTIData() override;
43
45 UtScript* mScriptPtr;
46};
47
48#endif
Definition WsfLaunchComputer.hpp:35
virtual bool InitializeTTIData()
Definition WsfLaunchComputer.cpp:440
WsfLaunchComputer()
Definition WsfLaunchComputer.cpp:44
virtual double EstimatedTimeToIntercept(double aSimTime, const WsfTrack &aTrack, double aLaunchDelayTime)
Definition WsfLaunchComputer.cpp:749
WsfLaunchComputer * Clone() const override
Definition WsfLaunchComputer.cpp:518
bool ProcessInput(UtInput &aInput) override
Definition WsfLaunchComputer.cpp:171
virtual bool Initialize(double aSimTime, WsfWeapon *aWeaponPtr)
Definition WsfLaunchComputer.cpp:393
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
Definition WsfScriptContext.hpp:71
A launch computer whose implementation is provided via script.
Definition WsfScriptLaunchComputer.hpp:23
WsfScriptLaunchComputer()
Constructor.
Definition WsfScriptLaunchComputer.cpp:22
WsfScriptContext * mContextPtr
Definition WsfScriptLaunchComputer.hpp:44
static std::string BaseTypeName()
The basic type name (needed by weapon_tools and launch computer processor).
Definition WsfScriptLaunchComputer.hpp:26
UtScript * mScriptPtr
Definition WsfScriptLaunchComputer.hpp:45
WsfScriptLaunchComputer & operator=(const WsfScriptLaunchComputer &)=delete
An object that represents an 'track' (perception) of something.
Definition WsfTrack.hpp:120
Definition WsfWeapon.hpp:63
Copyrights Multiple, All Rights Reserved