libRoadRunner C++ API  1.3
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Static Public Member Functions | List of all members
rr::IntegratorFactory Class Reference

Constructs new integrators. More...

#include <Integrator.h>

Public Member Functions

Integrator * New (std::string name, ExecutableModel *m) const
 Constructs a new integrator given the name (e.g. cvode, gillespie) More...
 
void registerIntegrator (IntegratorRegistrar *i)
 Registers a new integrator with the factory so that it can be constructed. More...
 

Static Public Member Functions

static IntegratorFactorygetInstance ()
 Returns the singleton instance of the integrator factory. More...
 

Detailed Description

Constructs new integrators.

Author
JKM, WBC

Implements the factory and singleton patterns. Constructs a new integrator given the name (e.g. cvode, gillespie) and returns a base pointer to rr::Integrator.

Member Function Documentation

IntegratorFactory & rr::IntegratorFactory::getInstance ( )
static

Returns the singleton instance of the integrator factory.

Author
JKM, WBC
Integrator * rr::IntegratorFactory::New ( std::string  name,
ExecutableModel m 
) const

Constructs a new integrator given the name (e.g. cvode, gillespie)

Author
JKM, WBC
void rr::IntegratorFactory::registerIntegrator ( IntegratorRegistrar i)

Registers a new integrator with the factory so that it can be constructed.

Author
JKM, WBC

Should be called at startup for new integrators.


The documentation for this class was generated from the following files: