|
WSF
|
The simulation extension for the 'mil' extension. More...
#include <WsfMil.hpp>


Public Member Functions | |
| WsfMilInterface () | |
| ~WsfMilInterface () override | |
| void | AddedToSimulation () override |
| WsfQuantumTaskerObserver & | GetQuantumTaskerObserver () |
| WsfWeaponObserver & | GetWeaponObserver () |
| WsfWeaponTaskObserver & | GetWeaponTaskObserver () |
| WsfEW_EffectManager & | GetEW_EffectManager () const |
| void | KillPlatform (double aSimTime, WsfPlatform *aPlatformPtr) |
| Public Member Functions inherited from WsfSimulationExtension | |
| WsfSimulationExtension () | |
| ~WsfSimulationExtension () override=default | |
| WsfSimulation & | GetSimulation () const |
| const WsfScenario & | GetScenario () const |
| virtual bool | Initialize () |
| virtual bool | PrepareExtension () |
| virtual bool | PlatformsInitialized () |
| virtual void | PendingStart () |
| virtual void | Start () |
| virtual void | Complete (double aSimTime) |
| Public Member Functions inherited from WsfExtension | |
| virtual | ~WsfExtension ()=default |
| const std::string & | GetExtensionName () const |
Static Public Member Functions | |
| static WsfMilInterface * | Find (const WsfSimulation &aSimulation) |
| static WsfMilInterface * | Find (const WsfSimulation *aSimulationPtr) |
| static void | __private_SetSim (WsfSimulationExtension &aExtension, WsfSimulation *aSimPtr) |
Additional Inherited Members | |
| Protected Member Functions inherited from WsfExtension | |
| void | InitializeExtensionName (const std::string &aName) |
The simulation extension for the 'mil' extension.
|
override |
|
overridevirtual |
Called in response to WsfSimulation::RegisterExtension. The extension has now been registered in the simulation.
Reimplemented from WsfSimulationExtension.
References WsfEventPipeInterface::AddLogger(), WsfFrameStepSimulation::AdvanceFrameObjects, WsfCSV_EventOutput::Find(), WsfEventOutput::Find(), WsfEventPipeInterface::Find(), WsfScriptObserver::Find(), wsf::event::output::SimulationExtension::GetSettings(), WsfSimulationExtension::GetSimulation(), WsfAssetMessage::GetTypeId(), WsfObserver::PlatformDeleted(), Register_event_output(), WsfMilScriptObserver::Register_script_observer(), wsf::event::output::SimulationExtension::RegisterMessagePrinter(), wsf::event::Settings::SetInterferencePowerLabel(), and wsf::event::Settings::SetSNR_InterferenceLabel().
|
static |
References WsfSimulation::FindExtension(), WsfMilInterface(), and WsfSimulationExtension::WsfSimulation.
Referenced by WsfEW_EffectManager::Find(), and WsfWeaponEffects::Terminate().
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
| void WsfMilInterface::KillPlatform | ( | double | aSimTime, |
| WsfPlatform * | aPlatformPtr ) |
Kill a platform.
This is very similar to DeletePlatform except that is uses the platform 'on_death_action' to determine if the platform should be deleted (removed from the simulation), or retained and disabled.
| aSimTime | Current simulation time. |
| aPlatformPtr | Pointer to platform to be killed. |
References WsfSimulation::AddEvent(), WsfPlatform::cON_BROKEN_REMOVE, WsfSimulation::DeletePlatform(), WsfPlatform::GetIndex(), WsfPlatform::GetOnBrokenAction(), WsfSimulation::GetPlatformByIndex(), WsfSimulationExtension::GetSimulation(), WsfPlatform::IsBroken(), platformPtr, WsfSimulation::ProcessPlatformBrokenEvent(), WsfPlatform::SetBroken(), and WsfSimulationExtension::WsfSimulation.
Referenced by WsfWeaponEffects::Terminate().