SNode.C
|
#include <MariaDBCommandSync.h>
Public Member Functions | |
MariaDBCommand (const std::string &name, const std::function< void(const std::string &, unsigned int)> &onError) | |
![]() | |
MariaDBCommand (const std::string &name, const std::function< void(const std::string &, unsigned int)> &onError) | |
virtual | ~MariaDBCommand ()=default |
const std::string & | commandName () |
int | commandStart (MYSQL *mysql, const utils::Timeval ¤tTime) |
void | setMariaDBConnection (MariaDBConnection *mariaDBConnection) |
virtual bool | commandCompleted ()=0 |
virtual void | commandError (const std::string &errorString, unsigned int errorNumber)=0 |
virtual std::string | commandInfo () |
Private Member Functions | |
int | commandContinue (int status) final |
Additional Inherited Members | |
![]() | |
MYSQL * | mysql = nullptr |
const std::function< void(const std::string &, unsigned int)> | onError |
Definition at line 32 of file MariaDBCommandSync.h.
|
finalprivatevirtual |
Implements database::mariadb::MariaDBCommand.
Definition at line 29 of file MariaDBCommandSync.cpp.
database::mariadb::MariaDBCommand::MariaDBCommand | ( | const std::string & | name, |
const std::function< void(const std::string &, unsigned int)> & | onError ) |
Definition at line 46 of file MariaDBCommand.cpp.