ASPiK SDK
ASPiK-GUI

Classes

class  ParamSmoother< T >
 The ParamSmoother object performs parameter smoothing on GUI control information. You can choose linear or exponential smoothing. More...
 
class  VSTGUI::ControlUpdateReceiver
 The ControlUpdateReceiver object is the connection mechanism between PluginParameter objects and their connected GUI control objects. It was originally designed almost identically to the example code in the VSTGUI4 SDK for the VST3 version. However, once the AU, AAX, VST3 and RAFX2 APIs were consolidated, this object changed significantly. If you are interested in creating your own version, check out the VST3 files that are included with the vstgui SDK. More...
 
class  VSTGUI::PluginGUI
 The PluginGUI object that maintains the entire GUI operation and has #defines to use with AAX, AU, VST3 and RAFX2 plugins. Note the multiple inheritance inolved with this very complex object. The IGUIView interface is the only non-VSTGUI4 base class. It allows for GUI resizing and manipulation, if and only if the host DAW allows and provides the mechanism for it. More...
 
class  PluginParameter
 The PluginParameter object stores all of the data needed for any type of plugin parameter. It is a large object, but it is not complex as it really just stores LOTS of information about plugin parameters. More...
 

Macros

#define enumToInt(ENUM)   static_cast<int>(ENUM)
 macro helper to cast a typed enum to an int More...
 
#define compareEnumToInt(ENUM, INT)   (static_cast<int>(ENUM) == (INT))
 compare a typed enum value to an int More...
 
#define compareIntToEnum(INT, ENUM)   ((INT) == static_cast<int>(ENUM))
 compare a typed enum value to an int More...
 
#define convertIntToEnum(INT, ENUM)   static_cast<ENUM>(INT)
 convert an int to an enum, e.g. for passing to functions More...
 

Functions

bool isReservedTag (int tag)
 check to see if a tag is reserved: ASPiK defines several reserved control ID values. More...
 
std::string numberToString (unsigned int number)
 converts unsigned int value to std::string More...
 
std::string numberToString (int number)
 converts int value to std::string More...
 
std::string numberToString (float number)
 converts float value to std::string More...
 
std::string numberToString (double number)
 converts double value to std::string More...
 
std::string boolToStdString (bool value)
 converts bool value to std::string More...
 

Detailed Description

The VSTGUI::PluginGUI:

The PluginParameter:

Macro Definition Documentation

◆ compareEnumToInt

#define compareEnumToInt (   ENUM,
  INT 
)    (static_cast<int>(ENUM) == (INT))

compare a typed enum value to an int

Parameters
ENUM- the typed enum to compare with
INT- the int to compare with
Returns
true if equal false otherwise

◆ compareIntToEnum

#define compareIntToEnum (   INT,
  ENUM 
)    ((INT) == static_cast<int>(ENUM))

compare a typed enum value to an int

Parameters
INT- the int to compare with
ENUM- the typed enum to compare with
Returns
true if equal false otherwise

◆ convertIntToEnum

#define convertIntToEnum (   INT,
  ENUM 
)    static_cast<ENUM>(INT)

convert an int to an enum, e.g. for passing to functions

Parameters
INT- the int to compare with
ENUM- the typed enum to compare with
Returns
the int value properly cast as the enum type

◆ enumToInt

#define enumToInt (   ENUM)    static_cast<int>(ENUM)

macro helper to cast a typed enum to an int

Parameters
ENUM- the typed enum to convert
Returns
the enum properly cast as an int (the true underlying datatype for enum class)

Function Documentation

◆ boolToStdString()

std::string boolToStdString ( bool  value)
inline

converts bool value to std::string

Parameters
value- bool to convert
Returns
number as a std::string

◆ isReservedTag()

bool isReservedTag ( int  tag)
inline

check to see if a tag is reserved: ASPiK defines several reserved control ID values.

Parameters
tag- the tag to check
Returns
true if is reserved, false otherwise

◆ numberToString() [1/4]

std::string numberToString ( unsigned int  number)
inline

converts unsigned int value to std::string

Parameters
number- unsigned int to convert
Returns
number as a std::string

◆ numberToString() [2/4]

std::string numberToString ( int  number)
inline

converts int value to std::string

Parameters
number- int value to convert
Returns
number as a std::string

◆ numberToString() [3/4]

std::string numberToString ( float  number)
inline

converts float value to std::string

Parameters
number- float value to convert
Returns
number as a std::string

◆ numberToString() [4/4]

std::string numberToString ( double  number)
inline

converts double value to std::string

Parameters
number- double value to convert
Returns
number as a std::string