roadrunner
2.6.0
Fast simulator for SBML models
|
Constructs new integrators. More...
#include <SteadyStateSolverFactory.h>
Static Public Member Functions | |
static SteadyStateSolverFactory & | getInstance () |
Returns the singleton instance of the solver factory. More... | |
static void | Register () |
![]() | |
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.
Implements the factory and singleton patterns. Constructs a new integrator given the name (e.g. cvode, gillespie) and returns a base pointer to rr::SteadyStateSolver.
|
static |
Returns the singleton instance of the solver factory.
If one exists return is otherwise create one. This method implements the sigleton pattern and is thread safe due to use of std::mutex.