WSF
WsfAirToAirLaunchComputer::ATA_InterceptTable Class Reference

#include <WsfAirToAirLaunchComputer.hpp>

Classes

struct  Result

Public Member Functions

 ATA_InterceptTable ()
size_t SizeOfTargetAspectSet () const
size_t SizeOfTargetMachSet () const
size_t SizeOfTargetAltSet () const
size_t SizeOfShooterMachSet () const
size_t SizeOfShooterAltSet () const
size_t SizeOfResultsSet () const
bool IndexToIndices (size_t aResultIndex, size_t &aShooterAltIndex, size_t &aShooterMachIndex, size_t &aTargetAltIndex, size_t &aTargetMachIndex, size_t &aTargetAspectIndex, size_t &aTargetLeadIndex) const
bool IndicesToIndex (size_t aShooterAltIndex, size_t aShooterMachIndex, size_t aTargetAltIndex, size_t aTargetMachIndex, size_t aTargetAspectIndex, size_t aTargetLeadIndex, size_t &aResultIndex) const
bool IndexToValues (size_t aResultIndex, double &aShooterAlt, double &aShooterMach, double &aTargetAlt, double &aTargetMach, double &aTargetAspect, double &aTargetLead) const
bool ValuesToIndices (double aShooterAlt, double aShooterMach, double aTargetAlt, double aTargetMach, double aTargetAspect, double aTargetLead, size_t &aShooterAltIndex, size_t &aShooterMachIndex, size_t &aTargetAltIndex, size_t &aTargetMachIndex, size_t &aTargetAspectIndex, size_t &aTargetLeadIndex) const
bool GetResult (size_t aResultIndex, Result &aResult) const
bool SetResult (size_t aResultIndex, const Result &aResult)
bool FindNearestIndex (double aValue, const std::vector< double > &aArray, size_t &aIndex) const
double NoEscapeManeuverAcceleration () const
bool Load (const std::string &aFileName, bool aDebugEnabled)
void Stream (std::ostream &aStream, const std::string &aResultsFilename) const
 Write out the contents to capture in a file for later re-use.
void StreamResults (std::ostream &aStream, const std::string &aResultsFilename) const
bool ProcessInput (UtInput &aInput)
void ClearAll ()
const std::vector< double > & ShooterAlts () const
const std::vector< double > & ShooterMachs () const
const std::vector< double > & TargetAlts () const
const std::vector< double > & TargetMachs () const
const std::vector< double > & TargetAspects () const
const std::vector< double > & TargetLeads () const
size_t ResultsSize () const

Protected Member Functions

void StreamIndependentBlock (std::ostream &aStream) const
bool IVArraysOk (UtInput &aInput)
bool ArrayOk (UtInput &aInput, const std::vector< double > &aArray, const std::string &aArrayType, double aMinimumDelta) const
bool ProcessIndependentBlock (UtInputBlock &aInputBlock)
void ProcessInterceptResults (UtInputBlock &aInputBlock)

Protected Attributes

double mRNE_ManeuverAccel
std::vector< double > mShooterAlts
std::vector< double > mShooterMachs
std::vector< double > mTargetAlts
std::vector< double > mTargetMachs
std::vector< double > mTargetAspects
std::vector< double > mTargetLeads
std::vector< ResultmResults

Constructor & Destructor Documentation

◆ ATA_InterceptTable()

WsfAirToAirLaunchComputer::ATA_InterceptTable::ATA_InterceptTable ( )

Member Function Documentation

◆ ArrayOk()

bool WsfAirToAirLaunchComputer::ATA_InterceptTable::ArrayOk ( UtInput & aInput,
const std::vector< double > & aArray,
const std::string & aArrayType,
double aMinimumDelta ) const
protected

Referenced by IVArraysOk().

◆ ClearAll()

void WsfAirToAirLaunchComputer::ATA_InterceptTable::ClearAll ( )

◆ FindNearestIndex()

bool WsfAirToAirLaunchComputer::ATA_InterceptTable::FindNearestIndex ( double aValue,
const std::vector< double > & aArray,
size_t & aIndex ) const

Referenced by ValuesToIndices().

◆ GetResult()

bool WsfAirToAirLaunchComputer::ATA_InterceptTable::GetResult ( size_t aResultIndex,
Result & aResult ) const

References mResults.

◆ IndexToIndices()

bool WsfAirToAirLaunchComputer::ATA_InterceptTable::IndexToIndices ( size_t aResultIndex,
size_t & aShooterAltIndex,
size_t & aShooterMachIndex,
size_t & aTargetAltIndex,
size_t & aTargetMachIndex,
size_t & aTargetAspectIndex,
size_t & aTargetLeadIndex ) const

◆ IndexToValues()

bool WsfAirToAirLaunchComputer::ATA_InterceptTable::IndexToValues ( size_t aResultIndex,
double & aShooterAlt,
double & aShooterMach,
double & aTargetAlt,
double & aTargetMach,
double & aTargetAspect,
double & aTargetLead ) const

◆ IndicesToIndex()

bool WsfAirToAirLaunchComputer::ATA_InterceptTable::IndicesToIndex ( size_t aShooterAltIndex,
size_t aShooterMachIndex,
size_t aTargetAltIndex,
size_t aTargetMachIndex,
size_t aTargetAspectIndex,
size_t aTargetLeadIndex,
size_t & aResultIndex ) const

◆ IVArraysOk()

bool WsfAirToAirLaunchComputer::ATA_InterceptTable::IVArraysOk ( UtInput & aInput)
protected

◆ Load()

bool WsfAirToAirLaunchComputer::ATA_InterceptTable::Load ( const std::string & aFileName,
bool aDebugEnabled )

◆ NoEscapeManeuverAcceleration()

double WsfAirToAirLaunchComputer::ATA_InterceptTable::NoEscapeManeuverAcceleration ( ) const
inline

References mRNE_ManeuverAccel.

◆ ProcessIndependentBlock()

bool WsfAirToAirLaunchComputer::ATA_InterceptTable::ProcessIndependentBlock ( UtInputBlock & aInputBlock)
protected

Routine processes reading in the values to be used for independent variables given between the "begin" and "end" block qualifiers.

References IVArraysOk(), mShooterAlts, mShooterMachs, mTargetAlts, mTargetAspects, mTargetLeads, and mTargetMachs.

Referenced by ProcessInput().

◆ ProcessInput()

bool WsfAirToAirLaunchComputer::ATA_InterceptTable::ProcessInput ( UtInput & aInput)

◆ ProcessInterceptResults()

void WsfAirToAirLaunchComputer::ATA_InterceptTable::ProcessInterceptResults ( UtInputBlock & aInputBlock)
protected

Routine processes reading in the engagement condition values given between the "begin" and "end" block qualifiers.

References mResults, and WsfAirToAirLaunchComputer::ATA_InterceptTable::Result::ProcessInput().

Referenced by ProcessInput().

◆ ResultsSize()

size_t WsfAirToAirLaunchComputer::ATA_InterceptTable::ResultsSize ( ) const
inline

References mResults.

Referenced by WsfAirToAirLaunchComputer::Test().

◆ SetResult()

bool WsfAirToAirLaunchComputer::ATA_InterceptTable::SetResult ( size_t aResultIndex,
const Result & aResult )

References mResults.

◆ ShooterAlts()

const std::vector< double > & WsfAirToAirLaunchComputer::ATA_InterceptTable::ShooterAlts ( ) const
inline

References mShooterAlts.

◆ ShooterMachs()

const std::vector< double > & WsfAirToAirLaunchComputer::ATA_InterceptTable::ShooterMachs ( ) const
inline

References mShooterMachs.

◆ SizeOfResultsSet()

size_t WsfAirToAirLaunchComputer::ATA_InterceptTable::SizeOfResultsSet ( ) const
inline

◆ SizeOfShooterAltSet()

size_t WsfAirToAirLaunchComputer::ATA_InterceptTable::SizeOfShooterAltSet ( ) const
inline

◆ SizeOfShooterMachSet()

size_t WsfAirToAirLaunchComputer::ATA_InterceptTable::SizeOfShooterMachSet ( ) const
inline

◆ SizeOfTargetAltSet()

size_t WsfAirToAirLaunchComputer::ATA_InterceptTable::SizeOfTargetAltSet ( ) const
inline

◆ SizeOfTargetAspectSet()

size_t WsfAirToAirLaunchComputer::ATA_InterceptTable::SizeOfTargetAspectSet ( ) const
inline

◆ SizeOfTargetMachSet()

size_t WsfAirToAirLaunchComputer::ATA_InterceptTable::SizeOfTargetMachSet ( ) const
inline

◆ Stream()

void WsfAirToAirLaunchComputer::ATA_InterceptTable::Stream ( std::ostream & aStream,
const std::string & aResultsFilename ) const

Write out the contents to capture in a file for later re-use.

References mRNE_ManeuverAccel, StreamIndependentBlock(), and StreamResults().

◆ StreamIndependentBlock()

void WsfAirToAirLaunchComputer::ATA_InterceptTable::StreamIndependentBlock ( std::ostream & aStream) const
protected

Routine streams out the values to be used for independent variables given between the "begin" and "end" block qualifiers.

References mShooterAlts, mShooterMachs, mTargetAlts, mTargetAspects, mTargetLeads, and mTargetMachs.

Referenced by Stream().

◆ StreamResults()

void WsfAirToAirLaunchComputer::ATA_InterceptTable::StreamResults ( std::ostream & aStream,
const std::string & aResultsFilename ) const

◆ TargetAlts()

const std::vector< double > & WsfAirToAirLaunchComputer::ATA_InterceptTable::TargetAlts ( ) const
inline

References mTargetAlts.

◆ TargetAspects()

const std::vector< double > & WsfAirToAirLaunchComputer::ATA_InterceptTable::TargetAspects ( ) const
inline

References mTargetAspects.

◆ TargetLeads()

const std::vector< double > & WsfAirToAirLaunchComputer::ATA_InterceptTable::TargetLeads ( ) const
inline

References mTargetLeads.

◆ TargetMachs()

const std::vector< double > & WsfAirToAirLaunchComputer::ATA_InterceptTable::TargetMachs ( ) const
inline

References mTargetMachs.

◆ ValuesToIndices()

bool WsfAirToAirLaunchComputer::ATA_InterceptTable::ValuesToIndices ( double aShooterAlt,
double aShooterMach,
double aTargetAlt,
double aTargetMach,
double aTargetAspect,
double aTargetLead,
size_t & aShooterAltIndex,
size_t & aShooterMachIndex,
size_t & aTargetAltIndex,
size_t & aTargetMachIndex,
size_t & aTargetAspectIndex,
size_t & aTargetLeadIndex ) const

Member Data Documentation

◆ mResults

std::vector<Result> WsfAirToAirLaunchComputer::ATA_InterceptTable::mResults
protected

◆ mRNE_ManeuverAccel

double WsfAirToAirLaunchComputer::ATA_InterceptTable::mRNE_ManeuverAccel
protected

◆ mShooterAlts

◆ mShooterMachs

◆ mTargetAlts

◆ mTargetAspects

◆ mTargetLeads

◆ mTargetMachs


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