Interface for creators with name. More...
#include <CreatorInterface.hpp>
Inherits CreatorInterface< BaseClass >.
Public Member Functions | |
std::unique_ptr< BaseClass > | create () final |
Must be implemented by sub classes of CreatorInterface. Creates a new instance of the sub class of BaseClass. | |
virtual std::unique_ptr< BaseClass > | createWithString (std::string)=0 |
Must be implemented by sub classes of CreatorInterfaceName. Creates a new instance of the sub class of BaseClass by passing a string to the constructor. | |
Interface for creators with name.