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
/defaultPlugins
key.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/defaultPlugins
will become the default plugin for all interfaces they provide.This function assumes the plugins in
/defaultPlugins
have 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().