VST 3 SDK  VST 3.6.6
SDK for developing VST Plug-in
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
Public Member Functions
VSTGUIEditor Class Referenceabstract

Base class for an edit view using VSTGUI. More...

#include <vstguieditor.h>

+ Inheritance diagram for VSTGUIEditor:

Public Member Functions

 VSTGUIEditor (void *controller, ViewRect *size=0)
 Constructor. More...
 
virtual ~VSTGUIEditor ()
 Destructor. More...
 
virtual bool open (void *parent)=0
 Called when the editor will be opened. More...
 
virtual void close ()=0
 Called when the editor will be closed. More...
 
void setIdleRate (int32 millisec)
 Sets the idle rate controlling the parameter update rate. More...
 
CMessageResult notify (CBaseObject *sender, const char *message)
 
void forget ()
 
void remember ()
 
long getNbReference () const
 
tresult isPlatformTypeSupported (FIDString type)
 
tresult onSize (ViewRect *newSize)
 
void beginEdit (long index)
 Called from VSTGUI when a user begins editing. More...
 
void endEdit (long index)
 Called from VSTGUI when a user ends editing. More...
 
long getKnobMode () const
 
- Public Member Functions inherited from EditorView
 EditorView (EditController *controller, ViewRect *size=0)
 
virtual ~EditorView ()
 
EditControllergetController ()
 Gets its controller part. More...
 
virtual void attachedToParent ()
 
virtual void removedFromParent ()
 
- Public Member Functions inherited from CPluginView
 CPluginView (const ViewRect *rect=0)
 
virtual ~CPluginView ()
 
const ViewRectgetRect () const
 Returns its current frame rectangle. More...
 
void setRect (const ViewRect &r)
 Sets a new frame rectangle. More...
 
bool isAttached () const
 Checks if this view is attached to its parent view. More...
 
tresult isPlatformTypeSupported (FIDString type)
 
tresult attached (void *parent, FIDString type)
 
tresult removed ()
 
tresult onWheel (float)
 
tresult onKeyDown (char16, int16, int16)
 
tresult onKeyUp (char16, int16, int16)
 
tresult getSize (ViewRect *size)
 
tresult onSize (ViewRect *newSize)
 
tresult onFocus (TBool)
 
tresult setFrame (IPlugFrame *frame)
 
tresult canResize ()
 
tresult checkSizeConstraint (ViewRect *)
 
- Public Member Functions inherited from FUnknown
virtual tresult queryInterface (const TUID _iid, void **obj)=0
 
virtual uint32 addRef ()=0
 
virtual uint32 release ()=0
 

Additional Inherited Members

- Data Fields inherited from CPluginView
OBJ_METHODS(CPluginView,
FObject) DEFINE_INTERFACES
DEF_INTERFACE(IPlugView)
END_DEFINE_INTERFACES(FObject)
REFCOUNT_METHODS(FObject)
protected void * 
systemWindow
 
IPlugFrameplugFrame
 
- Static Public Attributes inherited from IPlugView
static const FUID iid
 
- Static Public Attributes inherited from FUnknown
static const FUID iid
 
- Protected Attributes inherited from EditorView
EditControllercontroller
 

Detailed Description

Base class for an edit view using VSTGUI.

Constructor & Destructor Documentation

VSTGUIEditor ( void *  controller,
ViewRect size = 0 
)

Constructor.

~VSTGUIEditor ( )
virtual

Destructor.

Member Function Documentation

virtual bool open ( void *  parent)
pure virtual

Called when the editor will be opened.

virtual void close ( )
pure virtual

Called when the editor will be closed.

void setIdleRate ( int32  millisec)

Sets the idle rate controlling the parameter update rate.

CMessageResult notify ( CBaseObject *  sender,
const char message 
)
void forget ( )
inline
void remember ( )
inline
long getNbReference ( ) const
inline
tresult isPlatformTypeSupported ( FIDString  type)
virtual

Implements IPlugView.

tresult onSize ( ViewRect newSize)
virtual

Implements IPlugView.

void beginEdit ( long  index)

Called from VSTGUI when a user begins editing.

The default implementation calls performEdit of the EditController.

void endEdit ( long  index)

Called from VSTGUI when a user ends editing.

The default implementation calls endEdit of the EditController.

long getKnobMode ( ) const
Empty

Copyright ©2016 Steinberg Media Technologies GmbH. All Rights Reserved.