template class Poco::AbstractInstantiator

Overview

The common base class for all Instantiator instantiations. Moreā€¦

#include <Instantiator.h>

template <class Base>
class AbstractInstantiator
{
public:
    // methods

    virtual
    Base*
    createInstance() const = 0;
};

// direct descendants

template <
    class C,
    class Base
    >
class Instantiator;

Detailed Documentation

The common base class for all Instantiator instantiations.

Used by DynamicFactory.

Construction

virtual
~AbstractInstantiator()

Destroys the AbstractInstantiator.

Methods

virtual
Base*
createInstance() const = 0

Creates an instance of a concrete subclass of Base.