rt-vamp-plugin-sdk  0.3.1
Real-time Vamp plugin SDK for C++20
Classes | Public Types | Public Member Functions | List of all members
rtvamp::pluginsdk::PluginBase Class Reference

Non-templated plugin base class with type definitions. More...

#include <rtvamp/pluginsdk/Plugin.hpp>

Inheritance diagram for rtvamp::pluginsdk::PluginBase:
[legend]

Classes

struct  OutputDescriptor
 
struct  ParameterDescriptor
 

Public Types

enum  InputDomain { InputDomain::Time, InputDomain::Frequency }
 Input domain of the plugin. More...
 
using TimeDomainBuffer = std::span< const float >
 Time domain buffer. More...
 
using FrequencyDomainBuffer = std::span< const std::complex< float > >
 Frequency domain buffer (FFT) More...
 
using InputBuffer = std::variant< TimeDomainBuffer, FrequencyDomainBuffer >
 Input domain variant. More...
 
using Feature = std::vector< float >
 Feature with one or more values (defined by OutputDescriptor::binCount) More...
 

Public Member Functions

virtual ~PluginBase ()=default
 

Detailed Description

Non-templated plugin base class with type definitions.

Member Typedef Documentation

◆ Feature

using rtvamp::pluginsdk::PluginBase::Feature = std::vector<float>

Feature with one or more values (defined by OutputDescriptor::binCount)

◆ FrequencyDomainBuffer

using rtvamp::pluginsdk::PluginBase::FrequencyDomainBuffer = std::span<const std::complex<float> >

Frequency domain buffer (FFT)

◆ InputBuffer

Input domain variant.

◆ TimeDomainBuffer

using rtvamp::pluginsdk::PluginBase::TimeDomainBuffer = std::span<const float>

Time domain buffer.

Member Enumeration Documentation

◆ InputDomain

Input domain of the plugin.

Enumerator
Time 
Frequency 

Constructor & Destructor Documentation

◆ ~PluginBase()

virtual rtvamp::pluginsdk::PluginBase::~PluginBase ( )
virtualdefault

The documentation for this class was generated from the following file: