|
WSF
|
#include <WsfOrbitalPropagatorTypes.hpp>
Static methods to return a reference to the type list associated with a scenario. | |
| using | FactoryPtr = std::function<std::unique_ptr<UtOrbitalPropagatorBase>(const std::string&)> |
| using | ObjectFactoryList = std::list<FactoryPtr> |
| static WsfOrbitalPropagatorTypes & | Get (WsfScenario &aScenario) |
| Return a modifiable reference to the type list associated with the specified scenario. | |
| static const WsfOrbitalPropagatorTypes & | Get (const WsfScenario &aScenario) |
| Return a const reference to the type list associated with the specified scenario. | |
| bool | LoadInstance (UtInput &aInput, std::unique_ptr< UtOrbitalPropagatorBase > &aOrbitalPropagatorPtr) const |
| void | AddObjectFactory (FactoryPtr aFactoryPtr) |
| std::unique_ptr< UtOrbitalPropagatorBase > | CreateInstance (const std::string &aTypeName) const |
| using WsfOrbitalPropagatorTypes::FactoryPtr = std::function<std::unique_ptr<UtOrbitalPropagatorBase>(const std::string&)> |
| using WsfOrbitalPropagatorTypes::ObjectFactoryList = std::list<FactoryPtr> |
| void WsfOrbitalPropagatorTypes::AddObjectFactory | ( | FactoryPtr | aFactoryPtr | ) |
Add an object factory for creating an instance from a fundamental type. The factory should be added only once.
| std::unique_ptr< UtOrbitalPropagatorBase > WsfOrbitalPropagatorTypes::CreateInstance | ( | const std::string & | aTypeName | ) | const |
Referenced by LoadInstance().
|
static |
Return a const reference to the type list associated with the specified scenario.
References WsfSpaceExtension::Get(), and WsfSpaceExtension::GetOrbitalPropagatorTypes().
|
static |
Return a modifiable reference to the type list associated with the specified scenario.
References WsfSpaceExtension::Get(), and WsfSpaceExtension::GetOrbitalPropagatorTypes().
Referenced by WsfOrbitDeterminationKalmanFilter::ProcessInput().
| bool WsfOrbitalPropagatorTypes::LoadInstance | ( | UtInput & | aInput, |
| std::unique_ptr< UtOrbitalPropagatorBase > & | aOrbitalPropagatorPtr ) const |
Process propagator type input.
| aInput | The current input stream. |
| aOrbitalPropagatorPtr | The pointer to the orbital propagator. |
References CreateInstance().