setDefaultPluginsFromConfig#
Fully qualified name: carb::detail::setDefaultPluginsFromConfig
Defined in carb/StartupUtils.h
- inline void carb::detail::setDefaultPluginsFromConfig(
- settings::ISettings *settings,
Sets carb::Framework’s “default” plugins from the given
settings/defaultPluginskey.In short, this function calls carb::Framework::setDefaultPlugin for each plugin name in
/defaultPlugins. However, since the interface type cannot be specified, plugins listed in/defaultPluginswill become the default plugin for all interfaces they provide.This function assumes the plugins in
/defaultPluginshave already been loaded.The following keys are used from
settings:- /defaultPlugins
A list of plugin names. These plugins become the default plugins to use when acquire their interfaces.
Do not use this function directly. Rather, call carb::startupFramework().