VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
UIDescriptionViewSwitchController Class Reference
+ Inheritance diagram for UIDescriptionViewSwitchController:

Public Member Functions

 UIDescriptionViewSwitchController (UIViewSwitchContainer *viewSwitch, const IUIDescription *uiDescription, IController *uiController)
 
CViewcreateViewForIndex (int32_t index) override
 
void switchContainerAttached () override
 
void switchContainerRemoved () override
 
void setTemplateNames (UTF8StringPtr templateNames)
 
void getTemplateNames (std::string &str)
 
void setSwitchControlTag (int32_t tag)
 
int32_t getSwitchControlTag () const
 
- Public Member Functions inherited from CBaseObject
 CBaseObject ()=default
 
 ~CBaseObject () noexceptoverride=default
 
 CBaseObject (const CBaseObject &)
 
CBaseObjectoperator= (const CBaseObject &)
 
virtual CMessageResult notify ([[maybe_unused]] CBaseObject *sender,[[maybe_unused]] IdStringPtr message)
 
- Public Member Functions inherited from ReferenceCounted< T >
 ReferenceCounted ()=default
 
virtual ~ReferenceCounted () noexcept=default
 
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
void forget () override
 decrease refcount and delete object if refcount == 0
 
void remember () override
 increase refcount
 
virtual int32_t getNbReference () const
 get refcount
 
- Public Member Functions inherited from IViewSwitchController
 IViewSwitchController (UIViewSwitchContainer *viewSwitch)
 
virtual ~IViewSwitchController () noexcept=default
 
void init ()
 
UIViewSwitchContainergetViewSwitchContainer () const
 
- Public Member Functions inherited from IControlListener
virtual ~IControlListener () noexcept=default
 
virtual int32_t controlModifierClicked (CControl *pControl, CButtonState button)
 return 1 if you want the control to not handle it, otherwise 0
 
virtual void controlBeginEdit (CControl *pControl)
 
virtual void controlEndEdit (CControl *pControl)
 
virtual void controlTagWillChange (CControl *pControl)
 
virtual void controlTagDidChange (CControl *pControl)
 

Protected Member Functions

void valueChanged (CControl *pControl) override
 

Protected Attributes

const IUIDescriptionuiDescription
 
IControlleruiController
 
int32_t switchControlTag
 
int32_t currentIndex
 
SharedPointer< CControlswitchControl
 
std::vector< std::string > templateNames
 
- Protected Attributes inherited from IViewSwitchController
UIViewSwitchContainerviewSwitch
 

Constructor & Destructor Documentation

UIDescriptionViewSwitchController ( UIViewSwitchContainer viewSwitch,
const IUIDescription uiDescription,
IController uiController 
)

Member Function Documentation

CView * createViewForIndex ( int32_t  index)
overridevirtual

Implements IViewSwitchController.

int32_t getSwitchControlTag ( ) const
inline
void getTemplateNames ( std::string &  str)
void setSwitchControlTag ( int32_t  tag)
inline
void setTemplateNames ( UTF8StringPtr  templateNames)
void switchContainerAttached ( )
overridevirtual

Implements IViewSwitchController.

void switchContainerRemoved ( )
overridevirtual

Implements IViewSwitchController.

void valueChanged ( CControl pControl)
overrideprotectedvirtual

Implements IControlListener.

Member Data Documentation

int32_t currentIndex
protected
SharedPointer<CControl> switchControl
protected
int32_t switchControlTag
protected
std::vector<std::string> templateNames
protected
IController* uiController
protected
const IUIDescription* uiDescription
protected

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