-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::Local::RemoveExtender
Karel Donk edited this page Oct 7, 2018
·
3 revisions
Removes an extender from the instance. If the instance is running, the extender is shut down before being removed.
Result<> RemoveExtender(const std::shared_ptr<Extender>& extender) noexcept;
Name | Description |
---|---|
extender |
A std::shared_ptr to an object derived from the QuantumGate::Extender class. See QuantumGate::Extender for 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::InvalidArgument |
The argument was invalid. |
QuantumGate::ResultCode::ExtenderObjectDifferent |
The operation failed because the extender object is different from the one that was used to add the extender. |
QuantumGate::ResultCode::ExtenderAlreadyRemoved |
The operation failed because the extender was already removed. |
QuantumGate::ResultCode::ExtenderNotFound |
The operation failed because the extender wasn't found. |