MySQL 9.1.0
Source Code Documentation
|
#include <mysql/components/my_service.h>
#include <mysql/components/service_implementation.h>
#include <mysql/components/services/mysql_runtime_error_service.h>
#include <mysql/components/services/dynamic_loader.h>
#include <forward_list>
#include <map>
#include <memory>
#include <set>
#include <utility>
#include <vector>
#include "c_string_less.h"
#include "mysql_component_imp.h"
#include "rwlock_scoped_lock.h"
#include "registry_metadata.h.inc"
Go to the source code of this file.
Classes | |
class | mysql_dynamic_loader_imp |
A class with an implementation of the Dynamic Loader Service. More... | |
Macros | |
#define | OBJECT_ITERATOR my_h_component_iterator |
#define | METADATA_ITERATOR my_h_component_metadata_iterator |
Typedefs | |
typedef std::map< const char *, std::unique_ptr< mysql_component >, c_string_less > | my_component_registry |
Making component object and the generation ID as a pair. More... | |
using | components_vector = std::vector< mysql_component * > |
using | generation_urns_list = std::forward_list< components_vector > |
Functions | |
REQUIRES_SERVICE_PLACEHOLDER (mysql_runtime_error) | |
Variables | |
my_h_service | h_err_service |
#define METADATA_ITERATOR my_h_component_metadata_iterator |
#define OBJECT_ITERATOR my_h_component_iterator |
using components_vector = std::vector<mysql_component *> |
using generation_urns_list = std::forward_list<components_vector> |
typedef std::map<const char *, std::unique_ptr<mysql_component>, c_string_less> my_component_registry |
Making component object and the generation ID as a pair.
Here generation ID represents the group ID maintained at the time of components insertion. The component deinitialization is going to be done as a groups based on the generation ID. This pair is assigned as a value to the my_component_registry map.
REQUIRES_SERVICE_PLACEHOLDER | ( | mysql_runtime_error | ) |
|
extern |