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

Public Member Functions

 UIDescriptionViewSwitchController (UIViewSwitchContainer *viewSwitch, const IUIDescription *uiDescription, IController *uiController)
 
CViewcreateViewForIndex (int32_t index)
 
void switchContainerAttached ()
 
void switchContainerRemoved ()
 
CMessageResult notify (CBaseObject *sender, IdStringPtr message)
 
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 ()
 
virtual ~CBaseObject ()
 
virtual void beforeDelete ()
 
virtual void forget ()
 decrease refcount and delete object if refcount == 0 More...
 
virtual void remember ()
 increase refcount More...
 
virtual int32_t getNbReference () const
 get refcount More...
 
- Public Member Functions inherited from IViewSwitchController
 IViewSwitchController (UIViewSwitchContainer *viewSwitch)
 
virtual ~IViewSwitchController ()
 
void init ()
 
UIViewSwitchContainergetViewSwitchContainer () const
 

Protected Attributes

const IUIDescriptionuiDescription
 
IControlleruiController
 
int32_t switchControlTag
 
int32_t currentIndex
 
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)
virtual

Implements IViewSwitchController.

int32_t getSwitchControlTag ( ) const
inline
void getTemplateNames ( std::string &  str)
CMessageResult notify ( CBaseObject sender,
IdStringPtr  message 
)
virtual

Reimplemented from CBaseObject.

void setSwitchControlTag ( int32_t  tag)
inline
void setTemplateNames ( UTF8StringPtr  templateNames)
void switchContainerAttached ( )
virtual

Implements IViewSwitchController.

void switchContainerRemoved ( )
virtual

Implements IViewSwitchController.

Member Data Documentation

int32_t currentIndex
protected
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: