IODA Bundle
oops::ObsErrorFactory< OBS > Class Template Referenceabstract

A factory creating instances of concrete subclasses of ObsErrorBase. More...

#include <ObsErrorBase.h>

Inheritance diagram for oops::ObsErrorFactory< OBS >:
[legend]

Public Member Functions

virtual ~ObsErrorFactory ()=default
 

Static Public Member Functions

static std::unique_ptr< ObsErrorBase_create (const eckit::Configuration &, const ObsSpace_ &)
 

Protected Member Functions

 ObsErrorFactory (const std::string &)
 

Private Types

typedef ObsErrorBase< OBS > ObsErrorBase_
 
typedef ObsSpace< OBS > ObsSpace_
 

Private Member Functions

virtual std::unique_ptr< ObsErrorBase_make (const eckit::Configuration &, const ObsSpace_ &)=0
 

Static Private Member Functions

static std::map< std::string, ObsErrorFactory< OBS > * > & getMakers ()
 

Detailed Description

template<typename OBS>
class oops::ObsErrorFactory< OBS >

A factory creating instances of concrete subclasses of ObsErrorBase.

Definition at line 80 of file generic/ObsErrorBase.h.

Member Typedef Documentation

◆ ObsErrorBase_

template<typename OBS >
typedef ObsErrorBase<OBS> oops::ObsErrorFactory< OBS >::ObsErrorBase_
private

Definition at line 81 of file generic/ObsErrorBase.h.

◆ ObsSpace_

template<typename OBS >
typedef ObsSpace<OBS> oops::ObsErrorFactory< OBS >::ObsSpace_
private

Definition at line 82 of file generic/ObsErrorBase.h.

Constructor & Destructor Documentation

◆ ~ObsErrorFactory()

template<typename OBS >
virtual oops::ObsErrorFactory< OBS >::~ObsErrorFactory ( )
virtualdefault

◆ ObsErrorFactory()

template<typename OBS >
oops::ObsErrorFactory< OBS >::ObsErrorFactory ( const std::string &  name)
explicitprotected

Definition at line 115 of file generic/ObsErrorBase.h.

Member Function Documentation

◆ create()

template<typename OBS >
std::unique_ptr< ObsErrorBase< OBS > > oops::ObsErrorFactory< OBS >::create ( const eckit::Configuration &  conf,
const ObsSpace_ obs 
)
static

Definition at line 126 of file generic/ObsErrorBase.h.

Here is the caller graph for this function:

◆ getMakers()

template<typename OBS >
static std::map< std::string, ObsErrorFactory<OBS> * >& oops::ObsErrorFactory< OBS >::getMakers ( )
inlinestaticprivate

Definition at line 91 of file generic/ObsErrorBase.h.

◆ make()

template<typename OBS >
virtual std::unique_ptr<ObsErrorBase_> oops::ObsErrorFactory< OBS >::make ( const eckit::Configuration &  ,
const ObsSpace_  
)
privatepure virtual

The documentation for this class was generated from the following file: