/home/runner/work/amr-wind/amr-wind/amr-wind/core/Factory.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
Factory.H
Go to the documentation of this file.
Definition BCInterface.cpp:7
Class to handle registration of subclass for runtime selection.
Definition Factory.H:96
Definition Factory.H:65
static std::unique_ptr< Base > create(const std::string &key, Args... args)
Definition Factory.H:71
std::unordered_map< std::string, CreatorFunc > LookupTable
Definition Factory.H:129
Factory()=default
virtual ~Factory()=default
static void key_exists_or_error(const std::string &key)
Definition Factory.H:133
static LookupTable & table()
Lookup table containing all registered instances.
Definition Factory.H:149
std::unique_ptr< Base >(*)(Args...) CreatorFunc
Definition Factory.H:128
Generated by 1.12.0