Jamba C++ API  5.1.1
ICustomViewLifecycle Class Reference

This interface defines some methods that are important in the lifecycle of a custom view. More...

#include <CustomViewLifecycle.h>

Inherited by CustomViewAdapter< CParamDisplay >, CustomViewAdapter< CTextButton >, CustomViewAdapter< CViewContainer >, CustomViewAdapter< TextEdit >, CustomView, and CustomViewAdapter< TView >.

Public Member Functions

virtual void afterApplyAttributes ()
 Called after the attributes have been applied by the framework. More...
 

Detailed Description

This interface defines some methods that are important in the lifecycle of a custom view.

For the moment only one method is implemented, but more can be added as the needs arise.

Member Function Documentation

◆ afterApplyAttributes()

virtual void afterApplyAttributes ( )
inlinevirtual

Called after the attributes have been applied by the framework.

The VST SDK always apply all attributes attached to the view in a loop (and always all of them even if only one changes). Whether it is at loading time (after loading the xml, and instantiating the view) or in the editor when modifying attributes. This ends up calling "setters" on the view (via the Creator).

This method is invoked after all attributes have been set which allow to handle a consistent set of attributes.

Note
The Jamba framework implements this method to call registerParameters because at this point in the lifecycle, all attributes have been set (which include paramIDs/tagIDs that are required for registering parameters).

Reimplemented in CustomViewAdapter< TView >, CustomViewAdapter< CParamDisplay >, CustomViewAdapter< CTextButton >, CustomViewAdapter< TextEdit >, CustomViewAdapter< CViewContainer >, CustomView, and DebugParamDisplayView.


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