VSTGUI 4.5 Graphical User Interface Framework not only for VST plugins

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UIDescriptionViewSwitchController Class Reference
Inheritance diagram for UIDescriptionViewSwitchController:

## Public Member Functions
| UIDescriptionViewSwitchController (UIViewSwitchContainer *viewSwitch, const IUIDescription *uiDescription, IController *uiController)
CView * | createViewForIndex (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 &o)
CBaseObject & | operator= (const CBaseObject &obj)
virtual CMessageResult | notify (CBaseObject *sender, IdStringPtr message)
Public Member Functions inherited from ReferenceCounted< T >
| ReferenceCounted ()=default
virtual | ~ReferenceCounted () noexcept=default
| ReferenceCounted (const ReferenceCounted &)
ReferenceCounted & | operator= (const ReferenceCounted &)
void | forget () override
| decrease refcount and delete object if refcount == 0 More...
void | remember () override
| increase refcount More...
virtual int32_t | getNbReference () const
| get refcount More...
virtual void | beforeDelete ()
Public Member Functions inherited from IViewSwitchController
| IViewSwitchController (UIViewSwitchContainer *viewSwitch)
virtual | ~IViewSwitchController () noexcept=default
void | init ()
UIViewSwitchContainer * | getViewSwitchContainer () 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 More...
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 IUIDescription * | uiDescription
IController * | uiController
int32_t | switchControlTag
int32_t | currentIndex
SharedPointer< CControl > | switchControl
std::vector< std::string > | templateNames
Protected Attributes inherited from IViewSwitchController
UIViewSwitchContainer * | viewSwitch

## Constructor & Destructor Documentation

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

## Member Function Documentation

CView * createViewForIndex | ( | int32_t | index | ) |
| override virtual

Implements IViewSwitchController.

int32_t getSwitchControlTag | ( |  | ) | const
| inline

void getTemplateNames | ( | std::string & | str | ) |

void setSwitchControlTag | ( | int32_t | tag | ) |
| inline

void setTemplateNames | ( | UTF8StringPtr | templateNames | ) |

void switchContainerAttached | ( |  | ) |
| override virtual

Implements IViewSwitchController.

void switchContainerRemoved | ( |  | ) |
| override virtual

Implements IViewSwitchController.

void valueChanged | ( | CControl * | pControl | ) |
| override protected virtual

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:

- uiviewswitchcontainer.h
- uiviewswitchcontainer.cpp