WSF
WsfWeapon::FireTarget Class Reference

A target for a weapon to fire upon. More...

#include <WsfWeapon.hpp>

Collaboration diagram for WsfWeapon::FireTarget:

Public Member Functions

 FireTarget ()
 FireTarget (const WsfTrack *aTrackPtr)

Public Attributes

const WsfTrackmTrackPtr
std::string mTargetName
 The target name against which to fire the weapon.
WsfTrackId mTrackId
std::string mTargetOffset

Detailed Description

A target for a weapon to fire upon.

Constructor & Destructor Documentation

◆ FireTarget() [1/2]

WsfWeapon::FireTarget::FireTarget ( )
inline

References mTrackPtr.

◆ FireTarget() [2/2]

WsfWeapon::FireTarget::FireTarget ( const WsfTrack * aTrackPtr)
inline

References mTrackId, and mTrackPtr.

Member Data Documentation

◆ mTargetName

std::string WsfWeapon::FireTarget::mTargetName

◆ mTargetOffset

std::string WsfWeapon::FireTarget::mTargetOffset

An string indicating a targeted sub-region of the target (e.g., "canopy", "irst", "stabilizer"). This offset must be recognized by and used by the weapon effects type associated with the weapon.

Referenced by WsfCuedLaserWeapon::Fire(), WsfImplicitWeapon::Fire(), WsfLaserWeapon::Fire(), WsfBeamDirector::PointAtTarget(), and UT_DEFINE_SCRIPT_METHOD().

◆ mTrackId

WsfTrackId WsfWeapon::FireTarget::mTrackId

Referenced by WsfWeapon::FireSalvo(), and FireTarget().

◆ mTrackPtr

const WsfTrack* WsfWeapon::FireTarget::mTrackPtr

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