#include <rutz/factory.h>

Public Types | |
| typedef T | base_t |
Public Member Functions | |
| virtual | ~creator_base () |
| Virtual destructor. | |
| virtual creator_base * | clone () const =0 |
| Return a clone of this Creator. | |
| virtual base_t | create ()=0 |
Return a new pointer (or smart pointer) to type Base. | |
rutz::creator_base is a template class that defines a single abstract function, create(), that returns an object of type creator_base::base_t.
Definition at line 57 of file factory.h.