#include <WsfOrbitalTargetingCostTypes.hpp>
◆ FactoryFunction
◆ OrbitalTargetingCostTypes()
| wsf::space::OrbitalTargetingCostTypes::OrbitalTargetingCostTypes |
( |
| ) |
|
◆ AddObjectFactory()
| void wsf::space::OrbitalTargetingCostTypes::AddObjectFactory |
( |
FactoryFunction | aFactoryFunction | ) |
|
Add an object factory for creating an instance of a fundamental type. The provided aFactoryFunction should be added only once.
- Parameters
-
| aFactoryFunction | An object factory for creating instances of a fundamental type. |
Referenced by OrbitalTargetingCostTypes().
◆ CreateInstance()
| std::unique_ptr< OrbitalTargetingCost > wsf::space::OrbitalTargetingCostTypes::CreateInstance |
( |
const std::string & | aTypeName | ) |
const |
Create an orbital targeting cost instance with the given aTypeName.
- Parameters
-
| aTypeName | The name of the type of orbital targeting cost to create. |
- Returns
- An instance of the given
aTypeName is this object recognizes the type; nullptr otherwise.
Referenced by LoadInstance().
◆ Get() [1/2]
◆ Get() [2/2]
◆ LoadInstance()
| bool wsf::space::OrbitalTargetingCostTypes::LoadInstance |
( |
UtInput & | aInput, |
|
|
std::unique_ptr< OrbitalTargetingCost > & | aOrbitalTargetingCostPtr ) const |
Process orbital targeting cost function type input.
- Parameters
-
| aInput | The current input stream. |
| aOrbitalTargetingCostPtr | The pointer to the orbital targeting cost function. |
- Returns
- true if the current command was recognized and processes; false otherwise.
References CreateInstance().
The documentation for this class was generated from the following files: