|
WSF
|
#include <WsfSIMDIS_Interface.hpp>


Public Member Functions | |
| ScenarioExtension () | |
| void | SimulationCreated (WsfSimulation &aSimulation) override |
| bool | ProcessInput (UtInput &aInput) override |
| const std::string & | GetOutputFilename () const |
| const std::string & | GetHitIcon () const |
| const std::string & | GetKillIcon () const |
| const double | GetEventDuration () const |
| const bool | EnableBeams () const |
| const std::string & | GetBeamColor (const std::string &aSensorTypeName) const |
| const double | GetLatitude () const |
| const double | GetLongitude () const |
| const double | GetAltitude () const |
| const char | GetFHN (const std::string &aSide) const |
| Public Member Functions inherited from WsfScenarioExtension | |
| WsfScenarioExtension () | |
| ~WsfScenarioExtension () override | |
| WsfScenario & | GetScenario () const |
| WsfApplication & | GetApplication () const |
| virtual void | AddedToScenario () |
| 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 ScenarioExtension * | Find (const WsfScenario &aScenario) |
Additional Inherited Members | |
| Protected Member Functions inherited from WsfExtension | |
| void | InitializeExtensionName (const std::string &aName) |
Scenario Extension. Reads scenario input related to output to SIMDIS asi files
| wsf::simdis::ScenarioExtension::ScenarioExtension | ( | ) |
References WsfScenarioExtension::WsfScenarioExtension().
Referenced by Find().
|
inline |
|
static |
References WsfScenario::FindExtension(), ScenarioExtension(), and WsfScenarioExtension::WsfScenario.
|
inline |
| const std::string & wsf::simdis::ScenarioExtension::GetBeamColor | ( | const std::string & | aSensorTypeName | ) | const |
|
inline |
| const char wsf::simdis::ScenarioExtension::GetFHN | ( | const std::string & | aSide | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
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'.
| 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 WsfScenarioExtension.
|
overridevirtual |
Called when a simulation has been created. (Technically this is called upon entry to WsfSimulation::Initialize()). This is typically used when a scenario extension also requires a simulation extension. The method would typically register the simulation extension as follows:
| aSimulation | The simulation that is being created. See note below! |
Reimplemented from WsfScenarioExtension.
References WsfExtension::GetExtensionName(), and WsfSimulation::RegisterExtension().