WSF
Fires::FiresTable Class Reference

#include <FiresTable.hpp>

Public Member Functions

 FiresTable ()
virtual ~FiresTable ()
void GetContext (FiresTableLookup &aContext) const
void SetName (const std::string &aName)
const std::string & GetName () const
double GetMinimumRange () const
double GetMaximumRange () const
void GetMaxOrdAndTOF (double aRange, double &aMaxOrd, double &aTOF)
void GetElevationAngleAndTOF (double aRange, double &aElevationAngle, double &aTOF)

Public Attributes

TblIndVarU< double > mRangeValues
TblDepVar1< double > mMaxOrdValues
TblDepVar1< double > mElevationValues
TblDepVar1< double > mTimeOfFlight
bool mUseMaxOrd

Detailed Description

A class used to store discrete range, max. ordinate (max height), and propagation time for combinations of launchers and projectiles. These tables are for unguided (ballistic) projectiles only.

Constructor & Destructor Documentation

◆ FiresTable()

Fires::FiresTable::FiresTable ( )

References mUseMaxOrd.

◆ ~FiresTable()

Fires::FiresTable::~FiresTable ( )
virtual

Member Function Documentation

◆ GetContext()

void Fires::FiresTable::GetContext ( FiresTableLookup & aContext) const
inline

Get to the table lookup context for looking up values in the table.

The returned table lookup context can be used to extract values from the table. The context has been optimized to choose the best method based on the size and spacing of the independent values.

Parameters
aContext[output] The context to be used for performing table lookups.
Note
This can be called only after Validate() has been called.

◆ GetElevationAngleAndTOF()

void Fires::FiresTable::GetElevationAngleAndTOF ( double aRange,
double & aElevationAngle,
double & aTOF )

◆ GetMaximumRange()

double Fires::FiresTable::GetMaximumRange ( ) const

◆ GetMaxOrdAndTOF()

void Fires::FiresTable::GetMaxOrdAndTOF ( double aRange,
double & aMaxOrd,
double & aTOF )

Return the "max. ord.," or maximum height of the trajectory, and time of flight, for a given weapon type and horizontal range to target.

Parameters
aRangeThe desired horizontal range of the flyout.
aMaxOrd(output) The max. ord. (max. height) for the trajectory.
aTOF(output) The time of flight of the round.
Returns
Whether an acceptable solution was computed.

References Fires::FiresTableLookup::Lookup(), and Fires::FiresTableLookup::SetTable().

Referenced by Fires::FiresTables::GetMaxOrdAndTOF().

◆ GetMinimumRange()

◆ GetName()

const std::string & Fires::FiresTable::GetName ( ) const
inline

◆ SetName()

void Fires::FiresTable::SetName ( const std::string & aName)
inline

Member Data Documentation

◆ mElevationValues

TblDepVar1<double> Fires::FiresTable::mElevationValues

◆ mMaxOrdValues

TblDepVar1<double> Fires::FiresTable::mMaxOrdValues

◆ mRangeValues

TblIndVarU<double> Fires::FiresTable::mRangeValues

Referenced by GetMaximumRange(), and GetMinimumRange().

◆ mTimeOfFlight

TblDepVar1<double> Fires::FiresTable::mTimeOfFlight

◆ mUseMaxOrd

bool Fires::FiresTable::mUseMaxOrd

Referenced by FiresTable().


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