|
WSF
|
#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 |
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.
| Fires::FiresTable::FiresTable | ( | ) |
References mUseMaxOrd.
|
virtual |
|
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.
| aContext | [output] The context to be used for performing table lookups. |
| void Fires::FiresTable::GetElevationAngleAndTOF | ( | double | aRange, |
| double & | aElevationAngle, | ||
| double & | aTOF ) |
References Fires::FiresTableLookup::LookupElevation(), and Fires::FiresTableLookup::SetTable().
Referenced by Fires::FiresTables::GetElevationAngleAndTOF().
| double Fires::FiresTable::GetMaximumRange | ( | ) | const |
References mRangeValues.
Referenced by Fires::FiresLaunchComputer::InitializeTTIData().
| 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.
| aRange | The 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. |
References Fires::FiresTableLookup::Lookup(), and Fires::FiresTableLookup::SetTable().
Referenced by Fires::FiresTables::GetMaxOrdAndTOF().
| double Fires::FiresTable::GetMinimumRange | ( | ) | const |
References mRangeValues.
Referenced by Fires::FiresTables::GetElevationAngleAndTOF(), Fires::FiresTables::GetMaxOrdAndTOF(), and Fires::FiresLaunchComputer::InitializeTTIData().
|
inline |
Referenced by Fires::FiresLaunchComputer::ProcessInput(), and Fires::FiresTables::ProcessInput().
|
inline |
| TblDepVar1<double> Fires::FiresTable::mElevationValues |
| TblDepVar1<double> Fires::FiresTable::mMaxOrdValues |
| TblIndVarU<double> Fires::FiresTable::mRangeValues |
Referenced by GetMaximumRange(), and GetMinimumRange().
| TblDepVar1<double> Fires::FiresTable::mTimeOfFlight |
| bool Fires::FiresTable::mUseMaxOrd |
Referenced by FiresTable().