CellML API
cellml_context::ModelListMonitor Interface Reference
cellml_context::ModelListMonitor Interface Reference
A monitor for changes to model lists. More...
Inheritance diagram for cellml_context::ModelListMonitor:

Collaboration diagram for cellml_context::ModelListMonitor:

Public Member Functions | |
void | modelAdded (in ModelNode newNode, in short depth) |
Called after a model is added to the list(or a list on a child of the list, and so on). | |
void | modelRemoved (in ModelNode oldNode, in short depth) |
Called before a model is removed from the list(or a direct or indirect derivative list). | |
![]() | |
void | add_ref () |
Called to indicate that some code is keeping an owning reference to the object. | |
oneway void | release_ref () |
Removes a reference to an object which was created by some other means (e.g. | |
IObject | query_interface (in utf8string id) |
Returns an IObject of the same implementation, which supports a specific interface. |
Additional Inherited Members | |
![]() | |
readonly attribute string | objid |
Fetches the ID of the object. |
Detailed Description
A monitor for changes to model lists.
Definition at line 267 of file CellML_Context.idl.
Member Function Documentation
void cellml_context::ModelListMonitor::modelAdded | ( | in ModelNode | newNode, |
in short | depth | ||
) |
Called after a model is added to the list(or a list on a child of the list, and so on).
- Parameters
-
newNode The model node added. depth The depth at which the node was added. This is 0 if a model is added to the toplevel list, 1 for a direct derivative of a toplevel model, and so on.
void cellml_context::ModelListMonitor::modelRemoved | ( | in ModelNode | oldNode, |
in short | depth | ||
) |
Called before a model is removed from the list(or a direct or indirect derivative list).
- Parameters
-
oldNode The model node removed. depth The depth at which the node was removed. This is 0 if a model is added to the toplevel list, 1 for a direct derivative of a toplevel model, and so on.