The WidgetProducer class is a value-based template class that provides the ability to create widgets dynamically. More...
#include <WidgetFactory.h>
Public Member Functions | |
virtual void * | Produce () const |
Creates an instance of the specified widget. | |
WidgetProducer () | |
Register a special type of widget to the WidgetFactoryInst. | |
virtual | ~WidgetProducer () |
The WidgetProducer class is a value-based template class that provides the ability to create widgets dynamically.
Definition at line 101 of file WidgetFactory.h.
Gui::WidgetProducer< CLASS >::WidgetProducer | ( | ) | [inline] |
Register a special type of widget to the WidgetFactoryInst.
Definition at line 107 of file WidgetFactory.h.
References Base::Factory::AddProducer(), and Gui::WidgetFactoryInst::instance().
virtual Gui::WidgetProducer< CLASS >::~WidgetProducer | ( | ) | [inline, virtual] |
Definition at line 113 of file WidgetFactory.h.
virtual void* Gui::WidgetProducer< CLASS >::Produce | ( | void | ) | const [inline, virtual] |
Creates an instance of the specified widget.
Implements Base::AbstractProducer.
Definition at line 118 of file WidgetFactory.h.