|
WSF
|
#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< Result > | mResults |
| WsfAirToAirLaunchComputer::ATA_InterceptTable::ATA_InterceptTable | ( | ) |
References mResults, mRNE_ManeuverAccel, mShooterAlts, mShooterMachs, mTargetAlts, mTargetAspects, mTargetLeads, and mTargetMachs.
|
protected |
Referenced by IVArraysOk().
| void WsfAirToAirLaunchComputer::ATA_InterceptTable::ClearAll | ( | ) |
References mResults, mShooterAlts, mShooterMachs, mTargetAlts, mTargetAspects, mTargetLeads, and mTargetMachs.
| bool WsfAirToAirLaunchComputer::ATA_InterceptTable::FindNearestIndex | ( | double | aValue, |
| const std::vector< double > & | aArray, | ||
| size_t & | aIndex ) const |
Referenced by ValuesToIndices().
| bool WsfAirToAirLaunchComputer::ATA_InterceptTable::GetResult | ( | size_t | aResultIndex, |
| Result & | aResult ) const |
References mResults.
| 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 |
References mShooterAlts, mShooterMachs, mTargetAlts, mTargetAspects, mTargetLeads, mTargetMachs, SizeOfShooterAltSet(), SizeOfShooterMachSet(), SizeOfTargetAltSet(), SizeOfTargetAspectSet(), and SizeOfTargetMachSet().
Referenced by IndexToValues(), and StreamResults().
| bool WsfAirToAirLaunchComputer::ATA_InterceptTable::IndexToValues | ( | size_t | aResultIndex, |
| double & | aShooterAlt, | ||
| double & | aShooterMach, | ||
| double & | aTargetAlt, | ||
| double & | aTargetMach, | ||
| double & | aTargetAspect, | ||
| double & | aTargetLead ) const |
References IndexToIndices(), mShooterAlts, mShooterMachs, mTargetAlts, mTargetAspects, mTargetLeads, and mTargetMachs.
| 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 |
|
protected |
References ArrayOk(), mShooterAlts, mShooterMachs, mTargetAlts, mTargetAspects, mTargetLeads, and mTargetMachs.
Referenced by ProcessIndependentBlock().
| bool WsfAirToAirLaunchComputer::ATA_InterceptTable::Load | ( | const std::string & | aFileName, |
| bool | aDebugEnabled ) |
References WsfAirToAirLaunchComputer::ProcessInput().
|
inline |
References mRNE_ManeuverAccel.
|
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().
| bool WsfAirToAirLaunchComputer::ATA_InterceptTable::ProcessInput | ( | UtInput & | aInput | ) |
References mRNE_ManeuverAccel, ProcessIndependentBlock(), and ProcessInterceptResults().
|
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().
|
inline |
References mResults.
Referenced by WsfAirToAirLaunchComputer::Test().
| bool WsfAirToAirLaunchComputer::ATA_InterceptTable::SetResult | ( | size_t | aResultIndex, |
| const Result & | aResult ) |
References mResults.
|
inline |
References mShooterAlts.
|
inline |
References mShooterMachs.
|
inline |
References mShooterAlts, and SizeOfShooterAltSet().
Referenced by WsfAirToAirLaunchComputer::Test().
|
inline |
References mShooterMachs, and SizeOfShooterMachSet().
Referenced by IndexToIndices(), IndicesToIndex(), and SizeOfResultsSet().
|
inline |
References mTargetAlts, and SizeOfTargetAltSet().
Referenced by IndexToIndices(), IndicesToIndex(), and SizeOfShooterAltSet().
|
inline |
References mTargetMachs, and SizeOfTargetMachSet().
Referenced by IndexToIndices(), IndicesToIndex(), and SizeOfShooterMachSet().
|
inline |
References mTargetLeads.
Referenced by IndexToIndices(), IndicesToIndex(), and SizeOfTargetMachSet().
|
inline |
References mTargetAspects, and SizeOfTargetAspectSet().
Referenced by IndexToIndices(), IndicesToIndex(), and SizeOfTargetAltSet().
| 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().
|
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().
| void WsfAirToAirLaunchComputer::ATA_InterceptTable::StreamResults | ( | std::ostream & | aStream, |
| const std::string & | aResultsFilename ) const |
References IndexToIndices(), mResults, mShooterAlts, mShooterMachs, mTargetAlts, mTargetAspects, mTargetLeads, and mTargetMachs.
Referenced by Stream().
|
inline |
References mTargetAlts.
|
inline |
References mTargetAspects.
|
inline |
References mTargetLeads.
|
inline |
References mTargetMachs.
| 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 |
References FindNearestIndex(), mShooterAlts, mShooterMachs, mTargetAlts, mTargetAspects, mTargetLeads, and mTargetMachs.
|
protected |
Referenced by ATA_InterceptTable(), ClearAll(), GetResult(), ProcessInterceptResults(), ResultsSize(), SetResult(), and StreamResults().
|
protected |
Referenced by ATA_InterceptTable(), NoEscapeManeuverAcceleration(), ProcessInput(), and Stream().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |