The design pattern of the factory allow to dynamically instanciate classes of various types given an identifier of this type. More...
#include <factory.hpp>
Public Member Functions | |
| template<typename T> | |
| bool | register_type (const identifier_type &id) |
| base_class * | create (const identifier_type &id) const |
| bool | is_known_type (const identifier_type &id) const |
The design pattern of the factory allow to dynamically instanciate classes of various types given an identifier of this type.
Template parameters:
Type requirements:
Definition at line 76 of file factory.hpp.