static MainFactoryMap & get()
std::deque< std::string > getRegisteredFactories() const
show registered classId
static const MainFactory< Factory > & single()
const singleton accessor
const std::shared_ptr< Factory > getFactory(const std::string &classId) const
create an Object using the appropriate registered factory.
static MainFactory< Factory > & changeable()
singleton accessor
void registerFactory(const std::string &classId, Factory *fact)
register a factory with an id
static void cleanup()
destroy factory and all registered factories