intel / parameter-framework

Plugin-based and rule-based framework for describing and controlling parameters
https://01.org/parameter-framework/
Other
60 stars 48 forks source link

Add an API for passing context mapping values at runtime #378

Open dawagner opened 7 years ago

dawagner commented 7 years ago

Sometimes, the person writing a structure file does not yet know the value of a context mapping (e.g. what is the name of the system's sound card?). Currently, this can be worked around in several ways, depending on when this information is known. For instance, the build system can generate the final file, or arrange for the final file to be wrapped by another one containing that information, or it can even be generated at runtime.

However, it is not ideal.

Another solution would be to make it possible for the Parameter Framework's client to set context mapping keys at runtime, before starting the ParameterManager.