WSF
WsfMilExtension Class Reference

#include <WsfMil.hpp>

Inheritance diagram for WsfMilExtension:
Collaboration diagram for WsfMilExtension:

Public Member Functions

 WsfMilExtension ()
 ~WsfMilExtension () override
void AddedToScenario () override
bool ProcessInput (UtInput &aInput) override
WsfPk::TableManagerGetPkTableManager () const
WsfAcousticSignatureTypesGetAcousticSignatureTypes () const
wsf::CN2_TypesGetCN2_Types () const
WsfEW_EA_EP_TypesGetEA_EP_Types () const
WsfEW_EffectTypesGetEW_EffectTypes () const
WsfEW_TechniqueTypesGetEW_TechniqueTypes () const
WsfFalseTargetTypesGetFalseTargetTypes () const
WsfFalseTargetScreenerTypesGetFalseTargetScreenerTypes () const
WsfGuidanceProgramTypesGetGuidanceProgramTypes () const
WsfHighEnergyLaserTypesGetHighEnergyLaserTypes () const
WsfInfraredSignatureTypesGetInfraredSignatureTypes () const
WsfInherentContrastTypesGetInherentContrastTypes () const
WsfLaunchComputerTypesGetLaunchComputerTypes () const
WsfOpticalPathCoefficientTypesGetOpticalPathCoefficientTypes () const
WsfOpticalReflectivityTypesGetOpticalReflectivityTypes () const
WsfOpticalSignatureTypesGetOpticalSignatureTypes () const
WsfWeaponEffectsTypesGetWeaponEffectsTypes () const
WsfWeaponTypesGetWeaponTypes () const
Public Member Functions inherited from WsfScenarioExtension
 WsfScenarioExtension ()
 ~WsfScenarioExtension () override
WsfScenarioGetScenario () const
WsfApplicationGetApplication () const
virtual void FileLoaded (const std::string &aFileName)
virtual bool Complete ()
virtual bool Complete2 ()
virtual bool AlwaysCreate ()
Public Member Functions inherited from WsfExtension
virtual ~WsfExtension ()=default
const std::string & GetExtensionName () const

Static Public Member Functions

static WsfMilExtensionFind (const WsfScenario &aScenario)
static WsfMilExtensionGet (const WsfScenario &aScenario)

Additional Inherited Members

Protected Member Functions inherited from WsfExtension
void InitializeExtensionName (const std::string &aName)

Constructor & Destructor Documentation

◆ WsfMilExtension()

WsfMilExtension::WsfMilExtension ( )

Referenced by Find(), and Get().

◆ ~WsfMilExtension()

WsfMilExtension::~WsfMilExtension ( )
override

Member Function Documentation

◆ AddedToScenario()

void WsfMilExtension::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.:

WsfScenario& scenario(GetScenario());
WsfMoverTypes::Get(scenario).AddCoreType("MY_MOVER", new MyMover(scenario));
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 WsfDisInput::AddComponent(), WsfExtData::AddComponent(), WsfObjectTypeList< T >::AddCoreType(), WsfAntennaPatternTypes::AddObjectFactory(), WsfEM_AttenuationTypes::AddObjectFactory(), WsfEM_ClutterTypes::AddObjectFactory(), WsfOpticalSignatureTypes::AddObjectFactory(), WsfRadarSignatureTypes::AddObjectFactory(), WsfSensorErrorModelTypes::AddObjectFactory(), WsfScenario::AddTypeList(), wsf::dis::ScenarioExtension::Find(), WsfEventPipeExtension::Find(), WsfExtInput::Find(), WsfAntennaPatternTypes::Get(), WsfCorrelationStrategyTypes::Get(), WsfEM_AttenuationTypes::Get(), WsfEM_ClutterTypes::Get(), WsfMoverTypes::Get(), WsfOpticalSignatureTypes::Get(), WsfProcessorTypes::Get(), WsfRadarSignatureTypes::Get(), WsfSensorErrorModelTypes::Get(), WsfOpticalAttenuation::GetObjectFactory(), WsfScenarioExtension::GetScenario(), WsfExtInput::mData, wsf::BistaticErrorModel::ObjectFactory(), wsf::OTH_RadarSensorErrorModel::ObjectFactory(), wsf::SurfaceWaveRadarSensorErrorModel::ObjectFactory(), WsfCompositeOpticalSignature::ObjectFactory(), WsfEM_SurfaceClutter::ObjectFactory(), WsfESA_AntennaPattern::ObjectFactory(), WsfMilRadarSignature::ObjectFactory(), WsfMilCommTypes::Register(), WsfMilSensorTypes::Register(), Register_BallisticMissileLaunchComputer(), WsfCTD_SensorComponent::RegisterComponentFactory(), WsfWeaponTaskManager::RegisterComponentFactory(), WsfMilEventPipe::RegisterEvents(), WsfObjectTypeList< T >::SetObjectFactoryDefault(), and WsfScenarioExtension::WsfScenario.

◆ Find()

◆ Get()

◆ GetAcousticSignatureTypes()

WsfAcousticSignatureTypes & WsfMilExtension::GetAcousticSignatureTypes ( ) const
inline

◆ GetCN2_Types()

wsf::CN2_Types & WsfMilExtension::GetCN2_Types ( ) const
inline

◆ GetEA_EP_Types()

WsfEW_EA_EP_Types & WsfMilExtension::GetEA_EP_Types ( ) const
inline

◆ GetEW_EffectTypes()

WsfEW_EffectTypes & WsfMilExtension::GetEW_EffectTypes ( ) const
inline

◆ GetEW_TechniqueTypes()

WsfEW_TechniqueTypes & WsfMilExtension::GetEW_TechniqueTypes ( ) const
inline

◆ GetFalseTargetScreenerTypes()

WsfFalseTargetScreenerTypes & WsfMilExtension::GetFalseTargetScreenerTypes ( ) const
inline

◆ GetFalseTargetTypes()

WsfFalseTargetTypes & WsfMilExtension::GetFalseTargetTypes ( ) const
inline

◆ GetGuidanceProgramTypes()

WsfGuidanceProgramTypes & WsfMilExtension::GetGuidanceProgramTypes ( ) const
inline

◆ GetHighEnergyLaserTypes()

WsfHighEnergyLaserTypes & WsfMilExtension::GetHighEnergyLaserTypes ( ) const
inline

◆ GetInfraredSignatureTypes()

WsfInfraredSignatureTypes & WsfMilExtension::GetInfraredSignatureTypes ( ) const
inline

◆ GetInherentContrastTypes()

WsfInherentContrastTypes & WsfMilExtension::GetInherentContrastTypes ( ) const
inline

◆ GetLaunchComputerTypes()

WsfLaunchComputerTypes & WsfMilExtension::GetLaunchComputerTypes ( ) const
inline

◆ GetOpticalPathCoefficientTypes()

WsfOpticalPathCoefficientTypes & WsfMilExtension::GetOpticalPathCoefficientTypes ( ) const
inline

◆ GetOpticalReflectivityTypes()

WsfOpticalReflectivityTypes & WsfMilExtension::GetOpticalReflectivityTypes ( ) const
inline

◆ GetOpticalSignatureTypes()

WsfOpticalSignatureTypes & WsfMilExtension::GetOpticalSignatureTypes ( ) const
inline

◆ GetPkTableManager()

WsfPk::TableManager & WsfMilExtension::GetPkTableManager ( ) const
inline

◆ GetWeaponEffectsTypes()

WsfWeaponEffectsTypes & WsfMilExtension::GetWeaponEffectsTypes ( ) const
inline

◆ GetWeaponTypes()

WsfWeaponTypes & WsfMilExtension::GetWeaponTypes ( ) const
inline

◆ ProcessInput()

bool WsfMilExtension::ProcessInput ( UtInput & aInput)
overridevirtual

Process potential input for the extension. This method examines the current input command to determine if it is one that is recognized by the extension. If it is one recognized by the extension then it processes the command and returns 'true', otherwise it returns 'false'.

Parameters
aInputa reference to a UtInput object.
Returns
'true' if the command was one recognized by the extension or 'false' if not.
Exceptions
UtInput::ExceptionBase(or an object derived from it) if the command was recognized but contains some sort of error.

Reimplemented from WsfScenarioExtension.


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