NoesisGUI

Engine Configuration

NoesisEngine has different levels of configuration asociated with the different layers of the engine.

Kernel

Kernel and kernel modules are configured through two complementary methods: a configuration file and the application command line.

Configuration file should be considered as a file for debug. So it should activate debug behavior. It is expected that this file is not going to be used in final versions. At the time the configuration file is readed, there is no filesystem ready, so this file cannot be hidden inside a package. It is compatible with command line options. Some of the options can be set as command line options without writing a configuration file. Command line options have higher priority than configuration file options.

Configuration File Specifications

The configuration file is optional and must be placed next to the executable file and must be named with the name of the executable followed by .config (sample.exe -> sample.config). Options are specified as option_name = option_value lines.

Valid examples:

User = John
UserName = "John Smith"
Layout.Window.Width = 800
Layout.Window.Height = 600
Layout.Window.FullScreen = False

Invalid examples:

UserName = John Smith
UserName = "John Smith
User Name = "John Smith"
"User Name" = "John Smith"

Command Line Specifications

Command line must contain executable file name as the first argument (althoug an empty command line is also valid). Options are specified as -option_name option_value pairs.

Valid example:

sample.exe -User John -UserName "John Smith" -Layout.Window.Width 800 -Layout.Window.Height 600

Invalid examples:

-User John
sample.exe -UserName John Smith
sample.exe -UserName "John Smith
sample.exe -"User Name" "John Smith"

KernelSystems

A kernel system could be configured through the ConfigSystem. Settings can be added to the ConfigSystem before a kernel system is initialized that can be used by system initialization.

TODO: Ver como van a registrarse los comandos

TODO: BaseKernelSystem creara automaticamente un dominio en el ConfigSystem para cada sistema.

Script

TODO

© 2017 Noesis Technologies