VSTGUI  4.4
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:

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
 
- 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...
 
virtual CMessageResult notify (CBaseObject *sender, IdStringPtr message)
 
- Public Member Functions inherited from IViewFactory
virtual ~IViewFactory ()
 

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.

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

Implements IViewFactory.

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

Implements IViewFactory.

CView * createViewByName ( const std::string *  className,
const UIAttributes attributes,
const IUIDescription description 
) const
protected
void evaluateAttributesAndRemember ( CView view,
const UIAttributes attributes,
UIAttributes evaluatedAttributes,
const IUIDescription description 
) const
protected
IdStringPtr getViewName ( CView view) const
virtual

Implements IViewFactory.

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

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