WSF
wsf::event::WeaponSelected Class Reference

#include <WsfMilEventResults.hpp>

Inheritance diagram for wsf::event::WeaponSelected:
Collaboration diagram for wsf::event::WeaponSelected:

Public Member Functions

 WeaponSelected (double aSimTime, WsfWeapon *aWeaponPtr, WsfTrack *aTargetTrackPtr, int aStoreId, Settings aSettings=Settings())
void Print (std::ostream &aStream) const override
void PrintCSV (std::ostream &aStream) const override
const WsfWeaponGetWeapon () const
const WsfTrackGetTargetTrack () const
int GetStoreId () const
Public Member Functions inherited from wsf::event::Result
 Result (double aSimTime, Settings aSettings=Settings{}, std::string aEventName="UNSET")
virtual void Print (std::ostream &aStream, Settings aSettings)
virtual void PrintCSV (std::ostream &aStream, Settings aSettings)
Public Member Functions inherited from wsf::event::ResultBase
 ResultBase (double aSimTime, std::string aEventName="UNSET")
 ResultBase (const ResultBase &)=default
ResultBaseoperator= (const ResultBase &)=default
virtual ~ResultBase ()=default
double GetSimTime () const
const std::string & GetName () const

Static Public Attributes

static constexpr const char * cNAME = "WEAPON_SELECTED"

Additional Inherited Members

Protected Attributes inherited from wsf::event::Result
Settings mSettings
Protected Attributes inherited from wsf::event::ResultBase
double mSimTime
std::string mEventName

Constructor & Destructor Documentation

◆ WeaponSelected()

wsf::event::WeaponSelected::WeaponSelected ( double aSimTime,
WsfWeapon * aWeaponPtr,
WsfTrack * aTargetTrackPtr,
int aStoreId,
Settings aSettings = Settings() )
inline

Member Function Documentation

◆ GetStoreId()

int wsf::event::WeaponSelected::GetStoreId ( ) const
inline

◆ GetTargetTrack()

const WsfTrack * wsf::event::WeaponSelected::GetTargetTrack ( ) const
inline

◆ GetWeapon()

const WsfWeapon * wsf::event::WeaponSelected::GetWeapon ( ) const
inline

◆ Print()

void wsf::event::WeaponSelected::Print ( std::ostream & aStream) const
overridevirtual

◆ PrintCSV()

void wsf::event::WeaponSelected::PrintCSV ( std::ostream & aStream) const
overridevirtual

Member Data Documentation

◆ cNAME

const char* wsf::event::WeaponSelected::cNAME = "WEAPON_SELECTED"
staticconstexpr

Referenced by WeaponSelected().


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