WSF
WsfBMWeaponInfoRecord Class Reference

#include <WsfBMWeaponInfoRecord.hpp>

Inheritance diagram for WsfBMWeaponInfoRecord:
Collaboration diagram for WsfBMWeaponInfoRecord:

Public Member Functions

 WsfBMWeaponInfoRecord ()
 WsfBMWeaponInfoRecord (const WsfBMWeaponInfoRecord &aSrc)
virtual ~WsfBMWeaponInfoRecord ()
virtual WsfBMWeaponInfoRecordClone () const
 The standard Clone() method (virtual copy constructor).
void Set (WsfSimulation *sim_ptr, WsfBMAssetRecord *asset, tWeaponSysID weapon_sys_id, il::AssetTypeEnum weapon_type)
void Set (WsfSimulation *sim_ptr, const std::shared_ptr< il::assetRecord > &asset, tWeaponSysID weapon_sys_id, il::AssetTypeEnum weapon_type)
int GetNumMunitions () const
int GetMaxEngagements ()
double GetInterceptSpeed ()
tWeaponSysID GetWsysID () const
il::unitTypeRecord GetTypeRecord () const
virtual int GetTruthMunitionsPrepped () const
virtual int GetTruthTotalMunitions () const
virtual int GetTruthAllocatedFireChannels () const
virtual double GetTimeBetweenShots () const
virtual double GetTimeToFire () const
virtual bool HasMinRangeAttribute () const
virtual double GetMinRange () const
virtual bool HasMaxRangeAttribute () const
virtual double GetMaxRange () const
virtual double GetAvgSpeed () const
virtual double GetEstPK () const
virtual std::string GetName () const
virtual int GetShotsFiredAtTrack (const il::idRecord &track_id) const
virtual void SetShotsFiredAtTrack (const il::idRecord &track_id, const int fired)
virtual int GetShotsPendingForTrack (const il::idRecord &track_id) const
virtual void SetShotsPendingForTrack (const il::idRecord &track_id, const int fired)
Public Member Functions inherited from WsfObject
 WsfObject ()
 This is the constructor for the WsfObject class.
 ~WsfObject () override
 This is the destructor for the WsfObject class.
const char * GetScriptClassName () const override
virtual bool ProcessInput (UtInput &aInput)
const std::string & GetType () const
WsfStringId GetTypeId () const
 Get the string ID of the 'type' of the object.
void SetType (WsfStringId aType)
const std::string & GetBaseType () const
WsfStringId GetBaseTypeId () const
const TypeListGetTypeList () const
bool IsA_TypeOf (WsfStringId aType) const
WsfObjectoperator= (const WsfObject &aRhs)
 Assignment operator.
template<typename T>
void Serialize (T &aBuff)
 For XIO (de)serialization.
const std::string & GetName () const
WsfStringId GetNameId () const
void SetName (WsfStringId aName)

Protected Member Functions

const WsfWeaponGetWeaponRef () const
 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).

Protected Attributes

tPlatformRef m_attached_plat
WsfSimulationm_sim_ptr

Additional Inherited Members

Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.

Constructor & Destructor Documentation

◆ WsfBMWeaponInfoRecord() [1/2]

WsfBMWeaponInfoRecord::WsfBMWeaponInfoRecord ( )

◆ WsfBMWeaponInfoRecord() [2/2]

WsfBMWeaponInfoRecord::WsfBMWeaponInfoRecord ( const WsfBMWeaponInfoRecord & aSrc)

◆ ~WsfBMWeaponInfoRecord()

WsfBMWeaponInfoRecord::~WsfBMWeaponInfoRecord ( )
virtual

Member Function Documentation

◆ Clone()

WsfBMWeaponInfoRecord * WsfBMWeaponInfoRecord::Clone ( ) const
virtual

The standard Clone() method (virtual copy constructor).

Implements WsfObject.

References WsfBMWeaponInfoRecord().

◆ GetAvgSpeed()

double WsfBMWeaponInfoRecord::GetAvgSpeed ( ) const
virtual

◆ GetEstPK()

double WsfBMWeaponInfoRecord::GetEstPK ( ) const
virtual

◆ GetInterceptSpeed()

double WsfBMWeaponInfoRecord::GetInterceptSpeed ( )

◆ GetMaxEngagements()

int WsfBMWeaponInfoRecord::GetMaxEngagements ( )

References GetWeaponRef().

◆ GetMaxRange()

double WsfBMWeaponInfoRecord::GetMaxRange ( ) const
virtual

◆ GetMinRange()

double WsfBMWeaponInfoRecord::GetMinRange ( ) const
virtual

◆ GetName()

std::string WsfBMWeaponInfoRecord::GetName ( ) const
virtual

References GetWeaponRef().

◆ GetNumMunitions()

int WsfBMWeaponInfoRecord::GetNumMunitions ( ) const

References GetWeaponRef().

◆ GetShotsFiredAtTrack()

int WsfBMWeaponInfoRecord::GetShotsFiredAtTrack ( const il::idRecord & track_id) const
virtual

◆ GetShotsPendingForTrack()

int WsfBMWeaponInfoRecord::GetShotsPendingForTrack ( const il::idRecord & track_id) const
virtual

◆ GetTimeBetweenShots()

double WsfBMWeaponInfoRecord::GetTimeBetweenShots ( ) const
virtual

References GetWeaponRef().

◆ GetTimeToFire()

double WsfBMWeaponInfoRecord::GetTimeToFire ( ) const
virtual

References GetWeaponRef().

◆ GetTruthAllocatedFireChannels()

int WsfBMWeaponInfoRecord::GetTruthAllocatedFireChannels ( ) const
virtual

References GetWeaponRef().

◆ GetTruthMunitionsPrepped()

int WsfBMWeaponInfoRecord::GetTruthMunitionsPrepped ( ) const
virtual

References GetWeaponRef().

◆ GetTruthTotalMunitions()

int WsfBMWeaponInfoRecord::GetTruthTotalMunitions ( ) const
virtual

References GetWeaponRef().

◆ GetTypeRecord()

il::unitTypeRecord WsfBMWeaponInfoRecord::GetTypeRecord ( ) const

◆ GetWeaponRef()

◆ GetWsysID()

tWeaponSysID WsfBMWeaponInfoRecord::GetWsysID ( ) const

◆ HasMaxRangeAttribute()

bool WsfBMWeaponInfoRecord::HasMaxRangeAttribute ( ) const
virtual

◆ HasMinRangeAttribute()

bool WsfBMWeaponInfoRecord::HasMinRangeAttribute ( ) const
virtual

◆ Set() [1/2]

void WsfBMWeaponInfoRecord::Set ( WsfSimulation * sim_ptr,
const std::shared_ptr< il::assetRecord > & asset,
tWeaponSysID weapon_sys_id,
il::AssetTypeEnum weapon_type )

◆ Set() [2/2]

void WsfBMWeaponInfoRecord::Set ( WsfSimulation * sim_ptr,
WsfBMAssetRecord * asset,
tWeaponSysID weapon_sys_id,
il::AssetTypeEnum weapon_type )

References WsfBMAssetRecord::GetRawRecord(), and Set().

Referenced by Set().

◆ SetShotsFiredAtTrack()

void WsfBMWeaponInfoRecord::SetShotsFiredAtTrack ( const il::idRecord & track_id,
const int fired )
virtual

◆ SetShotsPendingForTrack()

void WsfBMWeaponInfoRecord::SetShotsPendingForTrack ( const il::idRecord & track_id,
const int fired )
virtual

Member Data Documentation

◆ m_attached_plat

tPlatformRef WsfBMWeaponInfoRecord::m_attached_plat
protected

◆ m_sim_ptr

WsfSimulation* WsfBMWeaponInfoRecord::m_sim_ptr
protected

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