-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::Local::AddExtenderModule
Karel Donk edited this page Jun 17, 2018
·
4 revisions
Adds an extender module to the instance with all its extenders. If the instance is running, all the extenders that were added from the module get started. If any extender from the module fails to get added, all extenders from the module get shut down and removed and the module isn't added.
Result<> AddExtenderModule(const Path& module_path) noexcept;
Name | Description |
---|---|
module_path |
A QuantumGate::Path object containing the path to the module file. See QuantumGate Extender Modules for more details. |
Returns a QuantumGate::Result
object equal to one of the following QuantumGate::ResultCode
s:
Value | Description |
---|---|
QuantumGate::ResultCode::Succeeded |
The operation succeeded. |
QuantumGate::ResultCode::Failed |
The operation failed. |
QuantumGate::ResultCode::ExtenderModuleAlreadyPresent |
The operation failed because the extender module is already present (it may have previously been added). |
QuantumGate::ResultCode::ExtenderModuleLoadFailure |
The operation failed because the extender module failed to load. |