cpg-network Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <cpg-network/cpg-integrators.h> GSList const * cpg_integrators_list (void); void cpg_integrators_register (GType gtype); void cpg_integrators_unregister (GType gtype); GType cpg_integrators_find (gchar const *id); GSList * cpg_integrators_create ();
CpgIntegrators provides a registry for integrators. All integrators must be registered before loading a CpgNetwork.
GSList const * cpg_integrators_list (void);
Get the list of integrators.
Returns : |
A GSList of GType |
void cpg_integrators_register (GType gtype);
Register a new integrator.
|
A GType |
void cpg_integrators_unregister (GType gtype);
Unregister an integrator.
|
A GType |
GType cpg_integrators_find (gchar const *id);
Find an integrator by id.
|
The integrator id |
Returns : |
A GType of the integrator or G_TYPE_INVALID when the integrator could not be found. |