VLink 2.0.0
A high-performance communication middleware
Loading...
Searching...
No Matches
protobuf_registry.h File Reference

Protobuf runtime include wrapper for schema-plugin support. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Protobuf runtime include wrapper for schema-plugin support.

Protobuf does not need a custom VLink-side registry implementation because generated message descriptors are already exposed through google::protobuf::DescriptorPool::generated_pool().

This header only centralizes the protobuf runtime includes and the feature macro used by schema-plugin related code:

  • VLINK_HAS_SCHEMA_PLUGIN_PROTOBUF is defined when the required protobuf reflection headers are available in the current build environment.

Keeping this probe in a dedicated header makes schema_plugin_base.h and other schema-plugin code easier to read and keeps protobuf availability checks consistent across the codebase.