dnp3 (C++ API) 1.1.0
|
handle used to perform transactions on the database More...
#include <dnp3.hpp>
Public Member Functions | |
DatabaseHandle (DatabaseHandle &&other) noexcept | |
Transfer ownership of the underlying C-type to this instance and invalidate the other instance. More... | |
void | transaction (DatabaseTransaction &callback) |
Acquire a mutex on the underlying database and apply a set of changes as a transaction. More... | |
Friends | |
class | CppDatabaseHandleFriend |
handle used to perform transactions on the database
|
inlinenoexcept |
Transfer ownership of the underlying C-type to this instance and invalidate the other instance.
other | Class from which ownership will be transfer to this instance |
void dnp3::DatabaseHandle::transaction | ( | DatabaseTransaction & | callback | ) |
Acquire a mutex on the underlying database and apply a set of changes as a transaction.
callback | callback interface |