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. More... | |
WidgetProducer () | |
Register a special type of widget to the WidgetFactoryInst. More... | |
virtual | ~WidgetProducer () |
Public Member Functions inherited from Base::AbstractProducer | |
AbstractProducer () | |
virtual void * | Produce () const =0 |
overwritten by a concrete producer to produce the needed object More... | |
virtual | ~AbstractProducer () |
The WidgetProducer class is a value-based template class that provides the ability to create widgets dynamically.
Gui::WidgetProducer< CLASS >::WidgetProducer | ( | ) |
Register a special type of widget to the WidgetFactoryInst.
References Base::Factory::AddProducer(), and Gui::WidgetFactoryInst::instance().
|
virtual |
|
virtual |
Creates an instance of the specified widget.
Implements Base::AbstractProducer.