12#ifndef WSFORBITALTARGETINGCOSTTYPES_HPP
13#define WSFORBITALTARGETINGCOSTTYPES_HPP
23#include "wsf_space_export.h"
43 using FactoryFunction = std::function<std::unique_ptr<OrbitalTargetingCost>(
const std::string&)>;
49 bool LoadInstance(UtInput& aInput, std::unique_ptr<OrbitalTargetingCost>& aOrbitalTargetingCostPtr)
const;
59 std::unique_ptr<OrbitalTargetingCost>
CreateInstance(
const std::string& aTypeName)
const;
62 using ObjectFactoryList = std::list<FactoryFunction>;
64 ObjectFactoryList mObjectFactoryList;
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
OrbitalTargetingCostTypes()
Definition WsfOrbitalTargetingCostTypes.cpp:23
bool LoadInstance(UtInput &aInput, std::unique_ptr< OrbitalTargetingCost > &aOrbitalTargetingCostPtr) const
Definition WsfOrbitalTargetingCostTypes.cpp:47
static OrbitalTargetingCostTypes & Get(WsfScenario &aScenario)
Return a modifiable reference to the orbital targeting cost function type list associated with the gi...
Definition WsfOrbitalTargetingCostTypes.cpp:37
void AddObjectFactory(FactoryFunction aFactoryFunction)
Definition WsfOrbitalTargetingCostTypes.cpp:67
std::function< std::unique_ptr< OrbitalTargetingCost >(const std::string &)> FactoryFunction
Definition WsfOrbitalTargetingCostTypes.hpp:43
std::unique_ptr< OrbitalTargetingCost > CreateInstance(const std::string &aTypeName) const
Definition WsfOrbitalTargetingCostTypes.cpp:72
A cost function to minimize when computing a solution for an orbital targeting operation.
Definition WsfOrbitalTargetingCost.hpp:29
Definition WsfAtmosphere.cpp:23
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32