WSF
Fires::BallisticPlatforms Class Reference

#include <BallisticPlatforms.hpp>

Static Public Member Functions

static WsfPlatformCreatePlatform (const std::string &aTypeName, const DisFire &aFire, WsfSimulation *aSimPtr)
static WsfPlatformCreatePlatform (const std::string &aTypeName, const WsfWeaponEngagement &aEngagement, WsfSimulation *aSimPtr)

Detailed Description

A types database for platforms that should be considered ballistic targets. It is used as a quick types lookup, in case the user wants to internally propagate the target or provide some other special processing.

Member Function Documentation

◆ CreatePlatform() [1/2]

WsfPlatform * Fires::BallisticPlatforms::CreatePlatform ( const std::string & aTypeName,
const DisFire & aFire,
WsfSimulation * aSimPtr )
static

Create a properly initialized clone of the given ballistic type.

Parameters
aTypeNameThe ballistic type to be cloned.
aFireThe fire pdu information that provides the initialization data.
aSimPtrThe pointer to the simulation.

References WsfPlatform::SetMarking(), and WsfObject::SetName().

Referenced by Fires::Observer::WeaponFired().

◆ CreatePlatform() [2/2]

WsfPlatform * Fires::BallisticPlatforms::CreatePlatform ( const std::string & aTypeName,
const WsfWeaponEngagement & aEngagement,
WsfSimulation * aSimPtr )
static

Given an engagement object, create a properly initialized clone of the given type.

Parameters
aTypeNameThe ballistic type to be cloned and initialized.
aEngagementThe engagement object providing the initialization data for the cloned ballistic type.
aSimPtrPointer to the simulation.

References WsfWeaponEngagement::GetFiringPlatform(), and WsfWeaponEngagement::GetTargetLocationAtLaunchWCS().


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