|
OOPS
|
A factory creating instances of concrete subclasses of ObsErrorBase. More...
#include <ObsErrorBase.h>

Public Member Functions | |
| virtual | ~ObsErrorFactory ()=default |
Static Public Member Functions | |
| static std::unique_ptr< ObsErrorBase_ > | create (const ObsErrorParametersBase ¶ms, const ObsSpace_ &) |
| Create and return a new observation error covariance matrix model. More... | |
| static std::unique_ptr< ObsErrorParametersBase > | createParameters (const std::string &model) |
| Create and return an instance of the subclass of ObsErrorParametersBase storing parameters of covariance matrix 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 | |
| ObsErrorFactory (const std::string &model) | |
Register a maker able to create covariance matrix models of type model. More... | |
Private Types | |
| typedef ObsErrorBase< OBS > | ObsErrorBase_ |
| typedef ObsSpace< OBS > | ObsSpace_ |
Private Member Functions | |
| virtual std::unique_ptr< ObsErrorBase_ > | make (const ObsErrorParametersBase &, const ObsSpace_ &)=0 |
| virtual std::unique_ptr< ObsErrorParametersBase > | makeParameters () const =0 |
Static Private Member Functions | |
| static std::map< std::string, ObsErrorFactory< OBS > * > & | getMakers () |
A factory creating instances of concrete subclasses of ObsErrorBase.
Definition at line 118 of file generic/ObsErrorBase.h.
|
private |
Definition at line 119 of file generic/ObsErrorBase.h.
|
private |
Definition at line 120 of file generic/ObsErrorBase.h.
|
virtualdefault |
|
explicitprotected |
Register a maker able to create covariance matrix models of type model.
Definition at line 185 of file generic/ObsErrorBase.h.
|
static |
Create and return a new observation error covariance matrix model.
The model's type is determined by the covariance model attribute of params. params must be an instance of the subclass of ObsErrorParametersBase associated with that model type, otherwise an exception will be thrown.
Definition at line 196 of file generic/ObsErrorBase.h.

|
static |
Create and return an instance of the subclass of ObsErrorParametersBase storing parameters of covariance matrix models of the specified type.
Definition at line 213 of file generic/ObsErrorBase.h.
|
inlinestatic |
Return the names of all models that can be created by one of the registered makers.
Definition at line 136 of file generic/ObsErrorBase.h.

|
inlinestaticprivate |
|
privatepure virtual |
Implemented in oops::interface::ObsErrorMaker< OBS, T >, and oops::ObsErrorMaker< OBS, T >.
|
privatepure virtual |
Implemented in oops::interface::ObsErrorMaker< OBS, T >, and oops::ObsErrorMaker< OBS, T >.