|
tfel
|
abstract factory for backends More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/GenericParallel/BackendFactory.hxx>
Public Types | |
| using | DataMap = tfel::utilities::DataMap |
| a simple alias | |
| using | Generator |
| a simple alias | |
Public Member Functions | |
| void | add (std::string_view, Generator) |
| register a backend | |
| std::unique_ptr< AbstractBackend > | generate (std::string_view, const DataMap &) const |
Static Public Member Functions | |
| static BackendFactory & | get () noexcept |
abstract factory for backends
a simple alias
register a backend
| [in] | n | name of the backend |
| [in] | g | generator |
| std::unique_ptr< AbstractBackend > mfront::generic_parallel::BackendFactory::generate | ( | std::string_view | , |
| const DataMap & | ) const |
| [in] | n | name of the backend |
| [in] | opts | options passed to the backend |
|
staticnoexcept |