WSF
WsfWeapon::SalvoOptions Class Reference

Salvoing options. More...

#include <WsfWeapon.hpp>

Inheritance diagram for WsfWeapon::SalvoOptions:
Collaboration diagram for WsfWeapon::SalvoOptions:

Public Member Functions

 SalvoOptions ()
 SalvoOptions (int aQuantity, double aSalvoInterval=-1.0, int aWeaponId=0)
Public Member Functions inherited from WsfWeapon::FireOptions
 FireOptions ()
 FireOptions (int aWeaponId)

Public Attributes

int mQuantity
double mSalvoInterval
 The number of rounds to fire.
Public Attributes inherited from WsfWeapon::FireOptions
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

Salvoing options.

Constructor & Destructor Documentation

◆ SalvoOptions() [1/2]

WsfWeapon::SalvoOptions::SalvoOptions ( )
inline

References SalvoOptions().

Referenced by SalvoOptions().

◆ SalvoOptions() [2/2]

WsfWeapon::SalvoOptions::SalvoOptions ( int aQuantity,
double aSalvoInterval = -1.0,
int aWeaponId = 0 )
inline

Member Data Documentation

◆ mQuantity

◆ mSalvoInterval

double WsfWeapon::SalvoOptions::mSalvoInterval

The number of rounds to fire.

Referenced by WsfWeapon::ContinueSalvo(), and SalvoOptions().


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