#include <WsfExtInterface.hpp>
◆ WsfExtInput()
◆ ~WsfExtInput()
| WsfExtInput::~WsfExtInput |
( |
| ) |
|
|
override |
◆ AddedToScenario()
| void WsfExtInput::AddedToScenario |
( |
| ) |
|
|
overridevirtual |
Called when the extension has been added to the scenario. This is typically used to register new component type objects and object factories, e.g.:
WsfAntennaPatterTypes::Get(scenario).AddObjectFactor(MyAntennaPattern::ObjectFactory);
static WSF_EXPORT WsfMoverTypes & Get(WsfScenario &aScenario)
Return a modifiable reference to the type list associated with the specified scenario.
Definition WsfMoverTypes.cpp:53
bool AddCoreType(WsfStringId aId, std::unique_ptr< T > aDefinitionPtr)
Definition WsfObjectTypeList.hpp:102
WsfScenario & GetScenario() const
Definition WsfScenarioExtension.hpp:46
friend class WsfScenario
Definition WsfScenarioExtension.hpp:39
Script classes must NOT be registered here because they are global to the entire application. They should be registered in WsfApplication::AddedToApplication.
- Note
- GetScenario() and GetApplication() are now valid.
Reimplemented from WsfScenarioExtension.
◆ Complete()
| bool WsfExtInput::Complete |
( |
| ) |
|
|
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.:
app.ExtensionDepends("my_ext", "other_ext");
- Returns
- 'true' if no problems or 'false' if an error occurred that would prevent execution.
Reimplemented from WsfScenarioExtension.
References WsfScenarioExtension::GetScenario(), and mData.
◆ Find()
◆ GetEmission()
◆ ProcessExtInput()
| virtual bool WsfExtInput::ProcessExtInput |
( |
UtInput & | aInput | ) |
|
|
inlinevirtual |
◆ SimulationCreated()
| void WsfExtInput::SimulationCreated |
( |
WsfSimulation & | aSimulation | ) |
|
|
overridevirtual |
◆ mData
The documentation for this class was generated from the following files: