MySQL 9.0.0
Source Code Documentation
mysql_service_implementation Class Reference

a Service implementation registry data More...

#include <mysql_service_implementation.h>

Inheritance diagram for mysql_service_implementation:
[legend]

Public Member Functions

 mysql_service_implementation (my_h_service interface, const char *full_name)
 
 mysql_service_implementation (mysql_service_implementation &other)
 
const char * service_name_c_str () const
 Gets service name that is implemented by this service implementation. More...
 
const char * name_c_str () const
 Gets fully qualified name of this service implementation. More...
 
my_h_service interface () const
 Gets pointer to interface structure with method pointers. More...
 
- Public Member Functions inherited from my_ref_counted
 my_ref_counted ()
 default constructor More...
 
 my_ref_counted (my_ref_counted &other)
 copy constructor More...
 
virtual ~my_ref_counted ()
 
uint64 add_reference ()
 Increases a reference count. More...
 
bool release_reference (uint64 *new_count=nullptr)
 Decreases a reference count. More...
 
uint64 get_reference_count () const
 Returns the reference counter value. More...
 

Private Attributes

my_h_service m_interface
 
my_string m_service
 
my_string m_full_name
 

Additional Inherited Members

Detailed Description

a Service implementation registry data

Constructor & Destructor Documentation

◆ mysql_service_implementation() [1/2]

mysql_service_implementation::mysql_service_implementation ( my_h_service  interface,
const char *  full_name 
)

◆ mysql_service_implementation() [2/2]

mysql_service_implementation::mysql_service_implementation ( mysql_service_implementation other)
default

Member Function Documentation

◆ interface()

my_h_service mysql_service_implementation::interface ( ) const

Gets pointer to interface structure with method pointers.

Returns
Pointer to interface structure.

◆ name_c_str()

const char * mysql_service_implementation::name_c_str ( ) const

Gets fully qualified name of this service implementation.

Returns
Pointer to service name. Pointer is valid till service name is not changed or service implementation is unregistered.

◆ service_name_c_str()

const char * mysql_service_implementation::service_name_c_str ( ) const

Gets service name that is implemented by this service implementation.

Returns
Pointer to service name. Pointer is valid till service name is not changed or service implementation is unregistered.

Member Data Documentation

◆ m_full_name

my_string mysql_service_implementation::m_full_name
private

◆ m_interface

my_h_service mysql_service_implementation::m_interface
private

◆ m_service

my_string mysql_service_implementation::m_service
private

The documentation for this class was generated from the following files: