RAII ownership of the connection operation gate.
More...
#include <StormByte/database/database.hxx>
RAII ownership of the connection operation gate.
◆ OperationGuard() [1/2]
| StormByte::Database::Database::OperationGuard::OperationGuard |
( |
const Database & | database | ) |
|
|
explicitnoexcept |
Acquire the connection operation gate.
- Parameters
-
| database | Database whose operations are serialized. |
◆ OperationGuard() [2/2]
| StormByte::Database::Database::OperationGuard::OperationGuard |
( |
const OperationGuard & | other | ) |
|
|
delete |
Copying a lock guard is disabled.
- Parameters
-
◆ ~OperationGuard()
| StormByte::Database::Database::OperationGuard::~OperationGuard |
( |
| ) |
|
|
noexcept |
Release the connection operation gate.
The documentation for this class was generated from the following file: