carb::loadPluginsFromPattern
Defined in carb/StartupUtils.h
-
inline void carb::loadPluginsFromPattern(const char *pluginNamePattern, const char *const *searchPaths = nullptr, size_t searchPathCount = 0)
Simple plugin loading function wrapper that loads plugins matching a single pattern.
Consider using carb::startupFramework(), which calls this function with user defined paths via config files, the environment, and the command line.
- Parameters
pluginNamePattern – String that contains a plugin pattern - wildcards are supported.
searchPaths – Array of paths to look for plugins in.
searchPathCount – Number of paths in searchPaths array.