|
VLink 2.0.0
A high-performance communication middleware
|
Process-local registry for BFBS blobs compiled into the current library. More...
#include <cstddef>#include <mutex>#include <shared_mutex>#include <string>#include <unordered_map>#include <vector>#include "../impl/types.h"Go to the source code of this file.
Process-local registry for BFBS blobs compiled into the current library.
Protobuf already provides google::protobuf::DescriptorPool::generated_pool() as the global registry of generated descriptors. FlatBuffers has no equivalent runtime pool for BFBS reflection data, so VLink keeps a small process-local registry that stores BFBS blobs embedded into the current binary/library.
The registry is intentionally limited to:
It does not read schema files from disk and does not depend on VLINK_PROTO_DIR / VLINK_FBS_DIR.