118 std::unique_ptr<Impl> impl_;
Singleton accessor that owns a lazily loaded SchemaPluginInterface plugin.
Definition: schema_plugin_manager.h:87
bool is_valid() const
Reports whether a plugin was successfully loaded.
static SchemaPluginManager & get(const std::string &schema_plugin_path="")
Returns the process-wide manager, building it on the first call.
std::shared_ptr< SchemaPluginInterface > get_interface() const
Returns the shared plugin instance, or nullptr when the manager is invalid.
#define VLINK_EXPORT
Definition: macros.h:81
#define VLINK_DISALLOW_COPY_AND_ASSIGN(classname)
Deletes the copy constructor and copy-assignment operator of classname.
Definition: macros.h:174
Abstract contract for runtime Protobuf / FlatBuffers schema discovery plugins.