|
OOPS
|
A subclass of ModelFactory able to create instances of T (a concrete subclass of interface::ModelBase<MODEL>). Passes MODEL::Geometry to the constructor of T. More...
#include <ModelBase.h>


Public Types | |
| typedef oops::Geometry< MODEL > | Geometry_ |
Public Member Functions | |
| ModelMaker (const std::string &name) | |
| oops::ModelBase< MODEL > * | make (const Geometry_ &geom, const ModelParametersBase ¶meters) override |
| std::unique_ptr< ModelParametersBase > | makeParameters () const override |
Public Member Functions inherited from oops::ModelFactory< MODEL > | |
| virtual | ~ModelFactory ()=default |
Private Types | |
| typedef TParameters_IfAvailableElseFallbackType_t< T, GenericModelParameters > | Parameters_ |
Additional Inherited Members | |
Static Public Member Functions inherited from oops::ModelFactory< MODEL > | |
| static ModelBase< MODEL > * | create (const Geometry_ &, const ModelParametersBase ¶meters) |
| Create and return a new model. More... | |
| static std::unique_ptr< ModelParametersBase > | createParameters (const std::string &name) |
| Create and return an instance of the subclass of ModelParametersBase storing parameters of models of the specified type. More... | |
| static std::vector< std::string > | getMakerNames () |
| Return the names of all models that can be created by one of the registered makers. More... | |
Protected Member Functions inherited from oops::ModelFactory< MODEL > | |
| ModelFactory (const std::string &name) | |
Register a maker able to create models of type name. More... | |
A subclass of ModelFactory able to create instances of T (a concrete subclass of interface::ModelBase<MODEL>). Passes MODEL::Geometry to the constructor of T.
Definition at line 80 of file interface/ModelBase.h.
| typedef oops::Geometry<MODEL> oops::interface::ModelMaker< MODEL, T >::Geometry_ |
Definition at line 87 of file interface/ModelBase.h.
|
private |
Defined as T::Parameters_ if T defines a Parameters_ type; otherwise as GenericModelParameters.
Definition at line 84 of file interface/ModelBase.h.
|
inlineexplicit |
Definition at line 89 of file interface/ModelBase.h.
|
inlineoverridevirtual |
Implements oops::ModelFactory< MODEL >.
Definition at line 91 of file interface/ModelBase.h.

|
inlineoverridevirtual |
Implements oops::ModelFactory< MODEL >.
Definition at line 99 of file interface/ModelBase.h.