49 explicit Creator(
char const *iViewName =
nullptr,
char const *iDisplayName =
nullptr) :
95 explicit Creator(
char const *iViewName =
nullptr,
char const *iDisplayName =
nullptr) :
108 if(fControlParameter.exists())
109 return fControlParameter.getValue();
111 return fControlValue;
120 if(fControlParameter.exists())
121 fControlParameter.setValue(iControlValue);
124 if(fControlValue != iControlValue)
126 fControlValue = iControlValue;
140 __internal__registerVstControl(getControlTag(), fControlValue, fControlParameter);
150 registerParameters();
Definition: CustomControlView.h:46
Definition: CustomViewCreator.h:981
virtual void setControlValue(T const &iControlValue)
Definition: CustomControlView.h:118
int32_t getControlTag() const
Definition: CustomControlView.h:37
void registerTagAttribute(std::string const &iName, typename TagAttribute::Getter iGetter, typename TagAttribute::Setter iSetter)
Definition: CustomViewCreator.h:807
TCustomControlView(const CRect &iSize)
Definition: CustomControlView.h:67
Definition: CustomControlView.h:63
void setControlTag(int32_t iTag) override
Definition: CustomControlView.h:147
Definition: CustomView.h:100
virtual void setControlTag(int32_t iTag)
Definition: CustomControlView.h:36
Definition: GUIVstParameter.h:233
virtual void registerParameters()
Definition: GUIParamCxAware.h:217
void registerParameters() override
Definition: CustomControlView.h:136
Creator(char const *iViewName=nullptr, char const *iDisplayName=nullptr)
Definition: CustomControlView.h:95
T getControlValue() const
Definition: CustomControlView.h:106
T fControlValue
Definition: CustomControlView.h:87
Creator(char const *iViewName=nullptr, char const *iDisplayName=nullptr)
Definition: CustomControlView.h:49
int32_t fControlTag
Definition: CustomControlView.h:43
Definition: CustomControlView.h:90
CustomControlView(const CRect &iSize)
Definition: CustomControlView.h:33
GUIVstParam< T > fControlParameter
Definition: CustomControlView.h:84
Definition: CustomControlView.h:30