|
WSF
|
#include <WsfBallisticMissileLaunchComputer.hpp>


Public Member Functions | |
| WsfBallisticMissileLaunchComputerSharedData () | |
| ~WsfBallisticMissileLaunchComputerSharedData () override | |
| void | GlobalPlatformDeleted (double aSimTime, WsfPlatform *aPlatformPtr) |
| bool | Initialize () override |
| Public Member Functions inherited from WsfSimulationExtension | |
| WsfSimulationExtension () | |
| ~WsfSimulationExtension () override=default | |
| WsfSimulation & | GetSimulation () const |
| const WsfScenario & | GetScenario () const |
| virtual void | AddedToSimulation () |
| 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 |
Public Attributes | |
| WsfBallisticMissileLaunchComputer::TargetMap | mTargetDataMap |
| std::map< WsfStringId, WsfStringId > | mTargetAeroMap |
| std::map< WsfStringId, double > | mTargetMassMap |
| UtCallbackHolder | mCallbacks |
Additional Inherited Members | |
| static void | __private_SetSim (WsfSimulationExtension &aExtension, WsfSimulation *aSimPtr) |
| Protected Member Functions inherited from WsfExtension | |
| void | InitializeExtensionName (const std::string &aName) |
| WsfBallisticMissileLaunchComputerSharedData::WsfBallisticMissileLaunchComputerSharedData | ( | ) |
References WsfSimulationExtension::WsfSimulationExtension().
|
override |
References mTargetDataMap.
| void WsfBallisticMissileLaunchComputerSharedData::GlobalPlatformDeleted | ( | double | aSimTime, |
| WsfPlatform * | aPlatformPtr ) |
A simulation observer for platform deletions.
This method is registered as a simulation callback and is called whenever a platform is deleted. The method will delete any trajectory that exists in the static shared target data table.
References WsfPlatform::GetIndex(), and mTargetDataMap.
Referenced by Initialize().
|
overridevirtual |
Called in response to WsfSimulation::Initialize. This is called to allow the extension to perform any initialization that is required.
Reimplemented from WsfSimulationExtension.
References WsfSimulationExtension::GetSimulation(), GlobalPlatformDeleted(), mCallbacks, and WsfObserver::PlatformDeleted().
| UtCallbackHolder WsfBallisticMissileLaunchComputerSharedData::mCallbacks |
Referenced by Initialize().
| std::map<WsfStringId, WsfStringId> WsfBallisticMissileLaunchComputerSharedData::mTargetAeroMap |
| WsfBallisticMissileLaunchComputer::TargetMap WsfBallisticMissileLaunchComputerSharedData::mTargetDataMap |
The target map contains predicted trajectory data for targets being evaluated. This data is shared among all instances of this class because the results are independent of the evaluator (we are using truth data for the prediction, so all evaluators will see the same predicted results).
Referenced by GlobalPlatformDeleted(), and ~WsfBallisticMissileLaunchComputerSharedData().
| std::map<WsfStringId, double> WsfBallisticMissileLaunchComputerSharedData::mTargetMassMap |