|
libSBML C++ API
5.20.2
|
Static Public Member Functions | |
| static void | addCallback (Callback *cb) |
| Registers a new processing callback that will be called with a newly instantiated ModelDefinition object. More... | |
| static void | clearCallbacks () |
| Clears all registered processing callbacks. More... | |
| static int | getNumCallbacks () |
| static int | invokeCallbacks (SBMLDocument *doc) |
| Invokes all registered callbacks on the given document. More... | |
| static void | removeCallback (Callback *cb) |
| Removes the specified callback from the list of registered callbacks. More... | |
| static void | removeCallback (int index) |
| Removes the callback with given index. More... | |
Protected Member Functions | |
| CallbackRegistry () | |
| protected constructor, use the static methods for access. More... | |
Static Protected Member Functions | |
| static CallbackRegistry & | getInstance () |
| the static instance of the class More... | |
|
protected |
protected constructor, use the static methods for access.
|
static |
Registers a new processing callback that will be called with a newly instantiated ModelDefinition object.
This allows for all post processing on it that needs to happen before integrating it with the target document.
| cb | the callback. |
|
static |
Clears all registered processing callbacks.
|
staticprotected |
the static instance of the class
|
static |
|
static |
Invokes all registered callbacks on the given document.
If the callbacks indicate that processing should be stopped they return a value other than operation success.
|
static |
Removes the specified callback from the list of registered callbacks.
| cb | the callback to be removed. |
|
static |
Removes the callback with given index.
| index | the index of the callback to be removed from the list. |