|
WSF
|
Reads the input for console_output. More...
#include <WsfConsole.hpp>


Public Member Functions | |
| ScenarioExtension ()=default | |
| ScenarioExtension (const ScenarioExtension &)=delete | |
| ScenarioExtension & | operator= (const ScenarioExtension &)=delete |
| bool | ProcessInput (UtInput &aInput) override |
| void | SimulationCreated (WsfSimulation &aSimulation) override |
| bool | Complete () override |
| 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 | Complete2 () |
| virtual bool | AlwaysCreate () |
| Public Member Functions inherited from WsfExtension | |
| virtual | ~WsfExtension ()=default |
| const std::string & | GetExtensionName () const |
Additional Inherited Members | |
| Protected Member Functions inherited from WsfExtension | |
| void | InitializeExtensionName (const std::string &aName) |
Reads the input for console_output.
|
default |
Referenced by operator=(), and ScenarioExtension().
|
delete |
References ScenarioExtension().
|
overridevirtual |
Called when all inputs are processed. This is called when the application calls WsfScenario::LoadComplete to signify that all input data has been loaded into the scenario. The extension should perform any additional validity checking or other processing on its input data. Constant data may be created and stored here. Unless Complete2() is also implement, the contents of this class should not be changed after this call.
The extension should not assume anything about the state of another extension unless this a dependency has been registered to ensure the other extension has been called prior to this, e.g.:
Reimplemented from WsfScenarioExtension.
Referenced by operator=().
|
delete |
References Complete(), ProcessInput(), ScenarioExtension(), and SimulationCreated().
|
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.
Referenced by operator=().
|
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 WsfSimulation::SubstituteOutputFileVariables().
Referenced by operator=().