#include <rutz/factory.h>


| Public Types | |
| typedef derived_t(* | creator_func_t )() | 
| Creator function type. | |
| typedef base_t | base_t | 
| Public Member Functions | |
| creator_from_func (creator_func_t func) | |
| Construct with a creator function. | |
| virtual rutz::creator_base < base_t > * | clone () const | 
| Clone operator. | |
| virtual base_t | create () | 
| Create an object using the creator function. | |
rutz::creator_from_func implements the rutz::creator_base interface by storing a pointer to function that returns an object of the appropriate type.
Definition at line 78 of file factory.h.