11 #ifndef OOPS_BASE_WEIGHTINGFCT_H_ 12 #define OOPS_BASE_WEIGHTINGFCT_H_ 17 #include "oops/util/DateTime.h" 40 virtual std::map< util::DateTime, double >
setWeights(
const util::DateTime &,
41 const util::DateTime &,
42 const util::Duration &) = 0;
57 static std::map < std::string, WeightFactory * > *
makers_;
63 {
return new FCT(config);}
72 #endif // OOPS_BASE_WEIGHTINGFCT_H_
virtual std::map< util::DateTime, double > setWeights(const util::DateTime &, const util::DateTime &, const util::Duration &)=0
virtual WeightingFct * make(const eckit::Configuration &)=0
virtual WeightingFct * make(const eckit::Configuration &config)
static std::map< std::string, WeightFactory *> * makers_
The namespace for the main oops code.
WeightMaker(const std::string &name)
WeightFactory(const std::string &)
static WeightingFct * create(const eckit::Configuration &)