CpgIntegrators

CpgIntegrators — Integrator registry

Synopsis


#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              ();

Description

CpgIntegrators provides a registry for integrators. All integrators must be registered before loading a CpgNetwork.

Details

cpg_integrators_list ()

GSList const *      cpg_integrators_list                (void);

Get the list of integrators.

Returns :

A GSList of GType

cpg_integrators_register ()

void                cpg_integrators_register            (GType gtype);

Register a new integrator.

gtype :

A GType

cpg_integrators_unregister ()

void                cpg_integrators_unregister          (GType gtype);

Unregister an integrator.

gtype :

A GType

cpg_integrators_find ()

GType               cpg_integrators_find                (gchar const *id);

Find an integrator by id.

id :

The integrator id

Returns :

A GType of the integrator or G_TYPE_INVALID when the integrator could not be found.

cpg_integrators_create ()

GSList *            cpg_integrators_create              ();

Returns :