WSF
WsfWMAIEngagementMod Class Reference

#include <WsfWMAIEngagementMod.hpp>

Inherits il::WeaponsManagerEngagementInterface.

Collaboration diagram for WsfWMAIEngagementMod:

Classes

class  Behavior
class  Beam
class  Drag
class  Intercept
class  Pursue
class  TakeAction

Public Member Functions

 WsfWMAIEngagementMod (const WsfScenario &aScenario, WsfBMWeaponsManager *wm_component)
 WsfWMAIEngagementMod (const WsfWMAIEngagementMod &from)
bool Initialize (const double sim_time)
bool Initialize2 (const double sim_time)
bool ProcessInput (UtInput &aInput)
void Run (const double sim_time_s) override

Protected Types

using tScriptInterceptCache = std::map <il::idRecord, std::shared_ptr<WsfInterceptCalculator>>

Protected Member Functions

std::shared_ptr< WsfInterceptCalculatorGetScriptCalculator (const il::evaluationAssignment &assignment)
virtual void RunDefaultEngagement (const double sim_time_s)
void AddBehaviorsToStack (const double sim_time_s)
virtual il::assessmentRecord AssessEngagement (const double sim_time_s, il::evaluationAssignment &assignment, const std::shared_ptr< il::weaponRecord > weapon, const double delay_time_s=0)
virtual bool IsEngagementComplete (const il::evaluationAssignment &assignment, bool &was_successful) const
virtual bool AssignmentHasValidTrack (const il::evaluationAssignment &assignment) const
virtual bool TimeForSecondSalvo (const il::evaluationAssignment &assignment, WsfWeapon *weapon, const double sim_time_s) const

Protected Attributes

WsfBMWeaponsManagerm_wm_component
WsfBehaviorTree m_behavior_tree
bool m_has_behavior_tree
tScriptInterceptCache m_script_calculators

Member Typedef Documentation

◆ tScriptInterceptCache

using WsfWMAIEngagementMod::tScriptInterceptCache = std::map <il::idRecord, std::shared_ptr<WsfInterceptCalculator>>
protected

Constructor & Destructor Documentation

◆ WsfWMAIEngagementMod() [1/2]

◆ WsfWMAIEngagementMod() [2/2]

WsfWMAIEngagementMod::WsfWMAIEngagementMod ( const WsfWMAIEngagementMod & from)

Member Function Documentation

◆ AddBehaviorsToStack()

◆ AssessEngagement()

il::assessmentRecord WsfWMAIEngagementMod::AssessEngagement ( const double sim_time_s,
il::evaluationAssignment & assignment,
const std::shared_ptr< il::weaponRecord > weapon,
const double delay_time_s = 0 )
protectedvirtual

◆ AssignmentHasValidTrack()

bool WsfWMAIEngagementMod::AssignmentHasValidTrack ( const il::evaluationAssignment & assignment) const
protectedvirtual

◆ GetScriptCalculator()

std::shared_ptr< WsfInterceptCalculator > WsfWMAIEngagementMod::GetScriptCalculator ( const il::evaluationAssignment & assignment)
protected

◆ Initialize()

bool WsfWMAIEngagementMod::Initialize ( const double sim_time)

◆ Initialize2()

bool WsfWMAIEngagementMod::Initialize2 ( const double sim_time)

◆ IsEngagementComplete()

bool WsfWMAIEngagementMod::IsEngagementComplete ( const il::evaluationAssignment & assignment,
bool & was_successful ) const
protectedvirtual

◆ ProcessInput()

bool WsfWMAIEngagementMod::ProcessInput ( UtInput & aInput)

◆ Run()

void WsfWMAIEngagementMod::Run ( const double sim_time_s)
override

◆ RunDefaultEngagement()

void WsfWMAIEngagementMod::RunDefaultEngagement ( const double sim_time_s)
protectedvirtual

References AddBehaviorsToStack().

Referenced by Run().

◆ TimeForSecondSalvo()

bool WsfWMAIEngagementMod::TimeForSecondSalvo ( const il::evaluationAssignment & assignment,
WsfWeapon * weapon,
const double sim_time_s ) const
protectedvirtual

Member Data Documentation

◆ m_behavior_tree

WsfBehaviorTree WsfWMAIEngagementMod::m_behavior_tree
protected

◆ m_has_behavior_tree

bool WsfWMAIEngagementMod::m_has_behavior_tree
protected

◆ m_script_calculators

tScriptInterceptCache WsfWMAIEngagementMod::m_script_calculators
protected

Referenced by GetScriptCalculator().

◆ m_wm_component


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved