|
WSF
|
A class for specifying Weapon Launch Acceptable Regions (LARs) for Air-to-Ground weapons. More...
#include <WsfATG_WeaponLAR.hpp>


Public Member Functions | |
| WsfATG_WeaponLAR () | |
| WsfATG_WeaponLAR (const WsfATG_WeaponLAR &aSrc) | |
| ~WsfATG_WeaponLAR () override | |
| WsfWeaponLAR * | Clone () const override |
| bool | ProcessInput (UtInput &aInput) override |
| bool | Initialize (WsfSimulation &aSimulation) override |
| void | ProcessInputBlock (UtInputBlock &aInputBlock) |
| double | LaunchSpeed () const |
| virtual bool | IsInside (const double aTargetPointWCS[3], const double aLaunchPointWCS[3], const double aLaunchHeading, const double aLaunchSpeed, const double aDeltaAltitude, const double aLaunchGamma) const |
| double | DeltaAltitude () const |
| Delta Altitude is defined as Launcher Altitude minus Target Altitude. | |
| const WsfZone * | GetZone () const |
| virtual bool | operator< (const WsfATG_WeaponLAR &aRhs) const |
| Public Member Functions inherited from WsfWeaponLAR | |
| WsfWeaponLAR () | |
| ~WsfWeaponLAR () override=default | |
| bool | DebugEnabled () const |
| Returns 'true' if debugging is enabled for this instance. | |
| void | SetDebugEnabled (bool aDebugEnabled) |
| bool | ProcessInput (UtInput &aInput) override |
| WsfSimulation * | GetSimulation () const |
| Public Member Functions inherited from WsfObject | |
| WsfObject () | |
| This is the constructor for the WsfObject class. | |
| ~WsfObject () override | |
| This is the destructor for the WsfObject class. | |
| const char * | GetScriptClassName () const override |
| const std::string & | GetType () const |
| WsfStringId | GetTypeId () const |
| Get the string ID of the 'type' of the object. | |
| void | SetType (WsfStringId aType) |
| const std::string & | GetBaseType () const |
| WsfStringId | GetBaseTypeId () const |
| const TypeList & | GetTypeList () const |
| bool | IsA_TypeOf (WsfStringId aType) const |
| WsfObject & | operator= (const WsfObject &aRhs) |
| Assignment operator. | |
| template<typename T> | |
| void | Serialize (T &aBuff) |
| For XIO (de)serialization. | |
| const std::string & | GetName () const |
| WsfStringId | GetNameId () const |
| void | SetName (WsfStringId aName) |
Static Public Member Functions | |
| static WsfStringId | GetTypeId () |
| Static Public Member Functions inherited from WsfWeaponLAR | |
| static std::string | GetTypeString () |
| static bool | LoadInstance (UtInput &aInput, WsfWeaponLAR *&aLARPtr) |
Protected Member Functions | |
| WsfATG_WeaponLAR & | operator= (const WsfATG_WeaponLAR &aRhs) |
| Protected Member Functions inherited from WsfWeaponLAR | |
| WsfWeaponLAR (const WsfWeaponLAR &aSrc)=default | |
| WsfWeaponLAR & | operator= (const WsfWeaponLAR &aRhs)=delete |
| WsfObject (const WsfObject &aSrc) | |
| Copy constructor (for Clone()). | |
Additional Inherited Members | |
| Public Types inherited from WsfObject | |
| typedef std::vector< WsfStringId > | TypeList |
| The list of types returned by GetTypeList. | |
A class for specifying Weapon Launch Acceptable Regions (LARs) for Air-to-Ground weapons.
| WsfATG_WeaponLAR::WsfATG_WeaponLAR | ( | ) |
References WsfObject::SetType(), and WsfWeaponLAR::WsfWeaponLAR().
Referenced by Clone(), operator<(), operator=(), and WsfATG_WeaponLAR().
| WsfATG_WeaponLAR::WsfATG_WeaponLAR | ( | const WsfATG_WeaponLAR & | aSrc | ) |
References WsfZone::Clone(), WsfObject::SetType(), WsfATG_WeaponLAR(), and WsfWeaponLAR::WsfWeaponLAR().
|
override |
|
overridevirtual |
Return a copy of this object. Must be implemented by all derived types. If cloning is impossible, a WsfUncloneableException should be thrown.
Implements WsfWeaponLAR.
References WsfATG_WeaponLAR(), and WsfWeaponLAR::WsfWeaponLAR().
|
inline |
Delta Altitude is defined as Launcher Altitude minus Target Altitude.
|
static |
|
inline |
|
overridevirtual |
Reimplemented from WsfWeaponLAR.
References WsfObject::GetName(), WsfSimulation::GetScenario(), and WsfWeaponLAR::Initialize().
|
virtual |
References WsfWeaponLAR::DebugEnabled(), and WsfWeaponLAR::GetSimulation().
|
inline |
|
inlinevirtual |
References WsfATG_WeaponLAR().
|
protected |
References WsfATG_WeaponLAR().
|
overridevirtual |
Process input from a generic source.
Examine the current input command. If it is NOT one of the commands recognized by this class then it simply returns 'false'. If it is one of the commands recognized by this class then it processes the command and returns 'true'.
| aInput | a reference to a UtInput object. |
| UtInput::ExceptionBase | (or an object derived from it) if the command was recognized but contains some sort of error. |
Reimplemented from WsfObject.
References WsfScenario::FindTypeT(), WsfScenario::FromInput(), and WsfWeaponLAR::ProcessInput().
Referenced by ProcessInputBlock().
| void WsfATG_WeaponLAR::ProcessInputBlock | ( | UtInputBlock & | aInputBlock | ) |
References ProcessInput().
Referenced by WsfWeaponLAR::LoadInstance().