WSF
WsfPk::TableSet Class Reference

#include <WsfPkTable.hpp>

Inheritance diagram for WsfPk::TableSet:
Collaboration diagram for WsfPk::TableSet:

Public Member Functions

 TableSet ()
 ~TableSet () override
bool Add (Table *aTablePtr) override
double LookUp (WsfStringId aTargetType, double aAzimuth, double aElevation, double aWeaponSpeed, double aTargetSpeed) override
bool ProcessInput (UtInput &aInput)
bool IsTableSet () const override
const TableGet (int aTgtTypeId) const
bool CanAdd () const override
WsfStringId TargetTypeOfIndex (unsigned int aIndex) override
size_t TableSetSize () const override
Public Member Functions inherited from WsfPk::Table
 Table ()
 ~Table () override=default
virtual WsfStringId TargetType ()
bool ProcessInput (UtInput &aInput)
void SetTargetType (WsfStringId aTargetType)
WpnSpdSetGet (int aIndex)
size_t SpeedsSize ()
Public Member Functions inherited from WsfNamed
 WsfNamed ()
 WsfNamed (WsfStringId aName)
 WsfNamed (const WsfNamed &)=default
WsfNamedoperator= (const WsfNamed &)=default
virtual ~WsfNamed ()=default
const std::string & GetName () const
WsfStringId GetNameId () const
void SetName (WsfStringId aName)

Protected Attributes

std::vector< Table * > mTablePtrs
Protected Attributes inherited from WsfPk::Table
WsfStringId mTargetType
std::vector< WpnSpdSetmWpnSpdSets

Additional Inherited Members

Static Public Member Functions inherited from WsfPk::Table
static bool LoadTable (UtInput &aInput, Table *&aTablePtr, Table *aParentTable=nullptr)
static bool LoadUtAzElTable (UtInput &aInput, UtAzElTable *&aTablePtr)
Protected Member Functions inherited from WsfPk::Table
void SetPkValuesP (const std::vector< std::vector< double > > &aValues)
bool Add (const WpnSpdSet &aWpnSpdSet)
void GetWpnSpdSetsFor (double aWeaponSpeed, WpnSpdSet *&aLowerPtr, WpnSpdSet *&aUpperPtr)
int Resize ()
void Increment (int &i, int &j, int &k, int &m, int &total)
Tableoperator= (const Table &aRhs)=delete

Constructor & Destructor Documentation

◆ TableSet()

WsfPk::TableSet::TableSet ( )

◆ ~TableSet()

WsfPk::TableSet::~TableSet ( )
override

References mTablePtrs.

Member Function Documentation

◆ Add()

bool WsfPk::TableSet::Add ( Table * aTablePtr)
overridevirtual

◆ CanAdd()

bool WsfPk::TableSet::CanAdd ( ) const
overridevirtual

Reimplemented from WsfPk::Table.

References mTablePtrs, and WsfPk::Table::TargetType().

◆ Get()

const Table & WsfPk::TableSet::Get ( int aTgtTypeId) const

References WsfPk::Table::Table().

◆ IsTableSet()

bool WsfPk::TableSet::IsTableSet ( ) const
inlineoverridevirtual

Reimplemented from WsfPk::Table.

◆ LookUp()

double WsfPk::TableSet::LookUp ( WsfStringId aTargetType,
double aAzimuth,
double aElevation,
double aWeaponSpeed,
double aTargetSpeed )
overridevirtual

Reimplemented from WsfPk::Table.

References mTablePtrs, and WsfPk::Table::TargetType().

◆ ProcessInput()

bool WsfPk::TableSet::ProcessInput ( UtInput & aInput)

◆ TableSetSize()

size_t WsfPk::TableSet::TableSetSize ( ) const
inlineoverridevirtual

Reimplemented from WsfPk::Table.

References mTablePtrs.

◆ TargetTypeOfIndex()

WsfStringId WsfPk::TableSet::TargetTypeOfIndex ( unsigned int aIndex)
overridevirtual

Reimplemented from WsfPk::Table.

References mTablePtrs.

Member Data Documentation

◆ mTablePtrs

std::vector<Table*> WsfPk::TableSet::mTablePtrs
protected

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