MySQL 8.0.40
Source Code Documentation
|
Class that stores callback function reference as well as the result of the callback function call (invoke method). More...
Public Member Functions | |
Callback (std::function< bool(st_mysql_keyring *keyring)> callback) | |
Constructor. More... | |
void | invoke (st_mysql_keyring *keyring) |
Invoke the underlying callback using the specified parameter and store the result of the operation. More... | |
bool | result () |
Result of the invoke operation. More... | |
Private Attributes | |
const std::function< bool(st_mysql_keyring *keyring)> | m_callback |
Callback function. More... | |
bool | m_result |
Result of the _callback function call. More... | |
Class that stores callback function reference as well as the result of the callback function call (invoke method).
Callback is called using the plugin descriptor pointer, so the callback can call plugin exposed function.
|
inlineexplicit |
Constructor.
callback | Lambda function that is called using the invoke method. |
|
inline |
Invoke the underlying callback using the specified parameter and store the result of the operation.
keyring | Keyring plugin descriptor pointer. |
|
inline |
Result of the invoke operation.
|
private |
Callback function.
|
private |
Result of the _callback function call.