VST 3 SDK: ParameterChangeTransfer Class Reference
Author: Steinberg

VST 3 SDK VST 3.7 SDK for developing VST plug-in

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
Classes | Public Member Functions | Protected Attributes | List of all members
ParameterChangeTransfer Class Reference
Common Hosting SDK Implementation Helper Classes

Ring buffer for transferring parameter changes from a writer to a read thread . More...

`#include <parameterchanges.h>`

## Classes
struct | ParameterChange

## Public Member Functions
| ParameterChangeTransfer (int32 maxParameters=0)
virtual | ~ParameterChangeTransfer ()
void | setMaxParameters (int32 maxParameters)
void | addChange (ParamID pid, ParamValue value, int32 sampleOffset)
bool | getNextChange (ParamID &pid, ParamValue &value, int32 &sampleOffset)
void | transferChangesTo (ParameterChanges &dest)
void | transferChangesFrom (ParameterChanges &source)
void | removeChanges ()

## Protected Attributes
int32 | size
ParameterChange * | changes
volatile int32 | readIndex
volatile int32 | writeIndex

## Detailed Description

Ring buffer for transferring parameter changes from a writer to a read thread .

## Constructor & Destructor Documentation

ParameterChangeTransfer | ( | int32 | maxParameters = `0` | ) |

~ParameterChangeTransfer | ( |  | ) |
| virtual

## Member Function Documentation

void setMaxParameters | ( | int32 | maxParameters | ) |

void addChange | ( | ParamID | pid,
|  | ParamValue | value,
|  | int32 | sampleOffset
| ) |  |

bool getNextChange | ( | ParamID & | pid,
|  | ParamValue & | value,
|  | int32 & | sampleOffset
| ) |  |

void transferChangesTo | ( | ParameterChanges & | dest | ) |

void transferChangesFrom | ( | ParameterChanges & | source | ) |

void removeChanges | ( |  | ) |
| inline

## Member Data Documentation

int32 size
| protected

ParameterChange* changes
| protected

volatile int32 readIndex
| protected

volatile int32 writeIndex
| protected

Empty

Copyright ©2022 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.