Jamba  3.1.0
pongasoft::VST::GUI::Views::PluginView< TView, TGUIPluginState > Class Template Reference

#include <CustomView.h>

Inherits TView, and pongasoft::VST::GUI::Views::PluginAccessor< TGUIPluginState >.

Public Member Functions

 PluginView (const CRect &iSize)
 

Protected Member Functions

void initState (GUIState *iGUIState) override
 

Additional Inherited Members

- Public Attributes inherited from pongasoft::VST::GUI::Views::PluginAccessor< TGUIPluginState >
TGUIPluginState::PluginParameters const * fParams {}
 
TGUIPluginState * fState {}
 

Detailed Description

template<typename TView, typename TGUIPluginState>
class pongasoft::VST::GUI::Views::PluginView< TView, TGUIPluginState >

When implementing a View specific to a given plugin, you can use this class instead to get direct access to the state and parameters registered with the plugin via the fState/fParams member.

Template Parameters
TViewthe parent view (should be a subclass of GUIParamCxAware
TGUIPluginStatetype of the plugin parameters class (should be a subclass of GUIPluginState<>)

Constructor & Destructor Documentation

◆ PluginView()

template<typename TView , typename TGUIPluginState >
pongasoft::VST::GUI::Views::PluginView< TView, TGUIPluginState >::PluginView ( const CRect &  iSize)
inlineexplicit

Member Function Documentation

◆ initState()

template<typename TView , typename TGUIPluginState >
void pongasoft::VST::GUI::Views::PluginView< TView, TGUIPluginState >::initState ( GUIState *  iGUIState)
inlineoverrideprotectedvirtual

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