VSTGUI  4.2
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:
+ Collaboration diagram for UIDescriptionViewSwitchController:

Public Member Functions

 UIDescriptionViewSwitchController (UIViewSwitchContainer *viewSwitch, UIDescription *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
 
void init ()
 
UIViewSwitchContainergetViewSwitchContainer () const
 
Reference Counting Methods
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...
 

Protected Attributes

UIDescriptionuiDescription
 
IControlleruiController
 
int32_t switchControlTag
 
int32_t currentIndex
 
CControlswitchControl
 
std::vector< std::string > templateNames
 
UIViewSwitchContainerviewSwitch
 

Constructor & Destructor Documentation

UIDescriptionViewSwitchController ( UIViewSwitchContainer viewSwitch,
UIDescription uiDescription,
IController uiController 
)

+ Here is the call graph for this function:

Member Function Documentation

CView * createViewForIndex ( int32_t  index)
virtual

Implements IViewSwitchController.

+ Here is the call graph for this function:

virtual void forget ( )
inlinevirtualinherited

decrease refcount and delete object if refcount == 0

virtual int32_t getNbReference ( ) const
inlinevirtualinherited

get refcount

int32_t getSwitchControlTag ( ) const
inline
void getTemplateNames ( std::string &  str)
UIViewSwitchContainer* getViewSwitchContainer ( ) const
inlineinherited
void init ( )
inlineinherited

+ Here is the caller graph for this function:

CMessageResult notify ( CBaseObject sender,
IdStringPtr  message 
)
virtual

Reimplemented from CBaseObject.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void remember ( )
inlinevirtualinherited

increase refcount

+ Here is the caller graph for this function:

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

Reimplemented from IViewSwitchController.

+ Here is the call graph for this function:

void switchContainerRemoved ( )
virtual

Reimplemented from IViewSwitchController.

+ Here is the call graph for this function:

Member Data Documentation

int32_t currentIndex
protected
CControl* switchControl
protected
int32_t switchControlTag
protected
std::vector<std::string> templateNames
protected
IController* uiController
protected
UIDescription* uiDescription
protected
UIViewSwitchContainer* viewSwitch
protectedinherited

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