VSTGUI  4.3
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
UIViewFactory Class Reference

Default view factory. More...

+ Inheritance diagram for UIViewFactory:
+ Collaboration diagram for UIViewFactory:

Public Member Functions

 UIViewFactory ()
 
 ~UIViewFactory ()
 
CViewcreateView (const UIAttributes &attributes, const IUIDescription *description) const
 
bool applyAttributeValues (CView *view, const UIAttributes &attributes, const IUIDescription *desc) const
 
IdStringPtr getViewName (CView *view) const
 
bool applyCustomViewAttributeValues (CView *customView, IdStringPtr baseViewName, const UIAttributes &attributes, const IUIDescription *desc) const
 
virtual void beforeDelete ()
 
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...
 
Message Methods
virtual CMessageResult notify (CBaseObject *sender, IdStringPtr message)
 

Static Public Member Functions

static void registerViewCreator (const IViewCreator &viewCreator)
 
static void unregisterViewCreator (const IViewCreator &viewCreator)
 

Protected Member Functions

void evaluateAttributesAndRemember (CView *view, const UIAttributes &attributes, UIAttributes &evaluatedAttributes, const IUIDescription *description) const
 
CViewcreateViewByName (const std::string *className, const UIAttributes &attributes, const IUIDescription *description) const
 

Detailed Description

Default view factory.

Constructor & Destructor Documentation

Member Function Documentation

bool applyAttributeValues ( CView view,
const UIAttributes attributes,
const IUIDescription desc 
) const
virtual

Implements IViewFactory.

+ Here is the call graph for this function:

bool applyCustomViewAttributeValues ( CView customView,
IdStringPtr  baseViewName,
const UIAttributes attributes,
const IUIDescription desc 
) const
virtual

Implements IViewFactory.

+ Here is the call graph for this function:

virtual void beforeDelete ( )
inlinevirtualinherited

Reimplemented in CView.

+ Here is the caller graph for this function:

CView * createView ( const UIAttributes attributes,
const IUIDescription description 
) const
virtual

Implements IViewFactory.

+ Here is the call graph for this function:

CView * createViewByName ( const std::string *  className,
const UIAttributes attributes,
const IUIDescription description 
) const
protected

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void evaluateAttributesAndRemember ( CView view,
const UIAttributes attributes,
UIAttributes evaluatedAttributes,
const IUIDescription description 
) const
protected

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void forget ( )
inlinevirtualinherited

decrease refcount and delete object if refcount == 0

+ Here is the call graph for this function:

virtual int32_t getNbReference ( ) const
inlinevirtualinherited

get refcount

IdStringPtr getViewName ( CView view) const
virtual

Implements IViewFactory.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void registerViewCreator ( const IViewCreator viewCreator)
static

+ Here is the call graph for this function:

virtual void remember ( )
inlinevirtualinherited

increase refcount

+ Here is the caller graph for this function:

void unregisterViewCreator ( const IViewCreator viewCreator)
static

+ Here is the call graph for this function:


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