#include <FEAPIPluginBase.h>
SetPluginInputPinInfo(CPin::SetIndex(0) // put here the correct input index .SetName("My input pin") .SetUnit("") .SetDescription("An input just for documentation") .SetRangeMin(-1.0f) .SetRangeMax(1.0f) .SetSampleRate(44100.0f) );
SetPluginParameterPinInfo(CPin::SetIndex(0) // put here the correct parameter index .SetName("My parameter pin") .SetUnit("") .SetDescription("A parameter just for documentation") .SetRangeMin(0.0f) .SetRangeMax(1.0f) .SetDefaultValue(0.5f) .SetQuantizedTo(-1.0f) .SetIsChangeableInRealTime(1) );
Definition at line 88 of file FEAPIPluginBase.h.
Public Member Functions | |
CPin (const CPin &OtherPin) | |
virtual | ~CPin () |
Destructor. | |
int | GetIndex () const |
CPin & | SetName (const std::string &Name) |
const std::string & | GetName () const |
CPin & | SetUnit (const std::string &Unit) |
const std::string & | GetUnit () const |
CPin & | SetDescription (const std::string &Description) |
const std::string & | GetDescription () const |
CPin & | SetRangeMin (float fRangeMin) |
float | GetRangeMin () const |
CPin & | SetRangeMax (float fRangeMax) |
float | GetRangeMax () const |
CPin & | SetSampleRate (float fSampleRate) |
float | GetSampleRate () const |
CPin & | SetQuantizedTo (float fQuantizedTo) |
float | GetQuantizedTo () const |
CPin & | SetDefaultValue (float fDefaultValue) |
float | GetDefaultValue () const |
CPin & | SetIsChangeableInRealTime (int bIsChangeableInRealTime) |
int | GetIsChangeableInRealTime () const |
Static Public Member Functions | |
CPin | SetIndex (int iIndex) |
Protected Member Functions | |
CPin () | |
Default constructor: it should not be used! | |
CPin (int iIndex) | |
Creates a pin with the given index. | |
void | Copy (const CPin &OtherPin) |
Copies information from the pin passed as parameter. | |
Friends | |
class | std::map<int, CPin> |
|
Constructs a copy of an object of type pin.
Definition at line 104 of file FEAPIPluginBase.cpp. References Copy(). |
Here is the call graph for this function:
|
Destructor.
Definition at line 110 of file FEAPIPluginBase.cpp. |
|
Default constructor: it should not be used!
Definition at line 76 of file FEAPIPluginBase.cpp. Referenced by SetIndex(). |
|
Creates a pin with the given index.
Definition at line 90 of file FEAPIPluginBase.cpp. |
|
Copies information from the pin passed as parameter.
Definition at line 114 of file FEAPIPluginBase.cpp. References m_bIsChangeableInRealTime, m_Description, m_fDefaultValue, m_fQuantizedTo, m_fRangeMax, m_fRangeMin, m_fSampleRate, m_iIndex, m_Name, and m_Unit. Referenced by CPin(). |
|
Retrieves the default value for the parameter associated to this pin (parameter pins only).
Definition at line 236 of file FEAPIPluginBase.cpp. |
|
Retrieves the description of the pin.
Definition at line 171 of file FEAPIPluginBase.cpp. |
|
Retrieves the identifier of the pin.
Definition at line 138 of file FEAPIPluginBase.cpp. Referenced by CFeatureExtractBase::SetPluginInputPinInfo(), CFeatureExtractBase::SetPluginParameterPinInfo(), and CFeatureExtractBase::SetPluginResultPinInfo(). |
|
Retrieves whether the parameter associated to this pin can be changed in real time or not (parameter pins only).
Definition at line 247 of file FEAPIPluginBase.cpp. |
|
Retrieves the name of the pin.
Definition at line 149 of file FEAPIPluginBase.cpp. |
|
Retrieves the quantization step size of the pin (input and result pins only).
Definition at line 209 of file FEAPIPluginBase.cpp. |
|
Retrieves the maximum value of the pin.
Definition at line 193 of file FEAPIPluginBase.cpp. |
|
Retrieves the minimum value of the pin.
Definition at line 182 of file FEAPIPluginBase.cpp. |
|
Retrieves the sample rate in Hz of the input/result pin.
Definition at line 220 of file FEAPIPluginBase.cpp. |
|
Retrieves the unit of the pin.
Definition at line 160 of file FEAPIPluginBase.cpp. |
|
Changes the default value for the parameter associated to this pin (parameter pins only). Default: 0.
Definition at line 230 of file FEAPIPluginBase.cpp. |
|
Changes the description of the pin. Default: empty string.
Definition at line 165 of file FEAPIPluginBase.cpp. |
|
Constructs an object of type pin with the given identifier.
Definition at line 133 of file FEAPIPluginBase.cpp. References CPin(). |
Here is the call graph for this function:
|
Changes the default value for the parameter to be changeable in real time or not (parameter pins only). Default: true, i.e., the parameter can be changed in real time.
Definition at line 241 of file FEAPIPluginBase.cpp. |
|
Changes the name of the pin. Default: empty string.
Definition at line 143 of file FEAPIPluginBase.cpp. |
|
Changes the quantization step size of the pin (input and result pins only). Default: -1, i.e., no quantization.
Definition at line 203 of file FEAPIPluginBase.cpp. |
|
Changes the maximum value of the pin. Default: maximum floating point value.
Definition at line 187 of file FEAPIPluginBase.cpp. |
|
Changes the minimum value of the pin. Default: minimum floating point value.
Definition at line 176 of file FEAPIPluginBase.cpp. |
|
Changes the sample rate in Hz of the input/result pin. Default: -1, i.e., equals input block length.
Definition at line 214 of file FEAPIPluginBase.cpp. |
|
Changes the unit of the pin. Default: empty string.
Definition at line 154 of file FEAPIPluginBase.cpp. |
|
Definition at line 304 of file FEAPIPluginBase.h. |