#include <FiresTables.hpp>
◆ FiresTables()
| Fires::FiresTables::FiresTables |
( |
| ) |
|
◆ ~FiresTables()
| Fires::FiresTables::~FiresTables |
( |
| ) |
|
|
override |
◆ AddedToScenario()
| void Fires::FiresTables::AddedToScenario |
( |
| ) |
|
|
overridevirtual |
Called when the extension has been added to the scenario. This is typically used to register new component type objects and object factories, e.g.:
WsfAntennaPatterTypes::Get(scenario).AddObjectFactor(MyAntennaPattern::ObjectFactory);
static WSF_EXPORT WsfMoverTypes & Get(WsfScenario &aScenario)
Return a modifiable reference to the type list associated with the specified scenario.
Definition WsfMoverTypes.cpp:53
bool AddCoreType(WsfStringId aId, std::unique_ptr< T > aDefinitionPtr)
Definition WsfObjectTypeList.hpp:102
WsfScenario & GetScenario() const
Definition WsfScenarioExtension.hpp:46
friend class WsfScenario
Definition WsfScenarioExtension.hpp:39
Script classes must NOT be registered here because they are global to the entire application. They should be registered in WsfApplication::AddedToApplication.
- Note
- GetScenario() and GetApplication() are now valid.
Reimplemented from WsfScenarioExtension.
References WsfObjectTypeList< T >::Add(), WsfLaunchComputerTypes::Get(), WsfMoverTypes::Get(), WsfScenarioExtension::GetScenario(), and WsfScenarioExtension::WsfScenario.
◆ AddType()
| void Fires::FiresTables::AddType |
( |
const std::string & | aTypeName | ) |
|
|
virtual |
◆ AeroMap()
◆ Find()
◆ FireTables()
◆ GetElevationAngleAndTOF()
| bool Fires::FiresTables::GetElevationAngleAndTOF |
( |
const std::string & | aType, |
|
|
double | aRange, |
|
|
double & | aElevationAngle, |
|
|
double & | aTOF ) |
◆ GetMaxOrdAndTOF()
| bool Fires::FiresTables::GetMaxOrdAndTOF |
( |
const std::string & | aType, |
|
|
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
-
| aType | The weapon type. This must correspond with a SystemMunition name in one of the fires tables. |
| 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. |
- Returns
- Whether an acceptable solution was computed.
References Fires::FiresTable::GetMaxOrdAndTOF(), Fires::FiresTable::GetMinimumRange(), mTables, and ok.
◆ GetTable()
| FiresTable * Fires::FiresTables::GetTable |
( |
const std::string & | aType | ) |
const |
◆ IsType()
| bool Fires::FiresTables::IsType |
( |
const std::string & | aType | ) |
|
|
virtual |
◆ MassMap()
| std::map< WsfStringId, double > & Fires::FiresTables::MassMap |
( |
| ) |
|
|
inline |
◆ ProcessInput()
| bool Fires::FiresTables::ProcessInput |
( |
UtInput & | aInput | ) |
|
|
overridevirtual |
◆ UseFiresMoverExtrapolation()
| bool Fires::FiresTables::UseFiresMoverExtrapolation |
( |
| ) |
|
|
inline |
◆ UsesMaxOrd()
| bool Fires::FiresTables::UsesMaxOrd |
( |
const std::string & | aType | ) |
|
◆ mAeroMap
◆ mMassMap
| std::map<WsfStringId, double> Fires::FiresTables::mMassMap |
|
protected |
◆ mTables
◆ mTestEnabled
| bool Fires::FiresTables::mTestEnabled |
|
protected |
◆ mTypes
◆ mUseFiresMoverExtrapolation
| bool Fires::FiresTables::mUseFiresMoverExtrapolation |
|
protected |
The documentation for this class was generated from the following files: