DUNE-FEM (unstable)
return singleton instance of given Object type. More...
#include <dune/fem/storage/singleton.hh>
Static Public Member Functions | |
template<class... Args> | |
static DUNE_EXPORT Object & | instance (Args &&... args) |
return singleton instance of given Object type. More... | |
Static Protected Member Functions | |
template<class... Args> | |
static DUNE_EXPORT Object & | getObject (Args &&... args) |
return singleton instance of given Object type. | |
Detailed Description
class Dune::Fem::Singleton< Object >
return singleton instance of given Object type.
Member Function Documentation
◆ instance()
|
inlinestatic |
return singleton instance of given Object type.
- Parameters
-
args Possible constructor arguments for object when created for first time
References Dune::Fem::Singleton< Object >::getObject().
Referenced by Dune::Fem::FemEocTable::addEntry(), Dune::Fem::FemEoc::addEntry(), Dune::Fem::FemEoc::clear(), Dune::Fem::QuadratureProvider< FieldImp, dim, IntegrationTraits >::getQuadrature(), Dune::Fem::FemEoc::initialize(), Dune::Fem::FemEocTable::initialize(), Dune::Fem::IdProvider::instance(), Dune::Fem::FlopCounter::print(), Dune::Fem::FemEocTable::setErrors(), Dune::Fem::FemEoc::setErrors(), Dune::Fem::SingletonList< Key, Object, Factory >::singletonList(), Dune::Fem::FlopCounter::start(), Dune::Fem::FlopCounter::stop(), Dune::Fem::FemEocTable::write(), and Dune::Fem::FemEoc::write().
The documentation for this class was generated from the following file:
- dune/fem/storage/singleton.hh