Skip to main content

Module factory

Module factory 

Source
Expand description

Factory types and associated utilities.

In CLAP, factories are singleton objects exposed by the plugin file’s entry point, which can in turn expose various functionalities.

Each factory type has a standard, unique identifier, which allows hosts to query plugins for known factory type implementations.

In Clack, factory implementations are represented by the Factory trait.

The main factory type is the PluginFactory, which enables hosts to list all the plugin implementations present in a CLAP file, and then instantiate on of them.

Modules§

plugin
The plugin factory type, which is the entry point for hosts to discover and instantiate plugins.

Structs§

RawFactoryPointer
A low-level utility used to implement custom Factory pointer types.

Traits§

Factory
A CLAP factory pointer type.