![]() |
MySQL 9.6.0
Source Code Documentation
|
This is the interface for the timestamp provider for entries that end up in the Debugger log. More...
#include <gcs_logging.h>
Public Member Functions | |
| Clock_timestamp_interface ()=default | |
| ~Clock_timestamp_interface () override=default | |
| Clock_timestamp_interface (const Clock_timestamp_interface &other)=delete | |
| Clock_timestamp_interface & | operator= (const Clock_timestamp_interface &other)=delete |
| Clock_timestamp_interface (Clock_timestamp_interface &&other)=delete | |
| Clock_timestamp_interface & | operator= (Clock_timestamp_interface &&other)=delete |
| virtual void | get_timestamp_as_c_string (char *buffer, size_t *size)=0 |
| Get the timestamp as c string object. More... | |
| virtual void | get_timestamp_as_string (std::string &str)=0 |
| Get the timestamp as std::string. More... | |
Public Member Functions inherited from Common_interface | |
| virtual | ~Common_interface ()=default |
| Define a virtual destructor as instances of this interface can be polymorphically used. More... | |
| virtual enum_gcs_error | initialize ()=0 |
| The purpose of this method is to initialize resources used by the objects that implement this interface. More... | |
| virtual enum_gcs_error | finalize ()=0 |
| The purpose of this method is to free any resources used by the objects that implement this interface. More... | |
This is the interface for the timestamp provider for entries that end up in the Debugger log.
The GCS will add timestamps to the log entries according to the representation returned by the member functions below.
|
default |
|
overridedefault |
|
delete |
|
delete |
|
pure virtual |
Get the timestamp as c string object.
| [in] | buffer | the buffer to store the timestamp into |
| [in,out] | size | as an input contains the size of the buffer, as output contains the number of bytes written to the buffer. |
Implemented in Gr_clock_timestamp_provider, and Gcs_clock_timestamp_provider.
|
pure virtual |
Get the timestamp as std::string.
| str | the string to store the timestamp into. |
Implemented in Gr_clock_timestamp_provider, and Gcs_clock_timestamp_provider.
|
delete |
|
delete |