roadrunner
2.6.0
Fast simulator for SBML models
|
Constructs new integrators. More...
#include <IntegratorFactory.h>
Static Public Member Functions | |
static IntegratorFactory & | getInstance () |
get an instance of this IntegratorFactory. More... | |
static void | Register () |
Registers all integrators at startup. More... | |
![]() | |
template<class FactoryType > | |
static FactoryType & | getInstance (std::mutex &mutex) |
Returns the singleton instance of the integrator factory. More... | |
Additional Inherited Members | |
![]() | |
Solver * | New (const std::string &name, ExecutableModel *m) const |
Constructs a new integrator given the name (e.g. cvode, gillespie) More... | |
virtual void | registerSolver (Registrable *i) |
Registers a new integrator with the factory so that it can be constructed. More... | |
virtual std::size_t | size () const |
virtual std::string | name (std::size_t n) const |
virtual std::string | hint (std::size_t n) const |
virtual std::string | description (std::size_t n) const |
![]() | |
RegistrationFactory ()=default | |
Prevents external instantiation. More... | |
![]() | |
RegistrableVector | registrars |
Constructs new integrators.
This is a singleton class. All methods except for getInstance are fully determined by superclass FactoryWithRegistration.
|
static |
get an instance of this IntegratorFactory.
If one exists return is otherwise create one. This method implements the sigleton pattern and is thread safe due to use of std::mutex.
|
static |
Registers all integrators at startup.
Is run at first instantiation of RoadRunner. Subsequent calls have no effect.