|
WSF
|
#include <WsfScenarioExtension.hpp>


Public Member Functions | |
| WsfLegacyScenarioExtension (CLASS *aClassPtr) | |
| ~WsfLegacyScenarioExtension () override | |
| bool | ProcessInput (UtInput &aInput) override |
| void | SimulationCreated (WsfSimulation &aSimulation) override |
| 'Creates' the legacy extension only once | |
| 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 |
Protected Attributes | |
| std::recursive_mutex | mMutex |
| CLASS * | mClassPtr |
Additional Inherited Members | |
| Protected Member Functions inherited from WsfExtension | |
| void | InitializeExtensionName (const std::string &aName) |
Implements WsfScenarioExtension for legacy code that does not support multiple simulations WsfLegacyScenarioExtension will provide capability to run a single simulation with the given extension. Subsequent simulations will not have access to this extension CLASS should be castable to WsfSimulationExtension.
|
inline |
References mClassPtr.
|
inlineoverride |
References mClassPtr.
|
inlineoverridevirtual |
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.
References mClassPtr.
|
inlineoverridevirtual |
'Creates' the legacy extension only once
Reimplemented from WsfScenarioExtension.
References WsfExtension::GetExtensionName(), mClassPtr, mMutex, and WsfPrivate::RegisterSimulationExtension().
|
protected |
Referenced by ProcessInput(), SimulationCreated(), WsfLegacyScenarioExtension(), and ~WsfLegacyScenarioExtension().
|
protected |
Referenced by SimulationCreated().