#include <WsfMultiresolutionTypes.hpp>
◆ AddedToScenario()
| void WsfMultiresolutionTypesRegistration::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.
◆ GetMultiresolutionTypes()
template<typename DerivedComponent>
| WsfMultiresolutionTypes< DerivedComponent > & WsfMultiresolutionTypesRegistration::GetMultiresolutionTypes |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: