rt-vamp-plugin-sdk
0.3.1
Real-time Vamp plugin SDK for C++20
|
Helper class to create the entry point for plugin libraries. More...
#include <rtvamp/pluginsdk/EntryPoint.hpp>
Static Public Member Functions | |
static constexpr const VampPluginDescriptor * | getDescriptor (unsigned int version, unsigned int index) |
Helper class to create the entry point for plugin libraries.
The plugins are defined as template parameters
A Vamp plugin must export a function vampGetPluginDescriptor
. The EntryPoint::getDescriptor() method has the same signature as the required function. You have following options:
vampGetPluginDescriptor
manuallyvampGetPluginDescriptor
to the EntryPoint::getDescriptor() methodUse the RTVAMP_ENTRY_POINT(...)
macro to automatically define and export the entry point.
Example:
|
inlinestaticconstexpr |