![]() |
Rosetta Utilities
2015.09
|
A singleton templated factory, is is usually created by protocols/init/init.cc object generated by factory must have name() and create() Factory< Outputter > and Factory< Inputter > are two examples of this factory in use Wonder if there is a way to do lazy initialization of this singleton. More...
#include <boost/shared_ptr.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/function.hpp>
#include <boost/functional/factory.hpp>
#include <utility/exit.hh>
#include <string>
#include <map>
Classes | |
class | utility::Factory< T > |
class | utility::FactoryRegister< T, U > |
Namespaces | |
utility | |
unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 1. | |
A singleton templated factory, is is usually created by protocols/init/init.cc object generated by factory must have name() and create() Factory< Outputter > and Factory< Inputter > are two examples of this factory in use Wonder if there is a way to do lazy initialization of this singleton.