Skip to content
Kermin E Fleming edited this page Feb 15, 2015 · 2 revisions

Awb-type

In order to provide a plug-n-play ability of modules into models, AWB provides the notion of the awb-type of a module. Modules of the same awb-type can serve as alternative implementations of a node in the model tree.

While the awb-type of a module does not precisely specify the interface to a module, it provides an informal claim by the programmer of the module that it will serve as an alternative to any other module that also claims to be of the same awb-type.

The awb-type of a module is specified in the %provides line of the module’s .awb file. The awb-type of a submodel is determined by the awb-type of its root module.

Tools such as awb show the modules of the same awb-type when offering alternative modules to insert into a node in the model tree.

We recognize that sometimes collections of modules that are inserted into different places in the model tree will be mutually compatible or incompatible. We are considering mechanisms to help the user recognize such combinations.

Clone this wiki locally