11#ifndef WSF_INTERCEPT_CALLBACK_HPP
12#define WSF_INTERCEPT_CALLBACK_HPP
18#include "UtScript.hpp"
26#include <iadsLib/interceptCalculatorInterface.hpp>
38 bool CanIntercept(
const il::trackRecord& track,
const il::weaponRecord* weapon,
double& interceptTime_s,
double pred_pt_ecef_m[3],
double& est_pk,
double& weap_max_range, std::weak_ptr<il::logger::GlobalLogger> aGlobalLogger)
override;
bool CanIntercept(const il::trackRecord &track, const il::weaponRecord *weapon, double &interceptTime_s, double pred_pt_ecef_m[3], double &est_pk, double &weap_max_range, std::weak_ptr< il::logger::GlobalLogger > aGlobalLogger) override
Definition WsfInterceptCalc.cpp:55
WsfInterceptCalculator()
Definition WsfInterceptCalc.cpp:22
UtScript * GetInterceptCalculator(WsfScriptContext &context)
Definition WsfInterceptCalc.cpp:190
tPlatformInterceptCalcCache m_platform_calculators
Definition WsfInterceptCalc.hpp:52
UtScript * GetInterceptCalculatorOnPlatform(WsfPlatform *platform, bool cache=true)
Definition WsfInterceptCalc.cpp:204
virtual ~WsfInterceptCalculator()=default
bool Initialize(WsfScriptProcessor *script_proc)
Definition WsfInterceptCalc.cpp:28
WsfScriptProcessor * m_script_proc
Definition WsfInterceptCalc.hpp:44
WsfScriptContext & GetContext()
Definition WsfInterceptCalc.cpp:185
UtScript * m_script
Definition WsfInterceptCalc.hpp:45
std::map< il::idRecord, std::pair< WsfPlatform *, UtScript * > > tPlatformInterceptCalcCache
Definition WsfInterceptCalc.hpp:51
virtual bool ScriptCalculatorExists(WsfScriptProcessor *processor, WsfPlatform *owning_platform)
Definition WsfInterceptCalc.cpp:50
Definition WsfScriptContext.hpp:71
Definition WsfScriptProcessor.hpp:43
An object that represents an 'track' (perception) of something.
Definition WsfTrack.hpp:120
Definition WsfWeapon.hpp:63