|
Mantid
|
The instantiator is a generic class for creating objects of the template type. More...
#include <Kernel/Instantiator.h>
Public Member Functions | |
| std::shared_ptr< Base > | createInstance (Args... args) const override |
| Creates an instance of a concrete subclass of Base. More... | |
| Base * | createUnwrappedInstance (Args... args) const override |
| Creates an instance of a concrete subclass of Base that is not wrapped in a shared_ptr. More... | |
| Instantiator ()=default | |
| Creates the Instantiator. More... | |
Public Member Functions inherited from Mantid::Kernel::AbstractInstantiator< Base, Args... > | |
| AbstractInstantiator ()=default | |
| Creates the AbstractInstantiator. More... | |
| virtual std::shared_ptr< Base > | createInstance (Args... args) const=0 |
| Creates an instance of a concrete subclass of Base. More... | |
| virtual Base * | createUnwrappedInstance (Args... args) const=0 |
| Creates an instance of a concrete subclass of Base, which is not wrapped in a shared_ptr. More... | |
| virtual | ~AbstractInstantiator ()=default |
| Destroys the AbstractInstantiator. More... | |
The instantiator is a generic class for creating objects of the template type.
It is used by DynamicFactory.
Definition at line 54 of file Instantiator.h.
|
default |
Creates the Instantiator.
|
inlineoverridevirtual |
Creates an instance of a concrete subclass of Base.
Implements Mantid::Kernel::AbstractInstantiator< Base, Args... >.
Definition at line 62 of file Instantiator.h.
|
inlineoverridevirtual |
Creates an instance of a concrete subclass of Base that is not wrapped in a shared_ptr.
Implements Mantid::Kernel::AbstractInstantiator< Base, Args... >.
Definition at line 68 of file Instantiator.h.