template class Poco::Instantiator
Overview
A template class for the easy instantiation of instantiators. Moreā¦
#include <Instantiator.h> template < class C, class Base > class Instantiator: public Poco::AbstractInstantiator { public: // methods virtual Base* createInstance() const; };
Inherited Members
public: // methods virtual Base* createInstance() const = 0;
Detailed Documentation
A template class for the easy instantiation of instantiators.
For the Instantiator to work, the class of which instances are to be instantiated must have a no-argument constructor.
Methods
virtual Base* createInstance() const
Creates an instance of a concrete subclass of Base.