Currently the input type of an module must always match another modules output type. But often a module only needs a more abstract concept as input. For example a modules that finds min and max value should be able to operate on an image, but it actually needs only a range as input.
This conversion from a more complex type like bitmap to a less complex type like range could be implemented as a View. A View is applied to one or more configuration file variables. It is provided as a DLL like any module or component where the conversion from one or more types to the View type is described. It should be possible to add more than one description by additional DLLs to allow conversion from new types.
The configuration should look like:
module-name
<-
input-1 = view-name(&existing-variable-1)
input-2 = view-name(<existing-variable-2-last-use)
input-3 = view-name(&existing-variable-1, <existing-variable-3-last-use)
Currently the input type of an module must always match another modules output type. But often a module only needs a more abstract concept as input. For example a modules that finds min and max value should be able to operate on an image, but it actually needs only a range as input.
This conversion from a more complex type like bitmap to a less complex type like range could be implemented as a View. A View is applied to one or more configuration file variables. It is provided as a DLL like any module or component where the conversion from one or more types to the View type is described. It should be possible to add more than one description by additional DLLs to allow conversion from new types.
The configuration should look like: