Rosetta 3.3
Classes | Namespaces
src/utility/factory/WidgetFactory.hh File Reference

WidgetFactory base class for load-time registration of WidgetCreators to the WidgetFactory. More...

#include <utility/factory/WidgetFactory.fwd.hh>
#include <utility/pointer/owning_ptr.hh>
#include <cassert>
#include <map>
#include <string>

Classes

class  utility::factory::WidgetFactory< Creator >
 Factory base class holds a map between strings and owning pointers of the creator classes. This should only be used as a base class for a WidgetFactory which expects to map between strings and Creators. WidgetRegistrators may be used reguardless of how the Factory method maps to its Creators. More...

Namespaces

namespace  utility
 

unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 1.


namespace  utility::factory
 

A pluggable class factory system.



Detailed Description

WidgetFactory base class for load-time registration of WidgetCreators to the WidgetFactory.

Author:
Andrew Leaver-Fay (aleaverfay@gmail.com)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines