You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ILogicalChildOwner has a default implementation which looks for its ILogicalChild nodes in all MPS models of the module where itself resides. In many applications, it is fine to look in the current MPS model only (not in the whole module). If this can be guaranteed, it can bring a big performance improvement, especially for modules with many models.
Although the respective behavior method of ILogicalChildOwner can be overwritten by each implementor individually, we want to provide the derived interface ILocalLogicalChildOwner as a convenience by the framework. Here, the scope is fixed to the local MPS model, and the method cannot be overwritten by implementors.
Additionally, the framework will provide a checking rule on ILogicalChild nodes which shows an error if the owner is a ILocalLogicalChildOwner and the models of child and owner are different.
The text was updated successfully, but these errors were encountered:
kbirken
changed the title
Prove extended ILogicalChildOwner which finds children in a restricted scope
Provide extended ILogicalChildOwner which finds children in a restricted scope
Nov 4, 2024
The
ILogicalChildOwner
has a default implementation which looks for itsILogicalChild
nodes in all MPS models of the module where itself resides. In many applications, it is fine to look in the current MPS model only (not in the whole module). If this can be guaranteed, it can bring a big performance improvement, especially for modules with many models.Although the respective behavior method of
ILogicalChildOwner
can be overwritten by each implementor individually, we want to provide the derived interfaceILocalLogicalChildOwner
as a convenience by the framework. Here, the scope is fixed to the local MPS model, and the method cannot be overwritten by implementors.Additionally, the framework will provide a checking rule on
ILogicalChild
nodes which shows an error if the owner is aILocalLogicalChildOwner
and the models of child and owner are different.The text was updated successfully, but these errors were encountered: