ReXGlue SDK
Loading...
Searching...
No Matches
rex::Config Struct Reference

Public Attributes

std::vector< std::string > modules
std::vector< IModule * > code_modules
std::function< Result< std::vector< std::string > >(IInterfaceFactory &factory, IInterfaceFactory &private_factory)> select_plugins

Member Data Documentation

◆ code_modules

std::vector<IModule*> rex::Config::code_modules

Modules compiled into the program. They go before the libraries.

◆ modules

std::vector<std::string> rex::Config::modules

The module libraries to load, in order, such as rexhid.

◆ select_plugins

std::function<Result<std::vector<std::string> >(IInterfaceFactory& factory, IInterfaceFactory& private_factory)> rex::Config::select_plugins

Runs after every listed module connects and before any module inits. Returns the plugin libraries to load next, such as the drivers the settings select. Empty for none.

Parameters
factoryFinds the public interfaces of the connected modules.
private_factoryFinds the private interfaces, for the app only.
Returns
The plugin library names, or the reason the program cannot start.

The documentation for this struct was generated from the following file: