WSF
WsfWeapon::FireOptions Class Reference

Weapon firing options. More...

#include <WsfWeapon.hpp>

Inheritance diagram for WsfWeapon::FireOptions:

Public Member Functions

 FireOptions ()
 FireOptions (int aWeaponId)

Public Attributes

int mWeaponId
 The weapon id assigned to an allocated weapon platform.
std::string mWeaponPlatformName
 Name of the explicit weapon platform. If empty, the weapon will create a new unique name.
WsfStringId mWeaponComponentName
 Name of the weapon component that will be used to fire.

Detailed Description

Weapon firing options.

Constructor & Destructor Documentation

◆ FireOptions() [1/2]

WsfWeapon::FireOptions::FireOptions ( )
inline

◆ FireOptions() [2/2]

WsfWeapon::FireOptions::FireOptions ( int aWeaponId)
inline

References mWeaponId.

Member Data Documentation

◆ mWeaponComponentName

WsfStringId WsfWeapon::FireOptions::mWeaponComponentName

Name of the weapon component that will be used to fire.

Referenced by WsfChaffWeapon::AddWeaponToSimulation(), WsfChaffWeapon::Fire(), and WsfChaffWeapon::SetLaunchState().

◆ mWeaponId

int WsfWeapon::FireOptions::mWeaponId

◆ mWeaponPlatformName

std::string WsfWeapon::FireOptions::mWeaponPlatformName

Name of the explicit weapon platform. If empty, the weapon will create a new unique name.

Referenced by wsf::UCI_WeaponComponent::CommandWeapon(), and WsfExplicitWeapon::FireP().


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