Handle typed used to perform transactions on the database inside of control and freeze callbacks.
More...
#include <dnp3.hpp>
|
|
class | CppDatabaseHandleFriend |
| |
Handle typed used to perform transactions on the database inside of control and freeze callbacks.
This type has the same transaction method as Outstation::transaction() but it is only used in these callbacks.
◆ DatabaseHandle()
Transfer ownership of the underlying C-type to this instance and invalidate the other instance.
- Note
- the moved class will now throw an exception if any method is called
- Parameters
-
| other | Class from which ownership will be transfer to this instance |
◆ transaction()
Acquire a mutex on the underlying database and apply a set of changes as a transaction.
- Parameters
-
| callback | callback interface |
The documentation for this class was generated from the following file: