Query and set certain properties of the CppMicroServices library. More...
Public Types | |
typedef std::vector< std::string > | PathList |
Static Public Member Functions | |
static std::string | CURRENT_MODULE_PATH () |
Returns a special string which can be used as an argument for a AddAutoLoadPath() call. More... | |
static bool | IsThreadingSupportEnabled () |
static bool | IsServiceFactorySupportEnabled () |
static bool | IsAutoLoadingEnabled () |
static void | SetAutoLoadingEnabled (bool enable) |
Enable or disable auto-loading support. More... | |
static PathList | GetAutoLoadPaths () |
static void | SetAutoLoadPaths (const PathList &paths) |
Set a list of paths in the file-system from which modules should be auto-loaded. More... | |
static void | AddAutoLoadPath (const std::string &path) |
Add a path in the file-system to the list of paths from which modules will be auto-loaded. More... | |
Query and set certain properties of the CppMicroServices library.
The following environment variables influence the runtime behavior of the CppMicroServices library:
typedef std::vector<std::string> ModuleSettings::PathList |
|
static |
Add a path in the file-system to the list of paths from which modules will be auto-loaded.
path | The additional absolute auto-load path in the file-system. |
|
static |
Returns a special string which can be used as an argument for a AddAutoLoadPath() call.
When a module is loaded and this string has been added as a path to the list of auto-load paths the CppMicroServices library will auto-load all modules from the currently being loaded module's auto-load directory.
|
static |
|
static |
true
if support for module auto-loading is enabled, false
otherwise.false
if support for auto-loading has not been configured into the CppMicroServices library or if it has been disabled by defining the US_DISABLE_AUTOLOADING environment variable.
|
static |
true
if support for service factories has been configured into the CppMicroServices library, false
otherwise.
|
static |
true
if threading support has been configured into the CppMicroServices library, false
otherwise.
|
static |
Enable or disable auto-loading support.
enable | If true , enable auto-loading support, disable it otherwise. |
|
static |
Set a list of paths in the file-system from which modules should be auto-loaded.
paths | A list of absolute file-system paths. |