WSF
WsfOrbitalPropagatorTypes Class Reference

#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 WsfOrbitalPropagatorTypesGet (WsfScenario &aScenario)
 Return a modifiable reference to the type list associated with the specified scenario.
static const WsfOrbitalPropagatorTypesGet (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

Member Typedef Documentation

◆ FactoryPtr

using WsfOrbitalPropagatorTypes::FactoryPtr = std::function<std::unique_ptr<UtOrbitalPropagatorBase>(const std::string&)>

◆ ObjectFactoryList

Member Function Documentation

◆ AddObjectFactory()

void WsfOrbitalPropagatorTypes::AddObjectFactory ( FactoryPtr aFactoryPtr)

Add an object factory for creating an instance from a fundamental type. The factory should be added only once.

◆ CreateInstance()

std::unique_ptr< UtOrbitalPropagatorBase > WsfOrbitalPropagatorTypes::CreateInstance ( const std::string & aTypeName) const

Referenced by LoadInstance().

◆ Get() [1/2]

const WsfOrbitalPropagatorTypes & WsfOrbitalPropagatorTypes::Get ( const WsfScenario & aScenario)
static

Return a const reference to the type list associated with the specified scenario.

References WsfSpaceExtension::Get(), and WsfSpaceExtension::GetOrbitalPropagatorTypes().

◆ Get() [2/2]

WsfOrbitalPropagatorTypes & WsfOrbitalPropagatorTypes::Get ( WsfScenario & aScenario)
static

Return a modifiable reference to the type list associated with the specified scenario.

References WsfSpaceExtension::Get(), and WsfSpaceExtension::GetOrbitalPropagatorTypes().

Referenced by WsfOrbitDeterminationKalmanFilter::ProcessInput().

◆ LoadInstance()

bool WsfOrbitalPropagatorTypes::LoadInstance ( UtInput & aInput,
std::unique_ptr< UtOrbitalPropagatorBase > & aOrbitalPropagatorPtr ) const

Process propagator type input.

Parameters
aInputThe current input stream.
aOrbitalPropagatorPtrThe pointer to the orbital propagator.
Returns
'true' if the current command was recognized and processed, 'false' if not recognized.

References CreateInstance().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved